Commit edc0d45d authored by Chris Lu's avatar Chris Lu Committed by Commit Bot

[ios] Add strings for Translate Messages banner and modal.

This change adds strings needed for the banner and modal elements.
It includes screenshots for the banner text since those likely require
the most context.

Bug: 1014959
Change-Id: I19772873bb386dd7726d348b90e776f0ddc628e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1902717Reviewed-by: default avatarMark Cogan <marq@chromium.org>
Reviewed-by: default avatarSergio Collazos <sczs@chromium.org>
Commit-Queue: Chris Lu <thegreenfrog@chromium.org>
Cr-Commit-Position: refs/heads/master@{#714924}
parent 9c1933ca
...@@ -1957,9 +1957,42 @@ New Search ...@@ -1957,9 +1957,42 @@ New Search
<message name="IDS_IOS_TRANSLATE_INFOBAR_TRANSLATE_ACTION" desc="The button text for the action to translate the page. [iOS only]"> <message name="IDS_IOS_TRANSLATE_INFOBAR_TRANSLATE_ACTION" desc="The button text for the action to translate the page. [iOS only]">
Translate Translate
</message> </message>
<message name="IDS_IOS_TRANSLATE_INFOBAR_TRANSLATE_UNDO_ACTION" desc="The button text for the action to undo the translation. [iOS only]">
Show Original
</message>
<message name="IDS_IOS_TRANSLATE_INFOBAR_ALWAYS_TRANSLATE_SOURCE_BUTTON_TITLE" desc="The text for the button in the Translate Infobar modal to always translate the source language. The variable inserted will be the source language.[iOS only]">
Always translate <ph name="LANGUAGE">$1</ph>
</message>
<message name="IDS_IOS_TRANSLATE_INFOBAR_AFTER_TRANSLATE_BANNER_TITLE" desc="The text for the title of the Translate Message Banner after translate was successful. [iOS only]">
Page Translated
</message>
<message name="IDS_IOS_TRANSLATE_INFOBAR_BEFORE_TRANSLATE_BANNER_TITLE" desc="The text for the title of the Translate Message Banner asking the user to translate the page [iOS only]">
Translate Page?
</message>
<message name="IDS_IOS_TRANSLATE_INFOBAR_MODAL_SOURCE_LANGUAGE_FIELD_NAME" desc="The text field name for the source language in the Translate Infobar modal. [iOS only]">
From
</message>
<message name="IDS_IOS_TRANSLATE_INFOBAR_MODAL_TARGET_LANGUAGE_FIELD_NAME" desc="The text field name for the target language in the Translate Infobar modal. [iOS only]">
To
</message>
<message name="IDS_IOS_TRANSLATE_INFOBAR_MODAL_TITLE" desc="The title of the Translate Infobar Modal. [iOS only]">
Translate Page
</message>
<message name="IDS_IOS_TRANSLATE_INFOBAR_NEVER_TRANSLATE_SITE_BUTTON_TITLE" desc="The text for the button in the Translate Infobar modal to never translate the current site. [iOS only]">
Never translate this site
</message>
<message name="IDS_IOS_TRANSLATE_INFOBAR_NEVER_TRANSLATE_SOURCE_BUTTON_TITLE" desc="The text for the button in the Translate Infobar modal to never translate the source language. The variable inserted will be the source language.[iOS only]">
Never translate <ph name="LANGUAGE">$1</ph>
</message>
<message name="IDS_IOS_TRANSLATE_INFOBAR_TRANSLATE_BANNER_SUBTITLE" desc="The text for the subtitle of the Translate Message Banner asking the user to translate the page. The variables inserted will be the source language and the target language from left to right. [iOS only]">
<ph name="SOURCE_LANGUAGE">$1</ph> to <ph name="TARGET_LANGUAGE">$2</ph>
</message>
<message name="IDS_IOS_TRANSLATE_INFOBAR_TRANSLATING_ACCESSIBILITY_ANNOUNCEMENT" desc="The accessibility announcement read by Voice Over when the Translate Infobar UI is shown in translating mode. [Length: unlimited] [iOS only]"> <message name="IDS_IOS_TRANSLATE_INFOBAR_TRANSLATING_ACCESSIBILITY_ANNOUNCEMENT" desc="The accessibility announcement read by Voice Over when the Translate Infobar UI is shown in translating mode. [Length: unlimited] [iOS only]">
Translating the page to <ph name="language">$1<ex>French</ex></ph>. Options available near bottom of the screen. Translating the page to <ph name="language">$1<ex>French</ex></ph>. Options available near bottom of the screen.
</message> </message>
<message name="IDS_IOS_TRANSLATE_INFOBAR_TRANSLATING_BANNER_TITLE" desc="The text for the title of the Translate Message Banner while translating is in progress. [iOS only]">
Translating...
</message>
<message name="IDS_IOS_LANGUAGE_SETTINGS_TITLE" desc="Title for the language settings menu entry and page. [Length: 25em] [iOS only]"> <message name="IDS_IOS_LANGUAGE_SETTINGS_TITLE" desc="Title for the language settings menu entry and page. [Length: 25em] [iOS only]">
Languages Languages
</message> </message>
......
51fc5780d28afe541580ea9fc80cb3a0144ff282
\ No newline at end of file
51fc5780d28afe541580ea9fc80cb3a0144ff282
\ No newline at end of file
ef96e7d20cf8350d942d1de3066cc57000fd8942
\ 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