diff options
author | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-01 17:52:53 +0000 |
---|---|---|
committer | thomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-01 17:52:53 +0000 |
commit | 94488dc6a9cae202786afde91232e69c93c3ed29 (patch) | |
tree | a3e69c8b1cdca3fd28b541ae8b8d041dbfa0479e /chrome/app | |
parent | cad0fe71436e528584c12e22269e624b8d68929a (diff) | |
download | chromium_src-94488dc6a9cae202786afde91232e69c93c3ed29.zip chromium_src-94488dc6a9cae202786afde91232e69c93c3ed29.tar.gz chromium_src-94488dc6a9cae202786afde91232e69c93c3ed29.tar.bz2 |
Download shelf menus in title case.
Make the show_in_folder menu and link "Show in Finder" on the Mac as requested by Cole.
BUG=22647
BUG=23548
TEST=Download shelf menus (for inprogress download and completed download) should be in title case. Mac should say "Finder" instead of "Folder"
Review URL: http://codereview.chromium.org/246065
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27735 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r-- | chrome/app/generated_resources.grd | 158 |
1 files changed, 118 insertions, 40 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index 49defb4..7aa4420 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -2027,10 +2027,18 @@ each locale. --> desc="In the download view, 'Cancel' link text"> Cancel </message> - <message name="IDS_DOWNLOAD_LINK_SHOW" - desc="In the download view, 'Show in folder' link text"> - Show in folder - </message> + <if expr="os != 'darwin'"> + <message name="IDS_DOWNLOAD_LINK_SHOW" + desc="In the download view, 'Show in folder' link text"> + Show in folder + </message> + </if> + <if expr="os == 'darwin'"> + <message name="IDS_DOWNLOAD_LINK_SHOW" + desc="Mac: In the download view, 'Show in Finder' link text"> + Show in Finder + </message> + </if> <message name="IDS_DOWNLOAD_TAB_CANCELED" desc="Cancel link text"> Canceled @@ -2057,42 +2065,112 @@ each locale. --> </message> <!-- Download Context Menu Items --> - <message name="IDS_DOWNLOAD_MENU_COPY_PATH" - desc="Download context menu copy file path to clipboard"> - Copy file &path - </message> - <message name="IDS_DOWNLOAD_MENU_COPY_FILE" - desc="Download context menu copy file to clipboard"> - Copy &file - </message> - <message name="IDS_DOWNLOAD_MENU_OPEN_WHEN_COMPLETE" - desc="Download context menu open when download is finished"> - Open when &done - </message> - <message name="IDS_DOWNLOAD_MENU_OPEN" - desc="Download context menu open download"> - &Open - </message> - <message name="IDS_DOWNLOAD_MENU_ALWAYS_OPEN_TYPE" - desc="Download context menu open when download is finished"> - &Always open files of this type - </message> - <message name="IDS_DOWNLOAD_MENU_CANCEL" - desc="Download context menu cancel"> - &Cancel - </message> - <message name="IDS_DOWNLOAD_MENU_SHOW" - desc="Show the file in file explorer, 'Show in folder' item"> - &Show in folder - </message> - <message name="IDS_DOWNLOAD_MENU_PAUSE_ITEM" - desc="Download context menu pause download"> - &Pause - </message> - <message name="IDS_DOWNLOAD_MENU_RESUME_ITEM" - desc="Download context menu resume download"> - &Resume - </message> + <if expr="not pp_ifdef('use_titlecase')"> + <message name="IDS_DOWNLOAD_MENU_COPY_PATH" + desc="Download context menu copy file path to clipboard"> + Copy file &path + </message> + <message name="IDS_DOWNLOAD_MENU_COPY_FILE" + desc="Download context menu copy file to clipboard"> + Copy &file + </message> + <message name="IDS_DOWNLOAD_MENU_OPEN_WHEN_COMPLETE" + desc="Download context menu open when download is finished"> + Open when &done + </message> + <message name="IDS_DOWNLOAD_MENU_OPEN" + desc="Download context menu open download"> + &Open + </message> + <message name="IDS_DOWNLOAD_MENU_ALWAYS_OPEN_TYPE" + desc="Download context menu open when download is finished"> + &Always open files of this type + </message> + <message name="IDS_DOWNLOAD_MENU_CANCEL" + desc="Download context menu cancel"> + &Cancel + </message> + <message name="IDS_DOWNLOAD_MENU_PAUSE_ITEM" + desc="Download context menu pause download"> + &Pause + </message> + <message name="IDS_DOWNLOAD_MENU_RESUME_ITEM" + desc="Download context menu resume download"> + &Resume + </message> + </if> + <if expr="pp_ifdef('use_titlecase')"> + <message name="IDS_DOWNLOAD_MENU_COPY_PATH" + desc="In Title Case: Download context menu copy file path to clipboard"> + Copy File &Path + </message> + <message name="IDS_DOWNLOAD_MENU_COPY_FILE" + desc="In Title Case: Download context menu copy file to clipboard"> + Copy &File + </message> + <message name="IDS_DOWNLOAD_MENU_OPEN_WHEN_COMPLETE" + desc="In Title Case: Download context menu open when download is finished"> + Open When &Done + </message> + <message name="IDS_DOWNLOAD_MENU_OPEN" + desc="In Title Case: Download context menu open download"> + &Open + </message> + <message name="IDS_DOWNLOAD_MENU_ALWAYS_OPEN_TYPE" + desc="In Title Case: Download context menu open when download is finished"> + &Always Open Files of This Type + </message> + <message name="IDS_DOWNLOAD_MENU_CANCEL" + desc="In Title Case: Download context menu cancel"> + &Cancel + </message> + <message name="IDS_DOWNLOAD_MENU_PAUSE_ITEM" + desc="In Title Case: Download context menu pause download"> + &Pause + </message> + <message name="IDS_DOWNLOAD_MENU_RESUME_ITEM" + desc="In Title Case: Download context menu resume download"> + &Resume + </message> + </if> + <!-- GRIT doesn't support nesting <if>...</if> blocks, so these can't --> + <!-- go within the above titlecase checks, instead markup must use --> + <!-- combined tests for all cases. --> + <!-- NOTE: the last two (darwin cases) are the same English values, --> + <!-- but two strings are needed in case some other language --> + <!-- needs a difference for Title Case support. --> + <if expr="os != 'darwin' and not pp_ifdef('use_titlecase')"> + <!-- !Mac & Sentence case --> + <message name="IDS_DOWNLOAD_MENU_SHOW" + desc="Show the file in file explorer, 'Show in folder' item" + meaning="'show in folder' on non Mac in Sentence case"> + &Show in folder + </message> + </if> + <if expr="os != 'darwin' and pp_ifdef('use_titlecase')"> + <!-- !Mac & Title Case --> + <message name="IDS_DOWNLOAD_MENU_SHOW" + desc="In Title Case: Show the file in file explorer, 'Show in folder' item" + meaning="'show in folder' on non Mac in Title Case"> + &Show in Folder + </message> + </if> + <if expr="os == 'darwin' and not pp_ifdef('use_titlecase')"> + <!-- Mac & Sentence case --> + <message name="IDS_DOWNLOAD_MENU_SHOW" + desc="Mac: Show the file in the Finder, 'Show in Finder' item" + meaning="'show in Finder' on Mac in Sentence case"> + &Show in Finder + </message> + </if> + <if expr="os == 'darwin' and pp_ifdef('use_titlecase')"> + <!-- Mac & Title Case --> + <message name="IDS_DOWNLOAD_MENU_SHOW" + desc="In Title Case: Mac: Show the file in the Finder, 'Show in Finder' item" + meaning="'show in Finder' on Mac in Title Case"> + &Show in Finder + </message> + </if> <!-- Remove in-progress downloads confirmation dialog --> <message name="IDS_SINGLE_DOWNLOAD_REMOVE_CONFIRM_WARNING" desc="Title of the dialog asking for user confirmation to close the browser when one download is in-progress."> |