diff options
author | Christopher Tate <ctate@google.com> | 2012-06-19 15:44:15 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2012-06-19 16:22:55 -0700 |
commit | 2d6497d2d19f0cddc488ea4362221b7e08481c30 (patch) | |
tree | 1fca177081f497c5a9c4e6c5afc704dc28866c19 /src/com/android/settings/SetFullBackupPassword.java | |
parent | fae5978e4a89aa2b8e6a9e1cf95c910a0609923a (diff) | |
download | packages_apps_settings-2d6497d2d19f0cddc488ea4362221b7e08481c30.zip packages_apps_settings-2d6497d2d19f0cddc488ea4362221b7e08481c30.tar.gz packages_apps_settings-2d6497d2d19f0cddc488ea4362221b7e08481c30.tar.bz2 |
Use string resources instead of literals for backup password confirmations
Localizability is good. Bug 6683158
Change-Id: I205e4a09f5137e18d4085fcc041fae86f26ab188
Diffstat (limited to 'src/com/android/settings/SetFullBackupPassword.java')
-rw-r--r-- | src/com/android/settings/SetFullBackupPassword.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/settings/SetFullBackupPassword.java b/src/com/android/settings/SetFullBackupPassword.java index 9f3f29f..4ab096b 100644 --- a/src/com/android/settings/SetFullBackupPassword.java +++ b/src/com/android/settings/SetFullBackupPassword.java @@ -47,7 +47,7 @@ public class SetFullBackupPassword extends Activity { // Mismatch between new pw and its confirmation re-entry Log.i(TAG, "password mismatch"); Toast.makeText(SetFullBackupPassword.this, - "!!! New password and confirmation don't match !!!", + R.string.local_backup_password_toast_confirmation_mismatch, Toast.LENGTH_LONG).show(); return; } @@ -58,14 +58,14 @@ Log.i(TAG, "password mismatch"); // success Log.i(TAG, "password set successfully"); Toast.makeText(SetFullBackupPassword.this, - "!!! New backup password set !!!", + R.string.local_backup_password_toast_success, Toast.LENGTH_LONG).show(); finish(); } else { // failure -- bad existing pw, usually Log.i(TAG, "failure; password mismatch?"); Toast.makeText(SetFullBackupPassword.this, - "!!! Failure setting backup password !!!", + R.string.local_backup_password_toast_validation_failure, Toast.LENGTH_LONG).show(); } } else if (v == mCancel) { |