From fb49bffb2e0bd0f9a9e0ee5982d6a0ecf5b1dc6f Mon Sep 17 00:00:00 2001 From: isherman Date: Mon, 1 Dec 2014 16:23:57 -0800 Subject: [PATCH] [Smart Lock] Update the feature name in strings. 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} --- chrome/app/generated_resources.grd | 22 +++++++++---------- .../easy_unlock_private_api.cc | 7 +++--- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index d40fda2fc41890..6f42a227c99224 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -10227,10 +10227,10 @@ Chrome ran out of memory. Manage Bluetooth settings - Turn off Chrome Smart Lock + Turn off Smart Lock? - 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. Please connect to a network @@ -14926,7 +14926,7 @@ Do you accept? - Chrome Smart Lock + Smart Lock for Chrome Use your Android phone to unlock this $1Chromebook. No need to type your password again. @@ -14991,7 +14991,7 @@ Do you accept? Secure this phone to continue - To keep your $1Chromebook safe, Chrome Smart Lock requires a screen lock on your phone. <a>Learn how to secure your phone</a> + To keep your $1Chromebook safe, Smart Lock for Chrome requires a screen lock on your phone. <a>Learn how to secure your phone</a> @@ -15014,16 +15014,16 @@ Do you accept? - Recommended: Set up Android Smart Lock + Recommended: Set up Smart Lock for Android - - 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. <a>About Android Smart Lock</a> + + 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 $1Chromebook. - + Done - - About Android Smart Lock + + About Smart Lock for Android @@ -15111,7 +15111,7 @@ Do you accept? Smart Lock couldn't verify your account. Type your password to enter. - 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. Click to enter diff --git a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc index aa24dae249c0d9..e8bc4aa634fffc 100644 --- a/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc +++ b/chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc @@ -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(