aboutsummaryrefslogtreecommitdiffstats
path: root/res/values/strings.xml
diff options
context:
space:
mode:
authorHasso Tepper <hasso.tepper@gmail.com>2013-07-11 08:59:44 +0300
committerjackmu95 <jacob.mueller.elz@gmail.com>2013-07-22 15:53:00 +0200
commit322a33abfcbcc4d0318c0532d17982088618ef31 (patch)
tree7fb5b9c9de6a10ed896e100bd8a48f8cc6b3e442 /res/values/strings.xml
parent5a5f2716caaebbfa5566be10c69fb0fe15c0bbcc (diff)
downloadandroid_packages_apps_CMFileManager-322a33abfcbcc4d0318c0532d17982088618ef31.tar.gz
android_packages_apps_CMFileManager-322a33abfcbcc4d0318c0532d17982088618ef31.tar.bz2
android_packages_apps_CMFileManager-322a33abfcbcc4d0318c0532d17982088618ef31.zip
CMFileManager: Make use of plurals correctly
* Make selection strings use of plurals allowing to translate these into languages where the logic of plurals is different than in English. * Rename some plurals as these are not used only in properties dialog any more. * Remove quantity="zero" cases from plurals as these are never used in English. * Remove now unused strings from translations and rename plurals. Change-Id: I8c07f1ba85b208d37626106e0e2f691468c1cbc4
Diffstat (limited to 'res/values/strings.xml')
-rw-r--r--res/values/strings.xml20
1 files changed, 5 insertions, 15 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 17790fb8..5c647229 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -592,21 +592,11 @@
<string name="filetime_format_mode_MMddyyyy_HHmmss">mm/dd/yyyy hh:mm:ss</string>
<string name="filetime_format_mode_yyyyMMdd_HHmmss">yyyy-mm-dd hh:mm:ss</string>
- <!-- Selection. All possibilities. [1 folder; >1 folders; 1 file; >1 files;
- >1 folders and 1 file; 1 folder and >1 files; >1 folders and >1 files]
- Avoid using plural item because is more complex to achieved all strings -->
- <string name="selection_one_folder"><xliff:g id="folders">%1$s</xliff:g> folder selected.</string>
- <string name="selection_other_folders"><xliff:g id="folders">%1$s</xliff:g> folders selected.</string>
- <string name="selection_one_file"><xliff:g id="files">%1$s</xliff:g> file selected.</string>
- <string name="selection_other_files"><xliff:g id="files">%1$s</xliff:g> files selected.</string>
- <string name="selection_one_folder_one_file"><xliff:g id="folders">%1$s</xliff:g> folder and
- <xliff:g id="files">%2$s</xliff:g> file selected.</string>
- <string name="selection_other_folders_one_file"><xliff:g id="folders">%1$s</xliff:g> folders and
- <xliff:g id="files">%2$s</xliff:g> file selected.</string>
- <string name="selection_one_folder_other_files"><xliff:g id="folder2">%1$s</xliff:g> folder and
- <xliff:g id="file2">%2$s</xliff:g> files selected.</string>
- <string name="selection_other_folders_other_files"><xliff:g id="folder2">%1$s</xliff:g> folders
- and <xliff:g id="files">%2$s</xliff:g> files selected.</string>
+ <!-- Selection. -->
+ <!-- For example "2 files selected." or "2 folders selected." -->
+ <string name="selection_folders_or_files"><xliff:g id="items">%1$s</xliff:g> selected.</string>
+ <!-- For example "2 folders and 1 file selected." -->
+ <string name="selection_folders_and_files"><xliff:g id="folders">%1$s</xliff:g> and <xliff:g id="files">%2$s</xliff:g> selected.</string>
<!-- Category descriptions -->
<string name="category_system">SYSTEM</string>