Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#7319 - Language independant proper filename sorting

Attached to Project: Rockbox
Opened by Jonathan Gordon (jdgordon) - Saturday, 16 June 2007, 16:24 GMT+2
Last edited by Jonathan Gordon (jdgordon) - Wednesday, 01 August 2007, 16:04 GMT+2
Task Type Patches
Category Language
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

This patch adds a new string to the .lang file which is always added to the end of the LANG_ enum so it doesnt stuff up voice files.

LANG_ORDERING_STRING is used to specify the order for strings to be used in this language. To make things easy I put it at the top of english.lang, but it can be anywhere because it doesnt intefere with the order.

The downside to doing the patch this way is that users cannot configure the order easily, and also cannot easily mix alphabets.
   sort_order.patch (3.9 KiB)
 tools/genlang          |   16 +++++++++++++++-
 apps/misc.h            |    2 ++
 apps/lang/english.lang |   14 ++++++++++++++
 apps/filetree.c        |    4 ++--
 apps/misc.c            |   18 ++++++++++++++++++
 5 files changed, 51 insertions(+), 3 deletions(-)

This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Wednesday, 01 August 2007, 16:04 GMT+2
Reason for closing:  Rejected

Loading...