diff options
author | Michael W <baddaemon87@gmail.com> | 2018-02-21 22:36:23 +0100 |
---|---|---|
committer | Bruno Martins <bgcngm@gmail.com> | 2018-11-20 12:32:17 +0000 |
commit | 873c11a8e3ef2fff9c957812f8600c524d1b39ce (patch) | |
tree | 3d1c3c50d2a5d17b08c1de7204a31b2abf2d9f75 /res | |
parent | b4971f841465e322daefb5f0f0d50fe3b824d793 (diff) | |
download | android_packages_apps_Snap-873c11a8e3ef2fff9c957812f8600c524d1b39ce.tar.gz android_packages_apps_Snap-873c11a8e3ef2fff9c957812f8600c524d1b39ce.tar.bz2 android_packages_apps_Snap-873c11a8e3ef2fff9c957812f8600c524d1b39ce.zip |
Snap: Convert "save best" dialog text to a quantity string
* Saving 1 vs saving several can be a different string in other languages
(e.g. German: "1 von 10 Bildern wird gespeichert[...]"
vs "2 von 10 Bildern werden gespeichert[...]")
* Also fixes a missing "be" in the source string ("will _be_ deleted")
Change-Id: I0f0a91fa3cd1abe17c9d3eef453c4ed706a6fb25
Diffstat (limited to 'res')
-rw-r--r-- | res/values/strings.xml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index bcf20bf44..f57919372 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -709,11 +709,20 @@ CHAR LIMIT = NONE] --> <string name="pref_camera2_restore_default">Restore defaults</string> <string name="pref_camera2_restore_default_hint">Camera settings will be restored to default settings</string> - <string name="save_best_dialog_content">%1$d of 10 images will be saved and the rest will deleted.</string> + <plurals name="save_best_dialog_content"> + <item quantity="one">%1$d of 10 images will be saved and the rest will be deleted</item> + <item quantity="other">%1$d of 10 images will be saved and the rest will be deleted</item> + </plurals> + <string name="save_best_dialog_title">Save selected images?</string> <string name="save_best_dialog_positive_bt">OK</string> <string name="save_best_dialog_native_bt">Cancel</string> - <string name="save_best_image_toast">%1$d of 10 images saved.</string> + + <plurals name="save_best_image_toast"> + <item quantity="one">%1$d of 10 images saved.</item> + <item quantity="other">%1$d of 10 images saved.</item> + </plurals> + <string name="dialog_do_not_show">Do not show again</string> <string name="delete_best_dialog_title">Delete all?</string> <string name="delete_best_dialog_content">Are you sure you want to delete all 10 pictures taken?</string> |