$OpenBSD: patch-chrome_app_generated_resources_grd,v 1.20 2021/10/29 14:49:39 robert Exp $

Index: chrome/app/generated_resources.grd
--- chrome/app/generated_resources.grd.orig
+++ chrome/app/generated_resources.grd
@@ -2,7 +2,7 @@
 
 <!--
 This file contains definitions of resources that will be translated for each
-locale.  The variables is_win, is_macosx, is_linux, and is_posix are available
+locale.  The variables is_win, is_macosx, is_posix, and is_posix are available
 for making strings OS specific.  Other platform defines such as use_titlecase
 are declared in tools/grit/grit_rule.gni.
 -->
@@ -296,7 +296,7 @@ are declared in tools/grit/grit_rule.gni.
       <if expr="not is_android">
         <part file="protocol_handler_intent_picker_strings.grdp" />
       </if>
-      <if expr="is_win or is_macosx or is_linux">
+      <if expr="is_win or is_macosx or is_posix">
         <part file="url_handler_intent_picker_strings.grdp" />
       </if>
 
@@ -5474,7 +5474,7 @@ Keep your key file in a safe place. You will need it t
       </if>
 
       <!-- chrome://browser-switch strings -->
-      <if expr="is_win or is_macosx or (is_linux and not chromeos)">
+      <if expr="is_win or is_macosx or (is_posix and not chromeos)">
         <message name="IDS_ABOUT_BROWSER_SWITCH_TITLE" desc="about:browser-switch page title">
           Legacy Browser Support
         </message>
@@ -7772,7 +7772,7 @@ Keep your key file in a safe place. You will need it t
         Google Pay
       </message>
 
-      <if expr="is_linux and not chromeos and not lacros">
+      <if expr="is_posix and not chromeos and not lacros">
         <message name="IDS_SHOW_WINDOW_DECORATIONS" desc="The label of a radio button in the options dialog for using the system title bar and borders.">
           Use system title bar and borders
         </message>
@@ -8843,7 +8843,7 @@ Please help our engineers fix this problem. Tell us wh
         Set as default
       </message>
 
-      <if expr="is_linux and not chromeos and not lacros">
+      <if expr="is_posix and not chromeos and not lacros">
         <message name="IDS_MINIMIZE_WINDOW_MENU" desc="The Linux browser window menu item text for minimizing the window.">
           Minimize
         </message>
