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

Rename the volume label for Android files.

The volume label for Android files should be "Android Files", so this CL renames
the label to the appropriate one and internationalize the label.
This CL changes the icon for the "Play Files" volume, too.

Bug: 846589
Test: Manually tested.
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: Id5ad9194094c14985d20a1055c153bab6c4d6b95
Reviewed-on: https://chromium-review.googlesource.com/1086899Reviewed-by: default avatarSasha Morrissey <sashab@chromium.org>
Commit-Queue: Naoki Fukino <fukino@chromium.org>
Cr-Commit-Position: refs/heads/master@{#564800}
parent d3a9ee37
......@@ -170,6 +170,9 @@
</message>
<!-- File Manager -->
<message name="IDS_FILE_BROWSER_ANDROID_FILES_ROOT_LABEL" desc="A label for the 'Play Files' root which shows Android files.">
Play Files
</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>
......
bc1643c9c6e70c04c2f9019423875272b8004702
\ No newline at end of file
......@@ -728,6 +728,8 @@ ExtensionFunction::ResponseAction FileManagerPrivateGetStringsFunction::Run() {
SET_STRING("TOTAL_FILE_COUNT", IDS_FILE_BROWSER_TOTAL_FILE_COUNT_LABEL);
SET_STRING("IMAGE_RESOLUTION_COLUMN_LABEL",
IDS_FILE_BROWSER_IMAGE_RESOLUTION_COLUMN_LABEL);
SET_STRING("ANDROID_FILES_ROOT_LABEL",
IDS_FILE_BROWSER_ANDROID_FILES_ROOT_LABEL);
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);
......
......@@ -81,9 +81,7 @@ volumeManagerUtil.createVolumeInfo = function(volumeMetadata) {
localizedLabel = str('LINUX_FILES_ROOT_LABEL');
break;
case VolumeManagerCommon.VolumeType.ANDROID_FILES:
// TODO(fukino): This volume label is temporary. Internationalize the
// label after we have a UI spec for it.
localizedLabel = 'Android Files';
localizedLabel = str('ANDROID_FILES_ROOT_LABEL');
break;
default:
// TODO(mtomasz): Calculate volumeLabel for all types of volumes in the
......
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