summaryrefslogtreecommitdiff
path: root/apps/lang
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-03-01 17:55:59 +0000
committerThomas Martitz <kugel@rockbox.org>2009-03-01 17:55:59 +0000
commitd13f1a485f0e35a6fbbd0a664f14acc3798d52a0 (patch)
tree22cacb27b6ab481c0bfc250120dde404320811f2 /apps/lang
parente6c023cb64dea599bb711b2b4ddb197efdb1d187 (diff)
Commit FS#8314. This adds strnat[case]cmp written by Martin Pool, which respects numbers within strings, and gives a more intuitive
sorting. This also adds a setting, so that the sorting can be used in the file browser. The implementation is very generic, and can possibly be used in other places. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20155 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/lang')
-rw-r--r--apps/lang/deutsch.lang42
-rw-r--r--apps/lang/english.lang42
2 files changed, 84 insertions, 0 deletions
diff --git a/apps/lang/deutsch.lang b/apps/lang/deutsch.lang
index 6654688e6c..bc91c81c68 100644
--- a/apps/lang/deutsch.lang
+++ b/apps/lang/deutsch.lang
@@ -12187,3 +12187,45 @@
quickscreen: ""
</voice>
</phrase>
+<phrase>
+ id: LANG_SORT_INTERPRET_NUMBERS
+ desc: in Settings -> File view
+ user:
+ <source>
+ *: "Interpret numbers when sorting"
+ </source>
+ <dest>
+ *: "Zahlen beim Sortieren interpretieren"
+ </dest>
+ <voice>
+ *: "Zahlen beim Sortieren interpretieren"
+ </voice>
+</phrase>
+<phrase>
+ id: LANG_SORT_INTERPRET_AS_DIGIT
+ desc: in Settings -> File view
+ user:
+ <source>
+ *: "As digits"
+ </source>
+ <dest>
+ *: "als Ziffern"
+ </dest>
+ <voice>
+ *: "als Ziffern"
+ </voice>
+</phrase>
+<phrase>
+ id: LANG_SORT_INTERPRET_AS_NUMBERS
+ desc: in Settings -> File view
+ user:
+ <source>
+ *: "As whole numbers"
+ </source>
+ <dest>
+ *: "als komplette Zahlen"
+ </dest>
+ <voice>
+ *: "als komplette Zahlen"
+ </voice>
+</phrase>
diff --git a/apps/lang/english.lang b/apps/lang/english.lang
index a335ad179e..25cab34430 100644
--- a/apps/lang/english.lang
+++ b/apps/lang/english.lang
@@ -12359,3 +12359,45 @@
*: "Credits"
</voice>
</phrase>
+<phrase>
+ id: LANG_SORT_INTERPRET_NUMBERS
+ desc: in Settings -> File view
+ user:
+ <source>
+ *: "Interpret numbers when sorting"
+ </source>
+ <dest>
+ *: "Interpret numbers when sorting"
+ </dest>
+ <voice>
+ *: "Interpret numbers when sorting"
+ </voice>
+</phrase>
+<phrase>
+ id: LANG_SORT_INTERPRET_AS_DIGIT
+ desc: in Settings -> File view
+ user:
+ <source>
+ *: "As digits"
+ </source>
+ <dest>
+ *: "As digits"
+ </dest>
+ <voice>
+ *: "As digits"
+ </voice>
+</phrase>
+<phrase>
+ id: LANG_SORT_INTERPRET_AS_NUMBERS
+ desc: in Settings -> File view
+ user:
+ <source>
+ *: "As whole numbers"
+ </source>
+ <dest>
+ *: "As whole numbers"
+ </dest>
+ <voice>
+ *: "As whole numbers"
+ </voice>
+</phrase>