diff options
author | Newton Allen <newt@chromium.org> | 2015-09-03 10:29:06 -0700 |
---|---|---|
committer | Newton Allen <newt@chromium.org> | 2015-09-03 17:30:37 +0000 |
commit | 67fda7b9d29bc6ba11f99ab5bde738a6b145b8d2 (patch) | |
tree | 57459a4360773eb4b208c6c1b3c97146dd6031ca | |
parent | ae43feb13a4bc1c4ac7a10584ecc558c9350981f (diff) | |
download | chromium_src-67fda7b9d29bc6ba11f99ab5bde738a6b145b8d2.zip chromium_src-67fda7b9d29bc6ba11f99ab5bde738a6b145b8d2.tar.gz chromium_src-67fda7b9d29bc6ba11f99ab5bde738a6b145b8d2.tar.bz2 |
Add translation_expectations file.
This file specifies which grd files should be translated and into which
languages they should be translated. It's used by the internal
translation process.
BUG=518020
Review URL: https://codereview.chromium.org/1323123002
(cherry picked from commit 649775613a649a665418357bfa24b9dbc0eba5cf)
Cr-Original-Commit-Position: refs/heads/master@{#347078}
Cr-Commit-Position: refs/branch-heads/2490@{#148}
Cr-Branched-From: 7790a3535f2a81a03685eca31a32cf69ae0c114f-refs/heads/master@{#344925}
-rw-r--r-- | tools/gritsettings/translation_expectations.pyl | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/tools/gritsettings/translation_expectations.pyl b/tools/gritsettings/translation_expectations.pyl new file mode 100644 index 0000000..d306522 --- /dev/null +++ b/tools/gritsettings/translation_expectations.pyl @@ -0,0 +1,65 @@ +# Copyright 2015 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. +# +# Specifies which grd files should be translated and into which languages they +# should be translated. Used by the internal translation process. +{ + "desktop_grds": { + "languages": [ + "am", "ar", "bg", "bn", "ca", "cs", "da", "de", "el", "en-GB", "es", + "es-419", "et", "fa", "fi", "fil", "fr", "gu", "hi", "hr", "hu", "id", + "it", "iw", "ja", "kn", "ko", "lt", "lv", "ml", "mr", "ms", "nl", "no", + "pl", "pt-BR", "pt-PT", "ro", "ru", "sk", "sl", "sr", "sv", "sw", "ta", + "te", "th", "tr", "uk", "vi", "zh-CN", "zh-TW", + ], + "files": [ + "android_webview/ui/aw_strings.grd", + "ash/ash_strings.grd", + "chrome/app/address_input_strings.grd", + "chrome/app/chromium_strings.grd", + "chrome/app/generated_resources.grd", + "chrome/app/google_chrome_strings.grd", + "chrome/browser/resources/chromeos/chromevox/strings/chromevox_strings.grd", + "components/components_strings.grd", + "components/policy/resources/policy_templates.grd", + "content/app/strings/content_strings.grd", + "device/bluetooth/bluetooth_strings.grd", + "extensions/extensions_strings.grd", + "ios/chrome/app/strings/ios_strings_resources.grd", + "remoting/resources/remoting_strings.grd", + "ui/accessibility/extensions/strings/accessibility_extensions_strings.grd", + "ui/chromeos/ui_chromeos_strings.grd", + "ui/strings/ui_strings.grd", + ], + }, + "android_grds": { + "languages": [ + "am", "ar", "bg", "ca", "cs", "da", "de", "el", "en-GB", "es", "es-419", + "fa", "fi", "fil", "fr", "hi", "hr", "hu", "id", "it", "iw", "ja", "ko", + "lt", "lv", "nl", "no", "pl", "pt-BR", "pt-PT", "ro", "ru", "sk", "sl", + "sr", "sv", "sw", "th", "tr", "uk", "vi", "zh-CN", "zh-TW", + ], + "files": [ + "android_webview/java/strings/android_webview_strings.grd", + "chrome/android/java/strings/android_chrome_strings.grd", + "content/public/android/java/strings/android_content_strings.grd", + "ui/android/java/strings/android_ui_strings.grd", + ], + }, + # Grd files that contain <message> or <translations> elements, but that + # shouldn't be translated as part of the normal translation process. Each + # entry needs an explanation for why it shouldn't be translated. + "untranslated_grds": { + "chrome/app/resources/locale_settings.grd": "Not UI strings; localized separately", + "chrome/app/resources/locale_settings_chromiumos.grd": "Not UI strings; localized separately", + "chrome/app/resources/locale_settings_google_chromeos.grd": "Not UI strings; localized separately", + "chrome/app/resources/locale_settings_linux.grd": "Not UI strings; localized separately", + "chrome/app/resources/locale_settings_mac.grd": "Not UI strings; localized separately", + "chrome/app/resources/locale_settings_win.grd": "Not UI strings; localized separately", + "chromecast/app/resources/chromecast_settings.grd": "Not UI strings; localized separately", + "cloud_print/service/win/service_resources.grd": "Separate release process", + "cloud_print/virtual_driver/win/install/virtual_driver_setup_resources.grd": "Separate release process", + "ui/strings/app_locale_settings.grd": "Not UI strings; localized separately", + }, +} |