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

Merge commit '5ab7ec7123b5aa6bc9f8fd7e59d2cdf27d716ef5' into froyo-plus-aosp

* commit '5ab7ec7123b5aa6bc9f8fd7e59d2cdf27d716ef5':
  Move a bare string to a resource.
This commit is contained in:
Makoto Onuki 2010-04-30 11:22:55 -07:00 committed by Android Git Automerger
commit 4a1565fd7e
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(