diff --git a/res/values/strings.xml b/res/values/strings.xml index 52f46f5f5..c51b874fc 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -220,6 +220,8 @@ Drafts Outbox + + Please longpress an account to refresh it Mailbox diff --git a/src/com/android/email/activity/AccountFolderList.java b/src/com/android/email/activity/AccountFolderList.java index a6c23d745..f1c2be6d7 100644 --- a/src/com/android/email/activity/AccountFolderList.java +++ b/src/com/android/email/activity/AccountFolderList.java @@ -429,8 +429,8 @@ public class AccountFolderList extends ListActivity implements OnItemClickListen if (accountId == -1) { // TODO implement a suitable "Refresh all accounts" / "check mail" comment in Controller // TODO this is temp - Toast.makeText(this, - "Please longpress an account to refresh it", Toast.LENGTH_LONG).show(); + Toast.makeText(this, getString(R.string.account_folder_list_refresh_toast), + Toast.LENGTH_LONG).show(); } else { mHandler.progress(true); Controller.getInstance(getApplication()).updateMailboxList(