Localize the chrome://flags/enterprise page
Even if the chrome://flags page is not localized, the
chrome://flags/enterprise page has to be localized.
Also, that page should not have dev and beta channel promo messages.
Screenshot: http://screen/NRUmyRFCMkG
Bug: 982371
Change-Id: I2939d6f38467d60d3dcd2da79b419c24c5692c43
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1721049
Commit-Queue: Yann Dago <[email protected]>
Reviewed-by: Nico Weber <[email protected]>
Reviewed-by: Hector Carmona <[email protected]>
Reviewed-by: Eugene But <[email protected]>
Cr-Commit-Position: refs/heads/master@{#689657}
diff --git a/components/components_chromium_strings.grd b/components/components_chromium_strings.grd
index cb80238..a8682046 100644
--- a/components/components_chromium_strings.grd
+++ b/components/components_chromium_strings.grd
@@ -188,12 +188,24 @@
<!-- About Flags UI -->
<if expr="not chromeos">
- <message name="IDS_FLAGS_UI_RELAUNCH_NOTICE" desc="Notifies the user that they need to relaunch Chromium. Shown next to a button that says 'Relaunch Now'.">
+ <message name="IDS_FLAGS_UI_RELAUNCH_NOTICE" translateable="false" desc="Notifies the user that they need to relaunch Chromium. Shown next to a button that says 'Relaunch Now'.">
Your changes will take effect the next time you relaunch Chromium.
</message>
</if>
<if expr="chromeos">
- <message name="IDS_FLAGS_UI_RELAUNCH_NOTICE" desc="Notifies the user that they need to restart Chromium OS. Shown next to a button that says 'Restart Now'.">
+ <message name="IDS_FLAGS_UI_RELAUNCH_NOTICE" translateable="false" desc="Notifies the user that they need to restart Chromium OS. Shown next to a button that says 'Restart Now'.">
+ Your changes will take effect the next time you restart your device.
+ </message>
+ </if>
+
+ <!-- about:flags/enterprise strings -->
+ <if expr="not chromeos">
+ <message name="IDS_ENTERPRISE_SETTINGS_RELAUNCH_NOTICE" desc="Notifies the user that they need to relaunch Chromium. Shown next to a button that says 'Relaunch Now'.">
+ Your changes will take effect the next time you relaunch Chromium.
+ </message>
+ </if>
+ <if expr="chromeos">
+ <message name="IDS_ENTERPRISE_SETTINGS_RELAUNCH_NOTICE" desc="Notifies the user that they need to restart Chromium OS. Shown next to a button that says 'Restart Now'.">
Your changes will take effect the next time you restart your device.
</message>
</if>