String fixes for the credential storage and vpn settings.
* Changes + Shorten the messages for both set-password and enter-password dialogs when other activities access the credential storage. Patch Set 2: + Fix the capital issue in the vpn error messages. + Add separate strings for terms used in the error messages. + Modify related src files that use those terms.
This commit is contained in:
@@ -70,9 +70,9 @@ public class AuthenticationActor implements VpnProfileActor {
|
||||
TextView passwordView = (TextView) d.findViewById(R.id.password_value);
|
||||
Context c = mContext;
|
||||
if (TextUtils.isEmpty(usernameView.getText().toString())) {
|
||||
return c.getString(R.string.vpn_username);
|
||||
return c.getString(R.string.vpn_a_username);
|
||||
} else if (TextUtils.isEmpty(passwordView.getText().toString())) {
|
||||
return c.getString(R.string.vpn_password);
|
||||
return c.getString(R.string.vpn_a_password);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user