Skip to content

Commit

Permalink
[Smart Lock] Update the feature name in strings.
Browse files Browse the repository at this point in the history
The feature should now be referred to as "Smart Lock for Chrome" rather than
"Chrome Smart Lock".

BUG=434807
TEST=none
R=tbarzic@chromium.org

Review URL: https://codereview.chromium.org/768453002

Cr-Commit-Position: refs/heads/master@{#306304}
  • Loading branch information
ishermandom authored and Commit bot committed Dec 2, 2014
1 parent 0254b12 commit fb49bff
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
22 changes: 11 additions & 11 deletions chrome/app/generated_resources.grd
Original file line number Diff line number Diff line change
Expand Up @@ -10227,10 +10227,10 @@ Chrome ran out of memory.
Manage Bluetooth settings
</message>
<message name="IDS_OPTIONS_EASY_UNLOCK_TURN_OFF_TITLE" desc="The title of the Easy unlock turn off dialog.">
Turn off Chrome Smart Lock
Turn off Smart Lock?
</message>
<message name="IDS_OPTIONS_EASY_UNLOCK_TURN_OFF_DESCRIPTION" desc="The description text of the Easy unlock turn off dialog.">
If you turn off Chrome Smart Lock, you won’t be able to unlock your Chrome devices when your phone is with you. You will have to type in your password.
If you turn off Smart Lock for Chrome, you won’t be able to unlock your Chrome devices when your phone is with you. You will have to type in your password.
</message>
<message name="IDS_OPTIONS_EASY_UNLOCK_TURN_OFF_OFFLINE_TITLE" desc="The title text on the Easy unlock turn off dialog when Easy unlock could not be turned off because the device is offline.">
Please connect to a network
Expand Down Expand Up @@ -14926,7 +14926,7 @@ Do you accept?
<!-- Easy Unlock strings -->
<!-- Strings for the Easy Unlock promo notification -->
<message name="IDS_EASY_UNLOCK_SETUP_NOTIFICATION_TITLE" desc="Title for the notification inviting the user to use the Easy Unlock feature.">
Chrome Smart Lock
Smart Lock for Chrome
</message>
<message name="IDS_EASY_UNLOCK_SETUP_NOTIFICATION_MESSAGE" desc="The body text for the notification inviting the user to use the Easy Unlock feature.">
Use your Android phone to unlock this <ph name="DEVICE_TYPE">$1<ex>Chromebook</ex></ph>. No need to type your password again.
Expand Down Expand Up @@ -14991,7 +14991,7 @@ Do you accept?
Secure this phone to continue
</message>
<message name="IDS_EASY_UNLOCK_SETUP_SECURE_PHONE_HEADER_TEXT" desc="The text to show as the header body text of the Easy Unlock dialog after a suitable phone has been found but is not secured by a lock screen. Note that the &lt;a&gt; element surrounds a link; these HTML elements should be preserved in the translation.">
To keep your <ph name="DEVICE_TYPE">$1<ex>Chromebook</ex></ph> safe, Chrome Smart Lock requires a screen lock on your phone. &lt;a&gt;Learn how to secure your phone&lt;/a&gt;
To keep your <ph name="DEVICE_TYPE">$1<ex>Chromebook</ex></ph> safe, Smart Lock for Chrome requires a screen lock on your phone. &lt;a&gt;Learn how to secure your phone&lt;/a&gt;
</message>
<!-- Step 2: Phone Found -->
<message name="IDS_EASY_UNLOCK_SETUP_FOUND_PHONE_HEADER_TITLE" desc="The text to show as the header title of the Easy Unlock dialog during the second step, after a suitable phone has been found.">
Expand All @@ -15014,16 +15014,16 @@ Do you accept?
</message>
<!-- Step 2.5: "Recommended: Set up Android Smart Lock" -->
<message name="IDS_EASY_UNLOCK_SETUP_ANDROID_SMART_LOCK_HEADER_TITLE" desc="The text to show as the header title of the Easy Unlock dialog to encourage the user to enable Android Smart Lock if it is not currently enabled.">
Recommended: Set up Android Smart Lock
Recommended: Set up Smart Lock for Android
</message>
<message name="IDS_EASY_UNLOCK_SETUP_ANDROID_SMART_LOCK_HEADER_TEXT" desc="The text to show as the header body text of the Easy Unlock dialog to encourage the user to enable Android Smart Lock if it is not currently enabled. Note that the &lt;a&gt; element surrounds a link; these HTML elements should be preserved in the translation.">
Update your phone's screen lock so it turns off when you're nearby. You'll unlock the phone faster, and enjoy a better Chrome Smart Lock experience. &lt;a&gt;About Android Smart Lock&lt;/a&gt;
<message name="IDS_EASY_UNLOCK_SETUP_ANDROID_SMART_LOCK_HEADER_TEXT" desc="The text to show as the header body text of the Easy Unlock dialog to encourage the user to enable Smart Lock for Android if it is not currently enabled. Note that the &lt;a&gt; element surrounds a link; these HTML elements should be preserved in the translation.">
Update your phone's screen lock so it turns off when you're nearby. You'll unlock the phone faster, and enjoy a better Smart Lock experience on your <ph name="DEVICE_TYPE">$1<ex>Chromebook</ex></ph>.
</message>
<message name="IDS_EASY_UNLOCK_SETUP_ANDROID_SMART_LOCK_DONE_BUTTON_LABEL" desc="The text to show as the button label in the Easy Unlock dialog step for encouraging the user to enable Android Smart Lock. Clicking this button advances the dialog to step 3.">
<message name="IDS_EASY_UNLOCK_SETUP_ANDROID_SMART_LOCK_DONE_BUTTON_LABEL" desc="The text to show as the button label in the Easy Unlock dialog step for encouraging the user to enable Smart Lock for Android. Clicking this button advances the dialog to step 3.">
Done
</message>
<message name="IDS_EASY_UNLOCK_SETUP_ANDROID_SMART_LOCK_ABOUT_LINK_TEXT" desc="The text to show as the link text to access the Android Smart Lock help article.">
About Android Smart Lock
<message name="IDS_EASY_UNLOCK_SETUP_ANDROID_SMART_LOCK_ABOUT_LINK_TEXT" desc="The text to show as the link text to access the Smart Lock for Android help article.">
About Smart Lock for Android
</message>
<!-- Step 3: "You're all set" -->
<message name="IDS_EASY_UNLOCK_SETUP_COMPLETE_HEADER_TITLE" desc="The text to show as the header title of the Easy Unlock dialog during the penultimate step, confirming success.">
Expand Down Expand Up @@ -15111,7 +15111,7 @@ Do you accept?
Smart Lock couldn't verify your account. Type your password to enter.
</message>
<message name="IDS_SMART_LOCK_SCREENLOCK_TOOLTIP_HARDLOCK_REAUTH_USER" desc="Tooltip text shown on a user's lock screen pod to reauthenticate the user before setting up Smart Lock. A password has to be entered to unlock the device.">
To set up Chrome Smart Lock, Google needs to make sure it's you--type your password to get started.
To set up Smart Lock for Chrome, Google needs to make sure it's you--type your password to get started.
</message>
<message name="IDS_EASY_UNLOCK_SCREENLOCK_USER_POD_AUTH_VALUE" desc="Message on lock screen user pod shown in place of password field when Easy Unlock is enabled and a phone that can unlock the Chromebook is detected in proximity.">
Click to enter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,10 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() {
"setupAndroidSmartLockHeaderTitle",
l10n_util::GetStringUTF16(
IDS_EASY_UNLOCK_SETUP_ANDROID_SMART_LOCK_HEADER_TITLE));
strings->SetString("setupAndroidSmartLockHeaderText",
l10n_util::GetStringUTF16(
IDS_EASY_UNLOCK_SETUP_ANDROID_SMART_LOCK_HEADER_TEXT));
strings->SetString(
"setupAndroidSmartLockHeaderText",
l10n_util::GetStringFUTF16(
IDS_EASY_UNLOCK_SETUP_ANDROID_SMART_LOCK_HEADER_TEXT, device_type));
strings->SetString(
"setupAndroidSmartLockDoneButtonText",
l10n_util::GetStringUTF16(
Expand Down

0 comments on commit fb49bff

Please sign in to comment.