openbsd-ports/www/chromium/patches/patch-chrome_app_generated_resources_grd

31 lines
1.5 KiB
Plaintext

$OpenBSD: patch-chrome_app_generated_resources_grd,v 1.4 2011/06/08 20:36:56 robert Exp $
--- chrome/app/generated_resources.grd.orig Wed Jun 8 10:18:50 2011
+++ chrome/app/generated_resources.grd Wed Jun 8 17:35:31 2011
@@ -1000,7 +1000,7 @@ Other platform defines such as use_titlecase are decla
Preferences...
</message>
</if>
- <if expr="os == 'linux2'">
+ <if expr="os == 'linux2' or os.find('bsd') != -1">
<message name="IDS_PREFERENCES" desc="The text label of the Preferences menu item.">
Preferences
</message>
@@ -7129,7 +7129,7 @@ Keep your key file in a safe place. You will need it t
</message>
</if>
- <if expr="os == 'darwin' or (os =='linux2' and not pp_ifdef('chromeos'))">
+ <if expr="os == 'darwin' or ((os =='linux2' or os.find('bsd') != -1) and not pp_ifdef('chromeos'))">
<message name="IDS_AUTOFILL_OPTIONS_TITLE" desc="The title of the Autofill dialog.">
Autofill Preferences
</message>
@@ -9421,7 +9421,7 @@ Keep your key file in a safe place. You will need it t
</if> <!-- os == 'darwin' -->
<!-- Linux Global Menubar Menus -->
- <if expr="os == 'linux2'">
+ <if expr="os == 'linux2' or os.find('bsd') != -1">
<!-- Unity and some other GNOME configurations now have a permanent,
Mac-like menu bar that lives outside the window at the top of the
screen. The following strings should be in Linux style, not Mac