Commit b56a0d4e authored by Naoki Fukino's avatar Naoki Fukino Committed by Commit Bot

Internationalize a menu item label to show all Android files.

Bug: 851844
Test: The new label is manually checked.
Cq-Include-Trybots: luci.chromium.try:closure_compilation
Change-Id: I879ea833ab2da5dc5b6293cfbb06e3fa589d408b
Reviewed-on: https://chromium-review.googlesource.com/1111494Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Commit-Queue: Naoki Fukino <fukino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#569545}
parent 9d1db296
......@@ -170,9 +170,12 @@
</message>
<!-- File Manager -->
<message name="IDS_FILE_BROWSER_ANDROID_FILES_ROOT_LABEL" desc="A label for the 'Play Files' root which shows Android files.">
<message name="IDS_FILE_BROWSER_ANDROID_FILES_ROOT_LABEL" desc="A label for the 'Play Files' root which shows Android files. 'Play' in this label is an abbreviation of 'Google Play', so it should not be translated.">
Play Files
</message>
<message name="IDS_FILE_BROWSER_SHOW_ALL_ANDROID_FOLDERS_OPTION" desc="A label for an option menu item to show all Android folders. By default, only several folders are visible to users, and users will click this option menu item to show all folders. 'Play' in this label is an abbreviation of 'Google Play', so it should not be translated.">
Show all Play folders
</message>
<message name="IDS_FILE_SYSTEM_PROVIDER_UNRESPONSIVE_WARNING" desc="A warning shown in a notification that an operation is taking longer than expected.">
An operation is taking longer than expected. Do you want to abort it?
</message>
......
0e88afa3756ce55542754a8801cf3d445bfc29a9
\ No newline at end of file
......@@ -734,6 +734,8 @@ ExtensionFunction::ResponseAction FileManagerPrivateGetStringsFunction::Run() {
IDS_FILE_BROWSER_IMAGE_RESOLUTION_COLUMN_LABEL);
SET_STRING("ANDROID_FILES_ROOT_LABEL",
IDS_FILE_BROWSER_ANDROID_FILES_ROOT_LABEL);
SET_STRING("SHOW_ALL_ANDROID_FOLDERS_OPTION",
IDS_FILE_BROWSER_SHOW_ALL_ANDROID_FOLDERS_OPTION);
SET_STRING("LINUX_FILES_ROOT_LABEL", IDS_FILE_BROWSER_LINUX_FILES_ROOT_LABEL);
SET_STRING("MEDIA_ARTIST_COLUMN_LABEL",
IDS_FILE_BROWSER_MEDIA_ARTIST_COLUMN_LABEL);
......
......@@ -142,9 +142,8 @@
<command id="toggle-hidden-files"
i18n-values="label:TOGGLE_HIDDEN_FILES_COMMAND_LABEL"
shortcut=".|Ctrl" hide-shortcut-text>
<!-- TODO(fukino): Internationalize this label. crbug.com/851844. -->
<command id="toggle-hidden-android-folders"
label="Show hidden Play folders"></command>
i18n-values="label:SHOW_ALL_ANDROID_FOLDERS_OPTION">
<command id="default-task">
<command id="open-with" i18n-values="label:OPEN_WITH_BUTTON_LABEL">
......
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