diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-09-26 00:58:32 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-09-26 00:58:32 +0000 |
commit | 340f32356ae39ba0b2e6fb1a2a7967f2d02e1777 (patch) | |
tree | 9165593d0c818ed8bcd637fd8c36cfe68f7f8446 /apps/language.h | |
parent | ba8fbb0b9bb8db9f654b0120809e343516c02531 (diff) | |
download | rockbox-340f32356ae39ba0b2e6fb1a2a7967f2d02e1777.tar.gz rockbox-340f32356ae39ba0b2e6fb1a2a7967f2d02e1777.zip |
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
Diffstat (limited to 'apps/language.h')
-rw-r--r-- | apps/language.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/language.h b/apps/language.h index a35387cf49..06769a3dd9 100644 --- a/apps/language.h +++ b/apps/language.h | |||
@@ -27,4 +27,7 @@ void lang_init(void); | |||
27 | /* load a given language file */ | 27 | /* load a given language file */ |
28 | int lang_load(const char *filename); | 28 | int lang_load(const char *filename); |
29 | 29 | ||
30 | /* get the ID of an english string so it can be localised */ | ||
31 | int lang_english_to_id(const char* english); | ||
32 | |||
30 | #endif | 33 | #endif |