Commit af499319 authored by isherman's avatar isherman Committed by Commit bot

[Smart Lock] Remove some unused strings.

BUG=453147
R=tengs@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#314419}
parent 9084b34a
...@@ -15264,12 +15264,6 @@ Do you accept? ...@@ -15264,12 +15264,6 @@ Do you accept?
<message name="IDS_EASY_UNLOCK_SETUP_ERROR_FINDING_PHONE" desc="A generic catch-all error message to display when something goes wrong after the user clicks 'Find my phone' during Easy Unlock setup. Note that the &lt;a&gt; element surrounds a link; these HTML elements should be preserved in the translation."> <message name="IDS_EASY_UNLOCK_SETUP_ERROR_FINDING_PHONE" desc="A generic catch-all error message to display when something goes wrong after the user clicks 'Find my phone' during Easy Unlock setup. Note that the &lt;a&gt; element surrounds a link; these HTML elements should be preserved in the translation.">
Can’t find your phone. Make sure you’re using a compatible Android phone that’s turned on and within arm’s reach. &lt;a&gt;Learn more&lt;/a&gt; Can’t find your phone. Make sure you’re using a compatible Android phone that’s turned on and within arm’s reach. &lt;a&gt;Learn more&lt;/a&gt;
</message> </message>
<message name="IDS_EASY_UNLOCK_SETUP_ERROR_BLUETOOTH_CONNECTION_FAILED" desc="The error message to display when the Bluetooth connection between the phone and the Chromebook is disconnected during Easy Unlock setup. Note that the &lt;a&gt; element surrounds a link; these HTML elements should be preserved in the translation.">
Couldn’t establish a connection with your phone. Make sure Bluetooth is turned on for both of your devices. &lt;a&gt;Learn more&lt;/a&gt;
</message>
<message name="IDS_EASY_UNLOCK_SETUP_ERROR_CONNECT_TO_PHONE_TIMEOUT" desc="The error message to display when the Chromebook is unable to establish connection to the phone within a reasonable amount of time. Note that the &lt;a&gt; element surrounds a link; these HTML elements should be preserved in the translation.">
Couldn’t establish a connection with your phone. Make sure you’re using a compatible Android phone that is turned on and within arm’s reach. &lt;a&gt;Learn more&lt;/a&gt;
</message>
<message name="IDS_EASY_UNLOCK_SETUP_ERROR_SYNC_PHONE_STATE_FAILED" desc="The error message to display when the Chromebook fails to sync the phone's state."> <message name="IDS_EASY_UNLOCK_SETUP_ERROR_SYNC_PHONE_STATE_FAILED" desc="The error message to display when the Chromebook fails to sync the phone's state.">
Smart Lock is currently unavailable. Please try again later. Smart Lock is currently unavailable. Please try again later.
</message> </message>
......
...@@ -306,20 +306,6 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() { ...@@ -306,20 +306,6 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() {
strings->SetString( strings->SetString(
"setupErrorFindingPhone", "setupErrorFindingPhone",
l10n_util::GetStringUTF16(IDS_EASY_UNLOCK_SETUP_ERROR_FINDING_PHONE)); l10n_util::GetStringUTF16(IDS_EASY_UNLOCK_SETUP_ERROR_FINDING_PHONE));
// TODO(isherman): Remove the setupErrorBluetoothConnectionFailed string; it
// is unused.
strings->SetString(
"setupErrorBluetoothConnectionFailed",
l10n_util::GetStringFUTF16(
IDS_EASY_UNLOCK_SETUP_ERROR_BLUETOOTH_CONNECTION_FAILED,
device_type));
// TODO(isherman): Remove the setupErrorConnectionToPhoneTimeout string; it is
// identical to the setupErrorConnectingToPhone string, and hence obsolete.
strings->SetString(
"setupErrorConnectionToPhoneTimeout",
l10n_util::GetStringFUTF16(
IDS_EASY_UNLOCK_SETUP_ERROR_CONNECT_TO_PHONE_TIMEOUT,
device_type));
strings->SetString( strings->SetString(
"setupErrorSyncPhoneState", "setupErrorSyncPhoneState",
l10n_util::GetStringUTF16( l10n_util::GetStringUTF16(
...@@ -329,9 +315,6 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() { ...@@ -329,9 +315,6 @@ bool EasyUnlockPrivateGetStringsFunction::RunSync() {
l10n_util::GetStringFUTF16( l10n_util::GetStringFUTF16(
IDS_EASY_UNLOCK_SETUP_ERROR_CONNECTING_TO_PHONE, device_type)); IDS_EASY_UNLOCK_SETUP_ERROR_CONNECTING_TO_PHONE, device_type));
// TODO(isherman): Remove this string once the app has been updated.
strings->SetString("setupIntroHeaderFootnote", base::string16());
SetResult(strings.release()); SetResult(strings.release());
return true; return true;
} }
......
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