From 5ab7ec7123b5aa6bc9f8fd7e59d2cdf27d716ef5 Mon Sep 17 00:00:00 2001 From: Makoto Onuki Date: Thu, 29 Apr 2010 16:05:48 -0700 Subject: [PATCH] Move a bare string to a resource. Bug 2637666 Change-Id: I59cf5d2b30846604049d3f988b1003dd7d91ad6f --- res/values/strings.xml | 2 ++ src/com/android/email/activity/AccountFolderList.java | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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(