View Single Post
Old 02-09-2007, 05:03 AM   #29
mtas
Enthusiast
mtas doesn't littermtas doesn't litter
 
Posts: 42
Karma: 145
Join Date: Oct 2006
Device: iLiad
Quote:
Originally Posted by yokos
Thank you, mtas. This is working.
Your script was written for the English iLiad menu, so I changed the line "DIR=/usr/share/contentlister/mode/en" to get support for German [de], Nederlands [nl], & simplified Chinese [zh].
Here's a new and safer version of the script. This one checks what language that is used and uses a config file (new_order.txt) where the desired menu order can be defined.

Also, it adds some sanity checks such as verifying that all menu entries are defined in the config file. If the sanity check finds an error a log file named error_log.txt will be created.
Attached Files
File Type: zip reorder.zip (4.9 KB, 349 views)
mtas is offline   Reply With Quote