pkgsrc-wip/chromium/patches/patch-chrome_app_chromium__...

32 lines
1.9 KiB
Plaintext

$NetBSD$
--- chrome/app/chromium_strings.grd.orig 2020-07-08 21:41:46.000000000 +0000
+++ chrome/app/chromium_strings.grd
@@ -681,7 +681,7 @@ Chromium is unable to recover your setti
</if>
<!-- about: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_DESCRIPTION_UNKNOWN_BROWSER" desc="Description shown while waiting for an alternative browser to open, when the browser name is not auto-detected">
Your system administrator has configured Chromium to open an alternative browser to access <ph name="TARGET_URL_HOSTNAME">$1<ex>example.com</ex></ph>.
</message>
@@ -782,7 +782,7 @@ Chromium is unable to recover your setti
</message>
<!-- ProcessSingleton -->
- <if expr="is_linux or is_macosx">
+ <if expr="is_posix or is_macosx">
<message name="IDS_PROFILE_IN_USE_POSIX" desc="Message shown when the browser cannot start because the profile is in use on a different host.">
The profile appears to be in use by another Chromium process (<ph name="PROCESS_ID">$1<ex>12345</ex></ph>) on another computer (<ph name="HOST_NAME">$2<ex>example.com</ex></ph>). Chromium has locked the profile so that it doesn't get corrupted. If you are sure no other processes are using this profile, you can unlock the profile and relaunch Chromium.
</message>
@@ -1004,7 +1004,7 @@ Chromium is unable to recover your setti
</message>
<!-- Plugin Placeholders -->
- <if expr="is_linux">
+ <if expr="is_posix">
<message name="IDS_PLUGIN_RESTART_REQUIRED" desc="The placeholder text for a plugin that can't be loaded until the browser is restarted.">
Restart Chromium to enable <ph name="PLUGIN_NAME">$1<ex>Flash</ex></ph>
</message>