mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
[Feature] Skin engine Themes grab text from a file %ft(file, line)
allow the skin engine to read text files and return a particular line you then can use ss on that string to allow display of strings from the file (Playername comes to mind) able to be used as conditional %?ft(filename)<Found|Not Found> if (selected) line of file is empty the tag is treated as #COMMENT bugfix: %t(n)%?x<text|text> would ignore the specified timeout defaulting to 2 seconds bugfix: cabbiev2.128x160x16.wps was missing %Sx() for translation on 'Next Track:' playername.txt generated at boot if it doesn't exist contents: 'Rockbox!' Change-Id: I04ea4fd411f74c7c6e672657949aa520c2f86f95
This commit is contained in:
parent
876e8c1305
commit
eb3e5eb2bf
8 changed files with 122 additions and 8 deletions
|
@ -55,7 +55,7 @@
|
|||
%s%ac%?it<%it|%fn>
|
||||
%s%ac%?ia<%ia|%?iA<%iA|%?d(2)<%d(2)|%(root%)>>>
|
||||
|
||||
%s%acNext Track:
|
||||
%s%ac%Sx(Next Track:)
|
||||
%s%ac%?It<%It|%Fn>
|
||||
|
||||
#Time and Playlist Info
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue