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:
Hung-ying Tyan
2009-07-07 10:35:45 +08:00
parent 0a59b50014
commit 33ababd1bd
6 changed files with 21 additions and 20 deletions

View File

@@ -85,10 +85,10 @@ class VpnProfileEditor {
* null if all the inputs are valid
*/
public String validate() {
String result = validate(mName, R.string.vpn_name);
String result = validate(mName, R.string.vpn_a_name);
return ((result != null)
? result
: validate(mServerName, R.string.vpn_vpn_server));
: validate(mServerName, R.string.vpn_a_vpn_server));
}
/**