Commit 40381082 authored by Peter Boström's avatar Peter Boström Committed by Commit Bot

Add branded titlecase for global-error bubble.

These strings were missed as they were not in generated_resources.grd.

Bug: chromium:807886
Change-Id: I3c0c812f751487fffa6dc167cff21e0af269bf73
Reviewed-on: https://chromium-review.googlesource.com/902187
Commit-Queue: Peter Boström <pbos@chromium.org>
Reviewed-by: default avatarScott Violet <sky@chromium.org>
Reviewed-by: default avatarBret Sepulveda <bsep@chromium.org>
Cr-Commit-Position: refs/heads/master@{#534707}
parent 4b597a89
......@@ -1046,15 +1046,22 @@ Please check your email at <ph name="ACCOUNT_EMAIL">$2<ex>jane.doe@example.com</
</if>
<!-- Upgrade recovery bubble -->
<message name="IDS_RUN_RECOVERY" desc="Text for the button the user clicks to recover chromium and its updater.">
Update Chromium
</message>
<message name="IDS_DECLINE_RECOVERY" desc="Text for the button the user clicks to decline recovery request.">
No, thanks
</message>
<message name="IDS_RECOVERY_BUBBLE_TITLE" desc="Text for the title of the chrome recovery bubble view.">
Chromium is out of date
</message>
<if expr="use_titlecase">
<message name="IDS_RUN_RECOVERY" desc="In Title Case: Text for the button the user clicks to recover chromium and its updater.">
Update Chromium
</message>
<message name="IDS_RECOVERY_BUBBLE_TITLE" desc="In Title Case: Text for the title of the chrome recovery bubble view.">
Chromium is Out of Date
</message>
</if>
<if expr="not use_titlecase">
<message name="IDS_RUN_RECOVERY" desc="Text for the button the user clicks to recover chromium and its updater.">
Update Chromium
</message>
<message name="IDS_RECOVERY_BUBBLE_TITLE" desc="Text for the title of the chrome recovery bubble view.">
Chromium is out of date
</message>
</if>
<message name="IDS_RECOVERY_BUBBLE_TEXT" desc="Text for the chrome recovery bubble view full description.">
Important security improvements and new features are available in the latest version.
</message>
......
......@@ -8208,6 +8208,18 @@ Please help our engineers fix this problem. Tell us what happened right before y
Created new window in existing browser session.
</message>
<!-- Upgrade recovery bubble -->
<if expr="use_titlecase">
<message name="IDS_DECLINE_RECOVERY" desc="In Title Case: Text for the button the user clicks to decline recovery request.">
No, Thanks
</message>
</if>
<if expr="not use_titlecase">
<message name="IDS_DECLINE_RECOVERY" desc="Text for the button the user clicks to decline recovery request.">
No, thanks
</message>
</if>
<!-- Sync strings -->
<!-- Shared between all the plaforms -->
......
......@@ -1063,15 +1063,22 @@ Please check your email at <ph name="ACCOUNT_EMAIL">$2<ex>jane.doe@example.com</
</if>
<!-- Upgrade recovery bubble -->
<message name="IDS_RUN_RECOVERY" desc="Text for the button the user clicks to recover Chrome and its updater.">
Update Chrome
</message>
<message name="IDS_DECLINE_RECOVERY" desc="Text for the button the user clicks to decline recovery request.">
No, thanks
</message>
<message name="IDS_RECOVERY_BUBBLE_TITLE" desc="Text for the title of the chrome recovery bubble view.">
Chrome is out of date
</message>
<if expr="use_titlecase">
<message name="IDS_RUN_RECOVERY" desc="In Title Case: Text for the button the user clicks to recover Chrome and its updater.">
Update Chrome
</message>
<message name="IDS_RECOVERY_BUBBLE_TITLE" desc="In Title Case: Text for the title of the chrome recovery bubble view.">
Chrome is Out of Date
</message>
</if>
<if expr="not use_titlecase">
<message name="IDS_RUN_RECOVERY" desc="Text for the button the user clicks to recover Chrome and its updater.">
Update Chrome
</message>
<message name="IDS_RECOVERY_BUBBLE_TITLE" desc="Text for the title of the chrome recovery bubble view.">
Chrome is out of date
</message>
</if>
<message name="IDS_RECOVERY_BUBBLE_TEXT" desc="Text for the chrome recovery bubble view full description.">
Important security improvements and new features are available in the latest version.
</message>
......
......@@ -15,6 +15,7 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
#include "chrome/grit/chromium_strings.h"
#include "chrome/grit/generated_resources.h"
#include "components/prefs/pref_service.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/gfx/paint_vector_icon.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment