summaryrefslogtreecommitdiffstats
path: root/quickstep/res/values/strings.xml
diff options
context:
space:
mode:
authorvadimt <vadimt@google.com>2019-01-14 14:41:29 -0800
committervadimt <vadimt@google.com>2019-01-17 12:57:02 -0800
commit759db43f3b96075163c233149e2e9aa8f2923107 (patch)
tree899b2b42214169d4d0d98a13f3875bf1628459c4 /quickstep/res/values/strings.xml
parentff9571b30f75c8575e441c5fb2e4211662dc7494 (diff)
downloadandroid_packages_apps_Trebuchet-759db43f3b96075163c233149e2e9aa8f2923107.tar.gz
android_packages_apps_Trebuchet-759db43f3b96075163c233149e2e9aa8f2923107.tar.bz2
android_packages_apps_Trebuchet-759db43f3b96075163c233149e2e9aa8f2923107.zip
Implementing available part of UX spec for DW toast
See https://docs.google.com/presentation/d/1AepsnLeKcRhjMW35SkB5yMKO3u6waigug8Tyfe0LO5o/edit#slide=id.g4c5ab81849_0_0 Also using time formatting code copy-pasted from Google DWB app. Bug: 118319143 Tests: Manual Change-Id: I84392d7655f402e38cf4c46ae530d06f755a7df8
Diffstat (limited to 'quickstep/res/values/strings.xml')
-rw-r--r--quickstep/res/values/strings.xml22
1 files changed, 21 insertions, 1 deletions
diff --git a/quickstep/res/values/strings.xml b/quickstep/res/values/strings.xml
index 08132aa55..7c4795694 100644
--- a/quickstep/res/values/strings.xml
+++ b/quickstep/res/values/strings.xml
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-->
-<resources>
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Application name -->
<string name="derived_app_name" translatable="false">Quickstep</string>
@@ -46,4 +46,24 @@
<!-- Accessibility title for the list of recent apps [CHAR_LIMIT=none] -->
<string name="accessibility_recent_apps">Recent apps</string>
+
+ <!-- Accessibility title for an app card in Recents for apps that have time limit set
+ [CHAR_LIMIT=none] -->
+ <string name="task_contents_description_with_remaining_time"><xliff:g id="task_description" example="GMail">%1$s</xliff:g>, <xliff:g id="remaining_time" example="7 minutes left today">%2$s</xliff:g></string>
+
+ <!-- Text to show total app usage per day if it is less than 1 minute ("&lt;" is the
+ escaped form of '<'). [CHAR LIMIT=10] -->
+ <string name="shorter_duration_less_than_one_minute">&lt; 1 minute</string>
+
+ <!-- Annotation shown on an app card in Recents, telling that the app was switched to a
+ grayscale because it ran over its time limit [CHAR LIMIT=25] -->
+ <string name="app_in_grayscale">App in grayscale</string>
+
+ <!-- Annotation shown on an app card in Recents, telling that the app has a usage limit set by
+ the user, and a given time is left for it today [CHAR LIMIT=20] -->
+ <string name="time_left_for_app"><xliff:g id="time" example="7 minutes">%1$s</xliff:g> left today</string>
+
+ <!-- Annotation shown on an app card in Recents, telling that the app is in a group that has a
+ usage limit set by the user, and a given time is left for the group today [CHAR LIMIT=20] -->
+ <string name="time_left_for_group"><xliff:g id="time" example="1 hour">%1$s</xliff:g> left for group</string>
</resources> \ No newline at end of file