summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorClark Scheff <clark@cyngn.com>2014-08-25 09:38:26 -0700
committerClark Scheff <clark@cyngn.com>2014-08-25 09:55:44 -0700
commit09b5b00e2f8952630f799cef5854b87ca223eea9 (patch)
treee2505c3c69927a51675a7d79dd6b922e2023f02f /res
parent12d5cf211d9a5246258a05d9097824b62df12399 (diff)
downloadpackages_apps_ThemeChooser-09b5b00e2f8952630f799cef5854b87ca223eea9.zip
packages_apps_ThemeChooser-09b5b00e2f8952630f799cef5854b87ca223eea9.tar.gz
packages_apps_ThemeChooser-09b5b00e2f8952630f799cef5854b87ca223eea9.tar.bz2
Collapse notifications when multiple themes installed
Rather than flood the users notification drawer with every theme installed, we can consolidate theme into one notification if more than one theme was recently installed. This will come in handy when people restore backups from google play and all their themes are installed. Change-Id: I00c676769115a1cf44b22a138b32287c3794b9ca
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 9c57cae..b4d1c17 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -25,6 +25,13 @@
<string name="theme_installed_notification_title">%s installed</string>
<string name="theme_installed_notification_text">Theme successfully installed.</string>
+ <!-- Note: These two are for "themes", meaning multiple themes -->
+ <string name="themes_installed_notification_title">%d themes installed</string>
+ <plurals name="themes_installed_notification_text">
+ <item quantity="one">%1$s and %2$d other installed.</item>
+ <item quantity="other">%1$s and %2$d others installed.</item>
+ </plurals>
+
<string name="status_bar_clock_text" translatable="false">5:30</string>
<string name="status_bar">Status bar</string>
<string name="navigation_bar">Navigation bar</string>