am 4a1565fd: am 5ab7ec71: Move a bare string to a resource.

Merge commit '4a1565fd7ec426ba4615aedeb3f2ddcb03ecac22' into kraken

* commit '4a1565fd7ec426ba4615aedeb3f2ddcb03ecac22':
  Move a bare string to a resource.
This commit is contained in:
Makoto Onuki 2010-04-30 11:29:32 -07:00 committed by Android Git Automerger
commit 0a06a1a683
2 changed files with 4 additions and 2 deletions

View File

@ -220,6 +220,8 @@
<string name="account_folder_list_summary_drafts">Drafts</string> <string name="account_folder_list_summary_drafts">Drafts</string>
<!-- The summary section entry in the AccountFolder list to display all outboxes --> <!-- The summary section entry in the AccountFolder list to display all outboxes -->
<string name="account_folder_list_summary_outbox">Outbox</string> <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 --> <!-- Title of the screen that shows a list of mailboxes for an account -->
<string name="mailbox_list_title">Mailbox</string> <string name="mailbox_list_title">Mailbox</string>

View File

@ -429,8 +429,8 @@ public class AccountFolderList extends ListActivity implements OnItemClickListen
if (accountId == -1) { if (accountId == -1) {
// TODO implement a suitable "Refresh all accounts" / "check mail" comment in Controller // TODO implement a suitable "Refresh all accounts" / "check mail" comment in Controller
// TODO this is temp // TODO this is temp
Toast.makeText(this, Toast.makeText(this, getString(R.string.account_folder_list_refresh_toast),
"Please longpress an account to refresh it", Toast.LENGTH_LONG).show(); Toast.LENGTH_LONG).show();
} else { } else {
mHandler.progress(true); mHandler.progress(true);
Controller.getInstance(getApplication()).updateMailboxList( Controller.getInstance(getApplication()).updateMailboxList(