From 35dcfab45de2cb49353881aac6b672138af83046 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Wed, 29 Jun 2016 20:08:52 +0200 Subject: [PATCH] Continued with language rewrite: - new 'core' now no longer supports language-based templates, please keep localization out of them. - I think of this: + translate all to English (default) language + maintain .po files for easy (and open-sourced) localization) + in those are replacements from the English language to the language in question + use php_intl (maybe right) to do that stuff (core changes are needed) Signed-off-by: Roland Haeder --- application/city/templates/{de => code}/.htaccess | 0 .../city/templates/{de => }/code/action_city_login_city_map.ctp | 0 .../{de => }/code/action_city_login_government_startup_help.ctp | 0 .../{de => }/code/action_city_login_government_training.ctp | 0 .../city/templates/{de => }/code/action_city_login_logout.ctp | 0 .../city/templates/{de => }/code/action_city_login_profile.ctp | 0 .../templates/{de => }/code/action_city_login_status_problem.ctp | 0 .../city/templates/{de => }/code/action_city_login_welcome.ctp | 0 application/city/templates/{de => }/code/block_persona_data.ctp | 0 application/city/templates/{de => }/code/captch_graphic_code.ctp | 0 application/city/templates/{de => }/code/city_main.ctp | 0 application/city/templates/{de => }/code/confirm_link.ctp | 0 application/city/templates/{de => }/code/emergency_exit.ctp | 0 application/city/templates/{de => }/code/footer.ctp | 0 application/city/templates/{de => }/code/header.ctp | 0 application/city/templates/{de => }/code/home.ctp | 0 application/city/templates/{de => }/code/login_failed.ctp | 0 application/city/templates/{de => }/code/login_form.ctp | 0 application/city/templates/{de => }/code/login_main.ctp | 0 application/city/templates/{de => }/code/logout_done.ctp | 0 application/city/templates/{de => }/code/mail_debug.ctp | 0 application/city/templates/{de => }/code/menu_block.ctp | 0 application/city/templates/{de => }/code/menu_entry.ctp | 0 application/city/templates/{de => }/code/register_form.ctp | 0 application/city/templates/de/menu/.htaccess | 1 - application/city/templates/{de/code => emails}/.htaccess | 0 application/city/templates/{de => }/emails/text_resend_link.tpl | 0 application/city/templates/{de/emails => html}/.htaccess | 0 application/city/templates/{de/html => image}/.htaccess | 0 application/city/templates/{de => }/image/base_code.xml | 0 application/city/templates/{de => }/image/code_captcha.img | 0 application/city/templates/{de => }/image/emergency_exit.img | 0 application/city/templates/{de/image => menu}/.htaccess | 0 application/city/templates/{de => }/menu/base_menu.xml | 0 .../city/templates/{de => }/menu/generic_menu_entries.xml | 0 .../city/templates/{de => }/menu/login_area_menu_entries.xml | 0 36 files changed, 1 deletion(-) rename application/city/templates/{de => code}/.htaccess (100%) rename application/city/templates/{de => }/code/action_city_login_city_map.ctp (100%) rename application/city/templates/{de => }/code/action_city_login_government_startup_help.ctp (100%) rename application/city/templates/{de => }/code/action_city_login_government_training.ctp (100%) rename application/city/templates/{de => }/code/action_city_login_logout.ctp (100%) rename application/city/templates/{de => }/code/action_city_login_profile.ctp (100%) rename application/city/templates/{de => }/code/action_city_login_status_problem.ctp (100%) rename application/city/templates/{de => }/code/action_city_login_welcome.ctp (100%) rename application/city/templates/{de => }/code/block_persona_data.ctp (100%) rename application/city/templates/{de => }/code/captch_graphic_code.ctp (100%) rename application/city/templates/{de => }/code/city_main.ctp (100%) rename application/city/templates/{de => }/code/confirm_link.ctp (100%) rename application/city/templates/{de => }/code/emergency_exit.ctp (100%) rename application/city/templates/{de => }/code/footer.ctp (100%) rename application/city/templates/{de => }/code/header.ctp (100%) rename application/city/templates/{de => }/code/home.ctp (100%) rename application/city/templates/{de => }/code/login_failed.ctp (100%) rename application/city/templates/{de => }/code/login_form.ctp (100%) rename application/city/templates/{de => }/code/login_main.ctp (100%) rename application/city/templates/{de => }/code/logout_done.ctp (100%) rename application/city/templates/{de => }/code/mail_debug.ctp (100%) rename application/city/templates/{de => }/code/menu_block.ctp (100%) rename application/city/templates/{de => }/code/menu_entry.ctp (100%) rename application/city/templates/{de => }/code/register_form.ctp (100%) delete mode 100644 application/city/templates/de/menu/.htaccess rename application/city/templates/{de/code => emails}/.htaccess (100%) rename application/city/templates/{de => }/emails/text_resend_link.tpl (100%) rename application/city/templates/{de/emails => html}/.htaccess (100%) rename application/city/templates/{de/html => image}/.htaccess (100%) rename application/city/templates/{de => }/image/base_code.xml (100%) rename application/city/templates/{de => }/image/code_captcha.img (100%) rename application/city/templates/{de => }/image/emergency_exit.img (100%) rename application/city/templates/{de/image => menu}/.htaccess (100%) rename application/city/templates/{de => }/menu/base_menu.xml (100%) rename application/city/templates/{de => }/menu/generic_menu_entries.xml (100%) rename application/city/templates/{de => }/menu/login_area_menu_entries.xml (100%) diff --git a/application/city/templates/de/.htaccess b/application/city/templates/code/.htaccess similarity index 100% rename from application/city/templates/de/.htaccess rename to application/city/templates/code/.htaccess diff --git a/application/city/templates/de/code/action_city_login_city_map.ctp b/application/city/templates/code/action_city_login_city_map.ctp similarity index 100% rename from application/city/templates/de/code/action_city_login_city_map.ctp rename to application/city/templates/code/action_city_login_city_map.ctp diff --git a/application/city/templates/de/code/action_city_login_government_startup_help.ctp b/application/city/templates/code/action_city_login_government_startup_help.ctp similarity index 100% rename from application/city/templates/de/code/action_city_login_government_startup_help.ctp rename to application/city/templates/code/action_city_login_government_startup_help.ctp diff --git a/application/city/templates/de/code/action_city_login_government_training.ctp b/application/city/templates/code/action_city_login_government_training.ctp similarity index 100% rename from application/city/templates/de/code/action_city_login_government_training.ctp rename to application/city/templates/code/action_city_login_government_training.ctp diff --git a/application/city/templates/de/code/action_city_login_logout.ctp b/application/city/templates/code/action_city_login_logout.ctp similarity index 100% rename from application/city/templates/de/code/action_city_login_logout.ctp rename to application/city/templates/code/action_city_login_logout.ctp diff --git a/application/city/templates/de/code/action_city_login_profile.ctp b/application/city/templates/code/action_city_login_profile.ctp similarity index 100% rename from application/city/templates/de/code/action_city_login_profile.ctp rename to application/city/templates/code/action_city_login_profile.ctp diff --git a/application/city/templates/de/code/action_city_login_status_problem.ctp b/application/city/templates/code/action_city_login_status_problem.ctp similarity index 100% rename from application/city/templates/de/code/action_city_login_status_problem.ctp rename to application/city/templates/code/action_city_login_status_problem.ctp diff --git a/application/city/templates/de/code/action_city_login_welcome.ctp b/application/city/templates/code/action_city_login_welcome.ctp similarity index 100% rename from application/city/templates/de/code/action_city_login_welcome.ctp rename to application/city/templates/code/action_city_login_welcome.ctp diff --git a/application/city/templates/de/code/block_persona_data.ctp b/application/city/templates/code/block_persona_data.ctp similarity index 100% rename from application/city/templates/de/code/block_persona_data.ctp rename to application/city/templates/code/block_persona_data.ctp diff --git a/application/city/templates/de/code/captch_graphic_code.ctp b/application/city/templates/code/captch_graphic_code.ctp similarity index 100% rename from application/city/templates/de/code/captch_graphic_code.ctp rename to application/city/templates/code/captch_graphic_code.ctp diff --git a/application/city/templates/de/code/city_main.ctp b/application/city/templates/code/city_main.ctp similarity index 100% rename from application/city/templates/de/code/city_main.ctp rename to application/city/templates/code/city_main.ctp diff --git a/application/city/templates/de/code/confirm_link.ctp b/application/city/templates/code/confirm_link.ctp similarity index 100% rename from application/city/templates/de/code/confirm_link.ctp rename to application/city/templates/code/confirm_link.ctp diff --git a/application/city/templates/de/code/emergency_exit.ctp b/application/city/templates/code/emergency_exit.ctp similarity index 100% rename from application/city/templates/de/code/emergency_exit.ctp rename to application/city/templates/code/emergency_exit.ctp diff --git a/application/city/templates/de/code/footer.ctp b/application/city/templates/code/footer.ctp similarity index 100% rename from application/city/templates/de/code/footer.ctp rename to application/city/templates/code/footer.ctp diff --git a/application/city/templates/de/code/header.ctp b/application/city/templates/code/header.ctp similarity index 100% rename from application/city/templates/de/code/header.ctp rename to application/city/templates/code/header.ctp diff --git a/application/city/templates/de/code/home.ctp b/application/city/templates/code/home.ctp similarity index 100% rename from application/city/templates/de/code/home.ctp rename to application/city/templates/code/home.ctp diff --git a/application/city/templates/de/code/login_failed.ctp b/application/city/templates/code/login_failed.ctp similarity index 100% rename from application/city/templates/de/code/login_failed.ctp rename to application/city/templates/code/login_failed.ctp diff --git a/application/city/templates/de/code/login_form.ctp b/application/city/templates/code/login_form.ctp similarity index 100% rename from application/city/templates/de/code/login_form.ctp rename to application/city/templates/code/login_form.ctp diff --git a/application/city/templates/de/code/login_main.ctp b/application/city/templates/code/login_main.ctp similarity index 100% rename from application/city/templates/de/code/login_main.ctp rename to application/city/templates/code/login_main.ctp diff --git a/application/city/templates/de/code/logout_done.ctp b/application/city/templates/code/logout_done.ctp similarity index 100% rename from application/city/templates/de/code/logout_done.ctp rename to application/city/templates/code/logout_done.ctp diff --git a/application/city/templates/de/code/mail_debug.ctp b/application/city/templates/code/mail_debug.ctp similarity index 100% rename from application/city/templates/de/code/mail_debug.ctp rename to application/city/templates/code/mail_debug.ctp diff --git a/application/city/templates/de/code/menu_block.ctp b/application/city/templates/code/menu_block.ctp similarity index 100% rename from application/city/templates/de/code/menu_block.ctp rename to application/city/templates/code/menu_block.ctp diff --git a/application/city/templates/de/code/menu_entry.ctp b/application/city/templates/code/menu_entry.ctp similarity index 100% rename from application/city/templates/de/code/menu_entry.ctp rename to application/city/templates/code/menu_entry.ctp diff --git a/application/city/templates/de/code/register_form.ctp b/application/city/templates/code/register_form.ctp similarity index 100% rename from application/city/templates/de/code/register_form.ctp rename to application/city/templates/code/register_form.ctp diff --git a/application/city/templates/de/menu/.htaccess b/application/city/templates/de/menu/.htaccess deleted file mode 100644 index 3a42882..0000000 --- a/application/city/templates/de/menu/.htaccess +++ /dev/null @@ -1 +0,0 @@ -Deny from all diff --git a/application/city/templates/de/code/.htaccess b/application/city/templates/emails/.htaccess similarity index 100% rename from application/city/templates/de/code/.htaccess rename to application/city/templates/emails/.htaccess diff --git a/application/city/templates/de/emails/text_resend_link.tpl b/application/city/templates/emails/text_resend_link.tpl similarity index 100% rename from application/city/templates/de/emails/text_resend_link.tpl rename to application/city/templates/emails/text_resend_link.tpl diff --git a/application/city/templates/de/emails/.htaccess b/application/city/templates/html/.htaccess similarity index 100% rename from application/city/templates/de/emails/.htaccess rename to application/city/templates/html/.htaccess diff --git a/application/city/templates/de/html/.htaccess b/application/city/templates/image/.htaccess similarity index 100% rename from application/city/templates/de/html/.htaccess rename to application/city/templates/image/.htaccess diff --git a/application/city/templates/de/image/base_code.xml b/application/city/templates/image/base_code.xml similarity index 100% rename from application/city/templates/de/image/base_code.xml rename to application/city/templates/image/base_code.xml diff --git a/application/city/templates/de/image/code_captcha.img b/application/city/templates/image/code_captcha.img similarity index 100% rename from application/city/templates/de/image/code_captcha.img rename to application/city/templates/image/code_captcha.img diff --git a/application/city/templates/de/image/emergency_exit.img b/application/city/templates/image/emergency_exit.img similarity index 100% rename from application/city/templates/de/image/emergency_exit.img rename to application/city/templates/image/emergency_exit.img diff --git a/application/city/templates/de/image/.htaccess b/application/city/templates/menu/.htaccess similarity index 100% rename from application/city/templates/de/image/.htaccess rename to application/city/templates/menu/.htaccess diff --git a/application/city/templates/de/menu/base_menu.xml b/application/city/templates/menu/base_menu.xml similarity index 100% rename from application/city/templates/de/menu/base_menu.xml rename to application/city/templates/menu/base_menu.xml diff --git a/application/city/templates/de/menu/generic_menu_entries.xml b/application/city/templates/menu/generic_menu_entries.xml similarity index 100% rename from application/city/templates/de/menu/generic_menu_entries.xml rename to application/city/templates/menu/generic_menu_entries.xml diff --git a/application/city/templates/de/menu/login_area_menu_entries.xml b/application/city/templates/menu/login_area_menu_entries.xml similarity index 100% rename from application/city/templates/de/menu/login_area_menu_entries.xml rename to application/city/templates/menu/login_area_menu_entries.xml -- 2.39.5