summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-20 19:45:24 +0000
committerthomasvl@chromium.org <thomasvl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-20 19:45:24 +0000
commit6c64c1c297b0f21c202522ae21a7c3d5d9f52cac (patch)
treeae89ecda90af49651a0b99fa710c0d7ef3ddb69d
parent756ac71a81a5be5e4e1b23c2734b5631848fe0fc (diff)
downloadchromium_src-6c64c1c297b0f21c202522ae21a7c3d5d9f52cac.zip
chromium_src-6c64c1c297b0f21c202522ae21a7c3d5d9f52cac.tar.gz
chromium_src-6c64c1c297b0f21c202522ae21a7c3d5d9f52cac.tar.bz2
Mark three menuitems as mac only so we aren't putting them into other platform resources.
TEST=none BUG=none Review URL: http://codereview.chromium.org/155784 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21086 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/app/chromium_strings.grd20
-rw-r--r--chrome/app/google_chrome_strings.grd20
2 files changed, 22 insertions, 18 deletions
diff --git a/chrome/app/chromium_strings.grd b/chrome/app/chromium_strings.grd
index cab8d2e..b3335cb 100644
--- a/chrome/app/chromium_strings.grd
+++ b/chrome/app/chromium_strings.grd
@@ -343,15 +343,17 @@ be available for now. -->
<message name="IDS_DEFAULT_BROWSER_INFOBAR_SHORT_TEXT" desc="More compact text to show in the default browser query infobar.">
Chromium isn't your default browser.
</message>
- <message name="IDS_EXIT_MAC" desc="The menu item to quit the browser in the app menu.">
- Quit Chromium
- </message>
- <message name="IDS_HIDE_MAC" desc="The menu item to hide all browser windows in the app menu.">
- Hide Chromium
- </message>
- <message name="IDS_HELP_MAC" desc="The menu item to show help in the Help menu.">
- Chromium Help
- </message>
+ <if expr="os == 'darwin'">
+ <message name="IDS_EXIT_MAC" desc="The menu item to quit the browser in the app menu.">
+ Quit Chromium
+ </message>
+ <message name="IDS_HIDE_MAC" desc="The menu item to hide all browser windows in the app menu.">
+ Hide Chromium
+ </message>
+ <message name="IDS_HELP_MAC" desc="The menu item to show help in the Help menu.">
+ Chromium Help
+ </message>
+ </if>
</messages>
</release>
</grit>
diff --git a/chrome/app/google_chrome_strings.grd b/chrome/app/google_chrome_strings.grd
index c884685..f54fea6 100644
--- a/chrome/app/google_chrome_strings.grd
+++ b/chrome/app/google_chrome_strings.grd
@@ -391,15 +391,17 @@ Chrome supports. -->
<message name="IDS_DEFAULT_BROWSER_INFOBAR_SHORT_TEXT" desc="More compact text to show in the default browser query infobar.">
Google Chrome isn't your default browser.
</message>
- <message name="IDS_EXIT_MAC" desc="The menu item to quit the browser in the app menu.">
- Quit Google Chrome
- </message>
- <message name="IDS_HIDE_MAC" desc="The menu item to hide all browser windows in the app menu.">
- Hide Google Chrome
- </message>
- <message name="IDS_HELP_MAC" desc="The menu item to show help in the Help menu.">
- Google Chrome Help
- </message>
+ <if expr="os == 'darwin'">
+ <message name="IDS_EXIT_MAC" desc="The menu item to quit the browser in the app menu.">
+ Quit Google Chrome
+ </message>
+ <message name="IDS_HIDE_MAC" desc="The menu item to hide all browser windows in the app menu.">
+ Hide Google Chrome
+ </message>
+ <message name="IDS_HELP_MAC" desc="The menu item to show help in the Help menu.">
+ Google Chrome Help
+ </message>
+ </if>
</messages>
</release>
</grit>