Commit dd06deb4 authored by Trevor Perrier's avatar Trevor Perrier Committed by Commit Bot

[Android] Add new Translate infobar strings

Bug: 1127531
Change-Id: I42538f522e6ce49483d6070566bc9f06c15c77d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2422711
Commit-Queue: Trevor  Perrier <perrier@chromium.org>
Reviewed-by: default avatarMegan Jablonski <megjablon@chromium.org>
Cr-Commit-Position: refs/heads/master@{#809626}
parent 5aa92900
......@@ -330,6 +330,8 @@ Still reading?
<ignore regexp="The resource `R.string.languages_settings_target` appears to be unused"/>
<ignore regexp="The resource `R.string.languages_split_downloading` appears to be unused"/>
<ignore regexp="The resource `R.string.languages_split_ready` appears to be unused"/>
<ignore regexp="The resource `R.string.translate_dont_offer_site` appears to be unused"/>
<ignore regexp="The resource `R.string.translate_dont_offer_lang` appears to be unused"/>
<!-- Old-style and new-style WebAPKs use same resources for simplicity. Old-style WebAPKs do
not use R.style.SplashTheme but new-style WebAPKs do.
......
......@@ -63,6 +63,9 @@
<message name="IDS_TRANSLATE_NEVER_TRANSLATE_SITE" desc="Text to display on the never translate site (like www.google.com) button. [CHAR-LIMIT=64]" formatter_data="android_java">
Never translate this site
</message>
<message name="IDS_TRANSLATE_DONT_OFFER_SITE" desc="Text to display on overflow option stopping Chrome from offering translate for a site. (like www.google.com)" formatter_data="android_java">
Don‘t offer to translate this site
</message>
<message name="IDS_TRANSLATE_OPTION_ALWAYS_TRANSLATE" desc="Option in the overflow menu. User can click the 'Always Translate' option to indicate that they want the app to translate pages in this language automatically. Imperative." formatter_data="android_java">
Always translate pages in <ph name="SOURCE_LANGUAGE">%1$s<ex>French</ex></ph>
......@@ -70,6 +73,9 @@
<message name="IDS_TRANSLATE_OPTION_NEVER_TRANSLATE" desc="Option in the overflow menu. User can click the 'Never Translate' option to indicate that they never want the app to translate pages in this language. The variable SOURCE_LANGUAGE could be any of 50+ languages supported by Google Translate, like French, Spanish, German, Italian, Japanese, Korean, etc. Imperative." formatter_data="android_java">
Never translate pages in <ph name="SOURCE_LANGUAGE">%1$s<ex>French</ex></ph>
</message>
<message name="IDS_TRANSLATE_DONT_OFFER_LANG" desc="Option in the overflow menu. User can click the 'Don't offer Translate' option to indicate that they don't want the app to offer translations for pages in this language. The variable SOURCE_LANGUAGE could be any of 50+ languages supported by Google Translate, like French, Spanish, German, Italian, Japanese, Korean, etc. Imperative." formatter_data="android_java">
Don‘t offer to translate pages in <ph name="SOURCE_LANGUAGE">%1$s<ex>French</ex></ph>
</message>
<message name="IDS_TRANSLATE_OPTION_MORE_LANGUAGE" desc="Option in the overflow menu. Lets the user open a dialog to choose other target languages for translation, from a list of available languages. [CHAR-LIMIT=64]" formatter_data="android_java">
More languages
</message>
......
1bff20c9c9e3081d13d0592c641123b868ecda88
\ No newline at end of file
86bea078f1f57722c38fea9aa75a27d5b5b9b4ca
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment