mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
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
This commit is contained in:
parent
e6c023cb64
commit
d13f1a485f
10 changed files with 332 additions and 17 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue