From 925f94ebe962216f35fa2d9fd62c946718df5779 Mon Sep 17 00:00:00 2001 From: "tony@chromium.org" Date: Sat, 28 Jan 2012 00:57:19 +0000 Subject: [PATCH] Add Malay as a translation. The language code is ms. This adds the necessary files to generate the locale pak file. Translations will arrive later. BUG=111670 TBR=gfeher Review URL: http://codereview.chromium.org/9232056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119548 0039d316-1c4b-4281-b951-d872f2087c98 --- build/common.gypi | 2 +- chrome/app/chromium_strings.grd | 4 +--- chrome/app/generated_resources.grd | 6 ++---- chrome/app/google_chrome_strings.grd | 2 ++ chrome/app/policy/policy_templates.grd | 5 +++++ chrome/app/policy/policy_templates_ms.xtb | 4 ++++ chrome/app/resources/generated_resources_ms.xtb | 4 ++++ chrome/app/resources/google_chrome_strings_ms.xtb | 4 ++++ chrome/app/resources/locale_settings.grd | 5 ++--- chrome/app/resources/locale_settings_cros.grd | 5 ++--- chrome/app/resources/locale_settings_linux.grd | 5 ++--- chrome/app/resources/locale_settings_mac.grd | 2 ++ chrome/app/resources/locale_settings_ms.xtb | 4 ++++ chrome/app/resources/locale_settings_win.grd | 2 ++ .../platform_locale_settings/locale_settings_cros_ms.xtb | 4 ++++ .../platform_locale_settings/locale_settings_linux_ms.xtb | 4 ++++ .../platform_locale_settings/locale_settings_mac_ms.xtb | 5 +++++ .../platform_locale_settings/locale_settings_win_ms.xtb | 4 ++++ chrome/tools/build/win/FILES.cfg | 5 +++++ chrome_frame/locales/locales.gyp | 6 ++++++ chrome_frame/resources/chrome_frame_dialogs.grd | 2 ++ ui/base/strings/app_locale_settings.grd | 5 ++--- ui/base/strings/app_locale_settings_ms.xtb | 4 ++++ ui/base/strings/ui_strings.grd | 6 ++---- ui/base/strings/ui_strings_ms.xtb | 4 ++++ webkit/glue/resources/webkit_strings_ms.xtb | 4 ++++ webkit/glue/webkit_strings.grd | 6 ++---- 27 files changed, 85 insertions(+), 28 deletions(-) create mode 100644 chrome/app/policy/policy_templates_ms.xtb create mode 100644 chrome/app/resources/generated_resources_ms.xtb create mode 100644 chrome/app/resources/google_chrome_strings_ms.xtb create mode 100644 chrome/app/resources/locale_settings_ms.xtb create mode 100644 chrome/app/resources/platform_locale_settings/locale_settings_cros_ms.xtb create mode 100644 chrome/app/resources/platform_locale_settings/locale_settings_linux_ms.xtb create mode 100644 chrome/app/resources/platform_locale_settings/locale_settings_mac_ms.xtb create mode 100644 chrome/app/resources/platform_locale_settings/locale_settings_win_ms.xtb create mode 100644 ui/base/strings/app_locale_settings_ms.xtb create mode 100644 ui/base/strings/ui_strings_ms.xtb create mode 100644 webkit/glue/resources/webkit_strings_ms.xtb diff --git a/build/common.gypi b/build/common.gypi index 161464c9237c8..2000f9f27ffff 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -641,7 +641,7 @@ 'am', 'ar', 'bg', 'bn', 'ca', 'cs', 'da', 'de', 'el', 'en-GB', 'en-US', 'es-419', 'es', 'et', 'fa', 'fi', 'fil', 'fr', 'gu', 'he', 'hi', 'hr', 'hu', 'id', 'it', 'ja', 'kn', 'ko', 'lt', 'lv', - 'ml', 'mr', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', + 'ml', 'mr', 'ms', 'nb', 'nl', 'pl', 'pt-BR', 'pt-PT', 'ro', 'ru', 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW', ], diff --git a/chrome/app/chromium_strings.grd b/chrome/app/chromium_strings.grd index 3593e0015d3de..ae9d7a3dc42b6 100644 --- a/chrome/app/chromium_strings.grd +++ b/chrome/app/chromium_strings.grd @@ -74,9 +74,7 @@ be available for now. --> - - - + diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index 70300071778a4..6600c73b9c43f 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -78,9 +78,7 @@ are declared in build/common.gypi. - - - + @@ -152,7 +150,7 @@ are declared in build/common.gypi. - + diff --git a/chrome/app/google_chrome_strings.grd b/chrome/app/google_chrome_strings.grd index 97407a69c29ea..eea76b4ad6489 100644 --- a/chrome/app/google_chrome_strings.grd +++ b/chrome/app/google_chrome_strings.grd @@ -41,6 +41,7 @@ Chrome supports. --> + @@ -97,6 +98,7 @@ Chrome supports. --> + diff --git a/chrome/app/policy/policy_templates.grd b/chrome/app/policy/policy_templates.grd index 8c1efcb4f7ea7..23590f71bc60f 100644 --- a/chrome/app/policy/policy_templates.grd +++ b/chrome/app/policy/policy_templates.grd @@ -42,6 +42,7 @@ templates and will be translated for each locale. --> + @@ -96,6 +97,7 @@ templates and will be translated for each locale. --> + @@ -150,6 +152,7 @@ templates and will be translated for each locale. --> + @@ -209,6 +212,7 @@ templates and will be translated for each locale. --> + @@ -265,6 +269,7 @@ templates and will be translated for each locale. --> + diff --git a/chrome/app/policy/policy_templates_ms.xtb b/chrome/app/policy/policy_templates_ms.xtb new file mode 100644 index 0000000000000..518685dd52f9e --- /dev/null +++ b/chrome/app/policy/policy_templates_ms.xtb @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/chrome/app/resources/generated_resources_ms.xtb b/chrome/app/resources/generated_resources_ms.xtb new file mode 100644 index 0000000000000..518685dd52f9e --- /dev/null +++ b/chrome/app/resources/generated_resources_ms.xtb @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/chrome/app/resources/google_chrome_strings_ms.xtb b/chrome/app/resources/google_chrome_strings_ms.xtb new file mode 100644 index 0000000000000..518685dd52f9e --- /dev/null +++ b/chrome/app/resources/google_chrome_strings_ms.xtb @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/chrome/app/resources/locale_settings.grd b/chrome/app/resources/locale_settings.grd index cce6e3b2b3ea1..992dd6678e966 100644 --- a/chrome/app/resources/locale_settings.grd +++ b/chrome/app/resources/locale_settings.grd @@ -69,9 +69,7 @@ - - - + @@ -130,6 +128,7 @@ + diff --git a/chrome/app/resources/locale_settings_cros.grd b/chrome/app/resources/locale_settings_cros.grd index 9e668251a28fa..61d62d0dd24ae 100644 --- a/chrome/app/resources/locale_settings_cros.grd +++ b/chrome/app/resources/locale_settings_cros.grd @@ -69,9 +69,7 @@ - - - + @@ -130,6 +128,7 @@ + diff --git a/chrome/app/resources/locale_settings_linux.grd b/chrome/app/resources/locale_settings_linux.grd index 49c2967e6eebf..ccfb80b99857d 100644 --- a/chrome/app/resources/locale_settings_linux.grd +++ b/chrome/app/resources/locale_settings_linux.grd @@ -69,9 +69,7 @@ - - - + @@ -130,6 +128,7 @@ + diff --git a/chrome/app/resources/locale_settings_mac.grd b/chrome/app/resources/locale_settings_mac.grd index 746a4e98a17a6..32e35c648c642 100644 --- a/chrome/app/resources/locale_settings_mac.grd +++ b/chrome/app/resources/locale_settings_mac.grd @@ -36,6 +36,7 @@ + @@ -92,6 +93,7 @@ + diff --git a/chrome/app/resources/locale_settings_ms.xtb b/chrome/app/resources/locale_settings_ms.xtb new file mode 100644 index 0000000000000..518685dd52f9e --- /dev/null +++ b/chrome/app/resources/locale_settings_ms.xtb @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/chrome/app/resources/locale_settings_win.grd b/chrome/app/resources/locale_settings_win.grd index 7c09ef48bc477..25e7cdd09fe92 100644 --- a/chrome/app/resources/locale_settings_win.grd +++ b/chrome/app/resources/locale_settings_win.grd @@ -36,6 +36,7 @@ + @@ -92,6 +93,7 @@ + diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_cros_ms.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_cros_ms.xtb new file mode 100644 index 0000000000000..518685dd52f9e --- /dev/null +++ b/chrome/app/resources/platform_locale_settings/locale_settings_cros_ms.xtb @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_linux_ms.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_linux_ms.xtb new file mode 100644 index 0000000000000..518685dd52f9e --- /dev/null +++ b/chrome/app/resources/platform_locale_settings/locale_settings_linux_ms.xtb @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_mac_ms.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_mac_ms.xtb new file mode 100644 index 0000000000000..cacd098055150 --- /dev/null +++ b/chrome/app/resources/platform_locale_settings/locale_settings_mac_ms.xtb @@ -0,0 +1,5 @@ + + + +6 + \ No newline at end of file diff --git a/chrome/app/resources/platform_locale_settings/locale_settings_win_ms.xtb b/chrome/app/resources/platform_locale_settings/locale_settings_win_ms.xtb new file mode 100644 index 0000000000000..518685dd52f9e --- /dev/null +++ b/chrome/app/resources/platform_locale_settings/locale_settings_win_ms.xtb @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/chrome/tools/build/win/FILES.cfg b/chrome/tools/build/win/FILES.cfg index 9d36c684343b4..a229aa62320f5 100644 --- a/chrome/tools/build/win/FILES.cfg +++ b/chrome/tools/build/win/FILES.cfg @@ -222,6 +222,11 @@ FILES = [ 'arch': ['32bit', '64bit'], 'buildtype': ['dev', 'official'], }, + { + 'filename': 'locales/ms.pak', + 'arch': ['32bit', '64bit'], + 'buildtype': ['dev', 'official'], + }, { 'filename': 'locales/nb.pak', 'arch': ['32bit', '64bit'], diff --git a/chrome_frame/locales/locales.gyp b/chrome_frame/locales/locales.gyp index 8db5ecaa6f90c..c026b40686ebd 100644 --- a/chrome_frame/locales/locales.gyp +++ b/chrome_frame/locales/locales.gyp @@ -223,6 +223,12 @@ '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_mr.rc', ], }, + { + 'target_name': 'ms', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_ms.rc', + ], + }, { 'target_name': 'nb', 'sources': [ diff --git a/chrome_frame/resources/chrome_frame_dialogs.grd b/chrome_frame/resources/chrome_frame_dialogs.grd index 19f71e39f32bb..4d24f472d374a 100644 --- a/chrome_frame/resources/chrome_frame_dialogs.grd +++ b/chrome_frame/resources/chrome_frame_dialogs.grd @@ -37,6 +37,7 @@ + @@ -93,6 +94,7 @@ + diff --git a/ui/base/strings/app_locale_settings.grd b/ui/base/strings/app_locale_settings.grd index 9ac3fc621f44b..de7600a252921 100644 --- a/ui/base/strings/app_locale_settings.grd +++ b/ui/base/strings/app_locale_settings.grd @@ -69,9 +69,7 @@ - - - + @@ -130,6 +128,7 @@ + diff --git a/ui/base/strings/app_locale_settings_ms.xtb b/ui/base/strings/app_locale_settings_ms.xtb new file mode 100644 index 0000000000000..518685dd52f9e --- /dev/null +++ b/ui/base/strings/app_locale_settings_ms.xtb @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/ui/base/strings/ui_strings.grd b/ui/base/strings/ui_strings.grd index a6464fd785022..70642c94badda 100644 --- a/ui/base/strings/ui_strings.grd +++ b/ui/base/strings/ui_strings.grd @@ -80,9 +80,7 @@ need to be translated for each locale.--> - - - + @@ -154,7 +152,7 @@ need to be translated for each locale.--> - + diff --git a/ui/base/strings/ui_strings_ms.xtb b/ui/base/strings/ui_strings_ms.xtb new file mode 100644 index 0000000000000..518685dd52f9e --- /dev/null +++ b/ui/base/strings/ui_strings_ms.xtb @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/webkit/glue/resources/webkit_strings_ms.xtb b/webkit/glue/resources/webkit_strings_ms.xtb new file mode 100644 index 0000000000000..518685dd52f9e --- /dev/null +++ b/webkit/glue/resources/webkit_strings_ms.xtb @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/webkit/glue/webkit_strings.grd b/webkit/glue/webkit_strings.grd index 079afaf9a2140..e52e59b0ce0c1 100644 --- a/webkit/glue/webkit_strings.grd +++ b/webkit/glue/webkit_strings.grd @@ -113,9 +113,7 @@ below: - - - + @@ -185,7 +183,7 @@ below: - +