Commit 59fbe471 authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

[toast] Add i18n toast button label string "Manage"

Per crbug.com/1002391#c12 "Manage Linux sharing" is both a menu button
label and a toast button label.

This label is too wide for a toast button per UX and should be changed
to "Manage". First step: define an i18n string for "Manage".

Bug: 1002391
Change-Id: I0cc4147cbd165a48082bd68be879377b3e228c38
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2214769Reviewed-by: default avatarAlex Danilo <adanilo@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#771657}
parent 785e433d
......@@ -769,6 +769,8 @@ std::unique_ptr<base::DictionaryValue> GetFileManagerStrings() {
SET_STRING("TOGGLE_HIDDEN_FILES_COMMAND_LABEL",
IDS_FILE_BROWSER_TOGGLE_HIDDEN_FILES_COMMAND_LABEL);
SET_STRING("SHARE_BUTTON_LABEL", IDS_FILE_BROWSER_SHARE_BUTTON_LABEL);
SET_STRING("MANAGE_TOAST_BUTTON_LABEL",
IDS_FILE_BROWSER_MANAGE_TOAST_BUTTON_LABEL);
SET_STRING("MANAGE_IN_DRIVE_BUTTON_LABEL",
IDS_FILE_BROWSER_MANAGE_IN_DRIVE_BUTTON_LABEL);
SET_STRING("SHARE_WITH_LINUX_BUTTON_LABEL",
......
......@@ -586,6 +586,9 @@
<message name="IDS_FILE_BROWSER_SHARE_BUTTON_LABEL" desc="Menu item's label, showing dialog to share the selected Google Drive files. This message is also used as a tooltip label and a spoken feedback label of a button which also shows the dialog to share the files. The translation should be consistent with the sharing dialog's title in Google Drive Web UI.">
Share with others
</message>
<message name="IDS_FILE_BROWSER_MANAGE_TOAST_BUTTON_LABEL" desc="Toast button label, manage file and folder sharing">
Manage
</message>
<message name="IDS_FILE_BROWSER_MANAGE_IN_DRIVE_BUTTON_LABEL" desc="Menu item's label, showing dialog to open the selected Google Drive files in the Drive webpage for managing sharing permissions, etc.">
Manage in Drive
</message>
......
24d9a278426d9e1eaa974233c3565b48fcbf1a2d
\ 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