naiveproxy/tools/gritsettings/translation_expectations.pyl
2018-01-29 00:30:36 +08:00

93 lines
5.2 KiB
Plaintext

# 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.
#
# This is a .pyl, or "Python Literal", file. You can treat it just like a
# .json file, with the following exceptions:
# * all keys must be quoted (use single quotes, please);
# * comments are allowed, using '#' syntax; and
# * trailing commas are allowed.
#
# 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/chromium_strings.grd",
"chrome/app/generated_resources.grd",
"chrome/app/google_chrome_strings.grd",
"chrome/browser/resources/chromeos/chromevox/strings/chromevox_strings.grd",
"chrome/browser/resources/chromeos/select_to_speak/strings/select_to_speak_strings.grd",
"components/components_chromium_strings.grd",
"components/components_google_chrome_strings.grd",
"components/components_strings.grd",
"components/policy/resources/policy_templates.grd",
"content/app/strings/content_strings.grd",
"device/bluetooth/bluetooth_strings.grd",
"extensions/strings/extensions_strings.grd",
"ios/chrome/app/strings/ios_chromium_strings.grd",
"ios/chrome/app/strings/ios_google_chrome_strings.grd",
"ios/chrome/app/strings/ios_strings.grd",
"ios/chrome/content_widget_extension/strings/ios_content_widget_extension_chromium_strings.grd",
"ios/chrome/content_widget_extension/strings/ios_content_widget_extension_google_chrome_strings.grd",
"ios/chrome/search_widget_extension/strings/ios_search_widget_extension_strings.grd",
"ios/chrome/search_widget_extension/strings/ios_search_widget_extension_chromium_strings.grd",
"ios/chrome/search_widget_extension/strings/ios_search_widget_extension_google_chrome_strings.grd",
"ios/chrome/share_extension/strings/ios_share_extension_strings.grd",
"remoting/resources/remoting_strings.grd",
"third_party/libaddressinput/chromium/address_input_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",
"chrome/android/webapk/strings/android_webapk_strings.grd",
"components/autofill/android/java/strings/autofill_strings.grd",
"components/web_contents_delegate_android/java/strings/web_contents_delegate_android_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/virtual_driver/win/install/virtual_driver_setup_resources.grd": "Separate release process",
"components/components_locale_settings.grd": "Not UI strings; localized separately",
"tools/grit/grit/testdata/buildinfo.grd": "Test data",
"tools/grit/grit/testdata/chrome/app/generated_resources.grd": "Test data",
"tools/grit/grit/testdata/substitute.grd": "Test data",
"tools/grit/grit/testdata/substitute_no_ids.grd": "Test data",
"tools/grit/grit/testdata/substitute_tmpl.grd": "Test data",
"tools/grit/grit/testdata/whitelist_resources.grd": "Test data",
"tools/grit/grit/testdata/whitelist_strings.grd": "Test data",
"ui/strings/app_locale_settings.grd": "Not UI strings; localized separately",
},
}