Commit 6d4f845a authored by Irina Fedorova's avatar Irina Fedorova Committed by Commit Bot

Add localized strings for compromised credentials section

This CL adds localized strings for compromised credentials sections to
be used if a user is not sign in but has compromised credentials that
have been found in the past.

Bug: 1119752
Change-Id: Idb3a825b248f5a8f273b0ccb81f9c6229821cb79
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2438461
Commit-Queue: Irina Fedorova <irfedorova@google.com>
Reviewed-by: default avatarJan Wilken Dörrie <jdoerrie@chromium.org>
Reviewed-by: default avatarMarc Treib <treib@chromium.org>
Cr-Commit-Position: refs/heads/master@{#812572}
parent 3cece5c7
...@@ -70,6 +70,9 @@ ...@@ -70,6 +70,9 @@
<message name="IDS_SETTINGS_SIGNED_OUT_USER_LABEL" desc="Label which is shown at the top of the compromised password section if user is signed out."> <message name="IDS_SETTINGS_SIGNED_OUT_USER_LABEL" desc="Label which is shown at the top of the compromised password section if user is signed out.">
To check if your passwords are safe from data breaches and other security issues, <ph name="BEGIN_LINK">&lt;a target='_blank' href='$1'&gt;</ph>sign in to Chromium<ph name="END_LINK">&lt;/a&gt;</ph>. To check if your passwords are safe from data breaches and other security issues, <ph name="BEGIN_LINK">&lt;a target='_blank' href='$1'&gt;</ph>sign in to Chromium<ph name="END_LINK">&lt;/a&gt;</ph>.
</message> </message>
<message name="IDS_SETTINGS_SIGNED_OUT_USER_HAS_COMPROMISED_CREDENTIALS_LABEL" desc="Label which is shown at the bottom of the compromised password section if user is signed out and has compromised credentials.">
To check if your other passwords are safe from data breaches and other security issues, <ph name="BEGIN_LINK">&lt;br/&gt;&lt;a target='_blank' href='$1'&gt;</ph>sign in to Chromium<ph name="END_LINK">&lt;/a&gt;</ph>.
</message>
<message name="IDS_SETTINGS_COMPROMISED_EDIT_DISCLAIMER_DESCRIPTION" desc="A description for the dialog which tells the user to edit password in Chromium if it was changed already."> <message name="IDS_SETTINGS_COMPROMISED_EDIT_DISCLAIMER_DESCRIPTION" desc="A description for the dialog which tells the user to edit password in Chromium if it was changed already.">
If so, please edit your saved password in Chromium so it matches your new password. If so, please edit your saved password in Chromium so it matches your new password.
</message> </message>
......
...@@ -70,6 +70,9 @@ ...@@ -70,6 +70,9 @@
<message name="IDS_SETTINGS_SIGNED_OUT_USER_LABEL" desc="Label which is shown at the top of the compromised password section if user is signed out."> <message name="IDS_SETTINGS_SIGNED_OUT_USER_LABEL" desc="Label which is shown at the top of the compromised password section if user is signed out.">
To check if your passwords are safe from data breaches and other security issues, <ph name="BEGIN_LINK">&lt;a target='_blank' href='$1'&gt;</ph>sign in to Chrome<ph name="END_LINK">&lt;/a&gt;</ph>. To check if your passwords are safe from data breaches and other security issues, <ph name="BEGIN_LINK">&lt;a target='_blank' href='$1'&gt;</ph>sign in to Chrome<ph name="END_LINK">&lt;/a&gt;</ph>.
</message> </message>
<message name="IDS_SETTINGS_SIGNED_OUT_USER_HAS_COMPROMISED_CREDENTIALS_LABEL" desc="Label which is shown at the bottom of the compromised password section if user is signed out and has compromised credentials.">
To check if your other passwords are safe from data breaches and other security issues, <ph name="BEGIN_LINK">&lt;br/&gt;&lt;a target='_blank' href='$1'&gt;</ph>sign in to Chrome<ph name="END_LINK">&lt;/a&gt;</ph>.
</message>
<message name="IDS_SETTINGS_COMPROMISED_EDIT_DISCLAIMER_DESCRIPTION" desc="A description for the dialog which tells the user to edit password in Chrome if it was changed already."> <message name="IDS_SETTINGS_COMPROMISED_EDIT_DISCLAIMER_DESCRIPTION" desc="A description for the dialog which tells the user to edit password in Chrome if it was changed already.">
If so, please edit your saved password in Chrome so it matches your new password. If so, please edit your saved password in Chrome so it matches your new password.
</message> </message>
......
...@@ -1047,6 +1047,11 @@ void AddAutofillStrings(content::WebUIDataSource* html_source, ...@@ -1047,6 +1047,11 @@ void AddAutofillStrings(content::WebUIDataSource* html_source,
l10n_util::GetStringFUTF16( l10n_util::GetStringFUTF16(
IDS_SETTINGS_SIGNED_OUT_USER_LABEL, IDS_SETTINGS_SIGNED_OUT_USER_LABEL,
base::ASCIIToUTF16(chrome::kSyncLearnMoreURL))); base::ASCIIToUTF16(chrome::kSyncLearnMoreURL)));
html_source->AddString(
"signedOutUserHasCompromisedCredentialsLabel",
l10n_util::GetStringFUTF16(
IDS_SETTINGS_SIGNED_OUT_USER_HAS_COMPROMISED_CREDENTIALS_LABEL,
base::ASCIIToUTF16(chrome::kSyncLearnMoreURL)));
// The warning message that will be shown if there is a content setting // The warning message that will be shown if there is a content setting
// pattern with a wildcard in it. The check for wildcards is done on the js // pattern with a wildcard in it. The check for wildcards is done on the js
// side. // side.
......
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