Add forgotten string

This commit is contained in:
Felix Kloft 2013-05-15 11:45:11 +02:00
parent 10d6c0360d
commit 680626b220
2 changed files with 2 additions and 2 deletions

View File

@ -57,4 +57,5 @@
<string name="menu_info">Info</string> <string name="menu_info">Info</string>
<string name="menu_debug">Debug</string> <string name="menu_debug">Debug</string>
<string name="choose_account_to_login">Choose account to login</string> <string name="choose_account_to_login">Choose account to login</string>
<string name="login_failed">Login failed.</string>
</resources> </resources>

View File

@ -85,8 +85,7 @@ public class DeviceAccountLogin implements AccountManagerCallback<Bundle> {
} }
private void onLoginFailed() { private void onLoginFailed() {
Toast.makeText(mActivity, "Login failed.", Toast.LENGTH_SHORT).show(); Toast.makeText(mActivity, R.string.login_failed, Toast.LENGTH_SHORT).show();
// TODO l10n
} }
private void startAuthentication() { private void startAuthentication() {