Move a bare string to a resource.

Bug 2637666

Change-Id: I59cf5d2b30846604049d3f988b1003dd7d91ad6f
This commit is contained in:
Makoto Onuki 2010-04-29 16:05:48 -07:00
parent f2d43c39b4
commit 5ab7ec7123
2 changed files with 4 additions and 2 deletions

View File

@ -220,6 +220,8 @@
<string name="account_folder_list_summary_drafts">Drafts</string>
<!-- The summary section entry in the AccountFolder list to display all outboxes -->
<string name="account_folder_list_summary_outbox">Outbox</string>
<!-- Toast that appears when you select "Refresh" menu option -->
<string name="account_folder_list_refresh_toast">Please longpress an account to refresh it</string>
<!-- Title of the screen that shows a list of mailboxes for an account -->
<string name="mailbox_list_title">Mailbox</string>

View File

@ -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(