mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-11 20:15:03 -05:00
Changed two hardcoded strings to xml values.
This commit is contained in:
parent
f494108dc6
commit
9cd9930a5c
@ -348,6 +348,8 @@ http://k9mail.googlecode.com/
|
||||
|
||||
<string name="account_setup_basics_title">Set up a new account</string>
|
||||
<string name="account_setup_basics_other_acount">Other account</string>
|
||||
<string name="account_setup_dialog_enter_password">Enter the password for the this account: </string>
|
||||
<string name="account_setup_dialog_new_title">Setup a new account</string>
|
||||
<string name="accounts_setup_help">
|
||||
Select an account here to setup, press menu to load more backup files or create an new account.
|
||||
</string>
|
||||
|
@ -114,7 +114,7 @@ public class AccountSetupIndex extends K9ListActivity implements OnItemClickList
|
||||
switch(dialog_id){
|
||||
case DIALOG_NEW_ACCOUNT:
|
||||
dialog.setContentView(R.layout.account_dialog_new);
|
||||
dialog.setTitle("Setup a new account.");
|
||||
dialog.setTitle(R.string.account_setup_dialog_new_title);
|
||||
|
||||
final EditText emailField = ((EditText)dialog.findViewById(R.id.account_dialog_address_field));
|
||||
final EditText passwordField = ((EditText)dialog.findViewById(R.id.account_dialog_password_field));
|
||||
@ -155,9 +155,8 @@ public class AccountSetupIndex extends K9ListActivity implements OnItemClickList
|
||||
switch(id){
|
||||
case DIALOG_DEVICE_ACCOUNT:
|
||||
case DIALOG_BACKUP_ACCOUNT:
|
||||
((TextView)dialog.findViewById(R.id.account_dialog_password_help)).setText
|
||||
//("Enter the password for the '" + args.get(BUNDLE_TYPE_SUGGESTION) + "' account: ");
|
||||
("Enter the password for the this account: ");
|
||||
((TextView)dialog.findViewById(R.id.account_dialog_password_help))
|
||||
.setText(R.string.account_setup_dialog_enter_password);
|
||||
|
||||
final EditText passwordField = ((EditText) dialog.findViewById(R.id.account_dialog_password_field));
|
||||
final CheckBox manualCheck = (CheckBox)dialog.findViewById(R.id.account_dialog_manual_box);
|
||||
|
Loading…
Reference in New Issue
Block a user