forked from len0rd/rockbox
new skin tag: %Sx|<english>| will display the current languages translation of the "<english>" string.
the <english> is the Source: bit in the .lang files. (must be exactly as it is there...) checkwps cannot verify that the string is correct so make sure to use the sim to verify the string is acurate. Also "fix" checkwps so %St|<setting>| can be accepted for the theme site git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22837 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ba8fbb0b9b
commit
340f32356a
6 changed files with 64 additions and 18 deletions
|
|
@ -27,4 +27,7 @@ void lang_init(void);
|
|||
/* load a given language file */
|
||||
int lang_load(const char *filename);
|
||||
|
||||
/* get the ID of an english string so it can be localised */
|
||||
int lang_english_to_id(const char* english);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue