Commit a69c12d4 authored by tbarzic@chromium.org's avatar tbarzic@chromium.org

Add and update some Easy Unlock strings

Updated strings for setup error messages
Added few new error strings
Added strings for "Adding Nth Chromebook" notification
Added strings for the screenlock
Added strings for setup dialog button label in error state.

BUG=393792, 397366, 397532, 402106, 402269, 402584, 401787
TEST=NONE

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

Cr-Commit-Position: refs/heads/master@{#289259}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289259 0039d316-1c4b-4281-b951-d872f2087c98
parent 4e760a12
This diff is collapsed.
...@@ -63,6 +63,11 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() { ...@@ -63,6 +63,11 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() {
const base::string16 device_type = base::ASCIIToUTF16("Chromeschnozzle"); const base::string16 device_type = base::ASCIIToUTF16("Chromeschnozzle");
#endif // defined(OS_CHROMEOS) #endif // defined(OS_CHROMEOS)
// Common strings.
strings->SetString(
"learnMoreLinkTitle",
l10n_util::GetStringUTF16(IDS_EASY_UNLOCK_LEARN_MORE_LINK_TITLE));
// Setup notification strings. // Setup notification strings.
strings->SetString( strings->SetString(
"setupNotificationTitle", "setupNotificationTitle",
...@@ -86,6 +91,17 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() { ...@@ -86,6 +91,17 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() {
l10n_util::GetStringFUTF16(IDS_EASY_UNLOCK_SUCCESS_NOTIFICATION_MESSAGE, l10n_util::GetStringFUTF16(IDS_EASY_UNLOCK_SUCCESS_NOTIFICATION_MESSAGE,
device_type)); device_type));
// Chromebook added to Easy Unlock notification strings.
strings->SetString(
"chromebookAddedNotificationTitle",
l10n_util::GetStringUTF16(
IDS_EASY_UNLOCK_CHROMEBOOK_ADDED_NOTIFICATION_TITLE));
strings->SetString(
"chromebookAddedNotificationMessage",
l10n_util::GetStringFUTF16(
IDS_EASY_UNLOCK_CHROMEBOOK_ADDED_NOTIFICATION_MESSAGE,
device_type));
// Setup dialog strings. // Setup dialog strings.
// Step 1: Intro. // Step 1: Intro.
strings->SetString( strings->SetString(
...@@ -108,6 +124,10 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() { ...@@ -108,6 +124,10 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() {
"setupIntroFindingPhoneButtonLabel", "setupIntroFindingPhoneButtonLabel",
l10n_util::GetStringUTF16( l10n_util::GetStringUTF16(
IDS_EASY_UNLOCK_SETUP_INTRO_FINDING_PHONE_BUTTON_LABEL)); IDS_EASY_UNLOCK_SETUP_INTRO_FINDING_PHONE_BUTTON_LABEL));
strings->SetString(
"setupIntroRetryFindPhoneButtonLabel",
l10n_util::GetStringUTF16(
IDS_EASY_UNLOCK_SETUP_INTRO_RETRY_FIND_PHONE_BUTTON_LABEL));
strings->SetString( strings->SetString(
"setupIntroHowIsThisSecureLinkText", "setupIntroHowIsThisSecureLinkText",
l10n_util::GetStringUTF16( l10n_util::GetStringUTF16(
...@@ -125,6 +145,10 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() { ...@@ -125,6 +145,10 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() {
"setupFoundPhoneUseThisPhoneButtonLabel", "setupFoundPhoneUseThisPhoneButtonLabel",
l10n_util::GetStringUTF16( l10n_util::GetStringUTF16(
IDS_EASY_UNLOCK_SETUP_FOUND_PHONE_USE_THIS_PHONE_BUTTON_LABEL)); IDS_EASY_UNLOCK_SETUP_FOUND_PHONE_USE_THIS_PHONE_BUTTON_LABEL));
strings->SetString(
"setupPairingPhoneFailedButtonLabel",
l10n_util::GetStringUTF16(
IDS_EASY_UNLOCK_SETUP_PAIRING_PHONE_FAILED_BUTTON_LABEL));
// Step 3: Setup completed successfully. // Step 3: Setup completed successfully.
strings->SetString( strings->SetString(
"setupCompleteHeaderTitle", "setupCompleteHeaderTitle",
...@@ -160,6 +184,15 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() { ...@@ -160,6 +184,15 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() {
l10n_util::GetStringFUTF16( l10n_util::GetStringFUTF16(
IDS_EASY_UNLOCK_SETUP_ERROR_BLUETOOTH_CONNECTION_FAILED, IDS_EASY_UNLOCK_SETUP_ERROR_BLUETOOTH_CONNECTION_FAILED,
device_type)); device_type));
strings->SetString(
"setupErrorConnectionToPhoneTimeout",
l10n_util::GetStringFUTF16(
IDS_EASY_UNLOCK_SETUP_ERROR_CONNECT_TO_PHONE_TIMEOUT,
device_type));
strings->SetString(
"setupErrorSyncPhoneState",
l10n_util::GetStringUTF16(
IDS_EASY_UNLOCK_SETUP_ERROR_SYNC_PHONE_STATE_FAILED));
strings->SetString( strings->SetString(
"setupErrorConnectingToPhone", "setupErrorConnectingToPhone",
l10n_util::GetStringFUTF16( l10n_util::GetStringFUTF16(
......
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