From 97994f1b9bc9cb6cbf2fa303ea21f39351de1342 Mon Sep 17 00:00:00 2001 From: Daniel Sandler Date: Tue, 20 Apr 2010 16:51:49 -0400 Subject: Reorganized tip strings so they can be more easily localized. The previous structure made it difficult to provide coherent comments for translators. It was also unnecessarily difficult to add/remove tips. Added comments to all localizable strings. Also, removed two tips deemed to be overkill. This is now (hopefully) the final set of tips. Finally, store the current tip in SharedPreferences so that the widget doesn't always reset to tip 0 every time Launcher restarts (important on low-memory devices). Bug: 2559083 (tracking the overall feature) Change-Id: I86a29a4e8e1059e7fe2ff6792bbc4e3277951fa2 --- res/values/arrays.xml | 59 +++++++++++++++++++++++++++++++++++--------------- res/values/strings.xml | 5 +++++ 2 files changed, 46 insertions(+), 18 deletions(-) (limited to 'res') diff --git a/res/values/arrays.xml b/res/values/arrays.xml index 96a7041..8363059 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -1,23 +1,46 @@ - - See all your apps. - Add items to your Home screen. - Rearrange your Home screen. - Remove items. - Multiple Home screens. - See notifications. - Configure your phone. - Done with this widget? - + - Touch the Launcher icon. @drawable/all_apps - Touch & hold an empty spot to add shortcuts or widgets. - Touch & hold an item and when it vibrates, drag it where you want. - Touch & hold an item and when it vibrates, drag it to the Trash icon. @drawable/trash - Swipe left or right to switch. Drag items to other screens. - Drag the Status bar down from the top of the screen. - Press the Menu button and touch Settings. - Touch & hold it and when it vibrates, drag it to the Trash icon. + + See all your apps.\n + Touch the Launcher icon. @drawable/all_apps + + + Add items to your Home screen.\n + Touch & hold an empty spot to add shortcuts or widgets. + + + Rearrange your Home screen.\n + Touch & hold an item and when it vibrates, drag it where you want. + + + Remove items.\n + Touch & hold an item and when it vibrates, drag it to the Trash icon. @drawable/trash + + + Multiple Home screens.\n + Swipe left or right to switch. Drag items to other screens. + + + Done with this widget?\n + Touch & hold it and when it vibrates, drag it to the Trash icon. diff --git a/res/values/strings.xml b/res/values/strings.xml index 479f6a3..e56dfe4 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -15,6 +15,11 @@ --> + Home screen tips + %1$d of %2$d -- cgit v1.2.3