From 340f32356ae39ba0b2e6fb1a2a7967f2d02e1777 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sat, 26 Sep 2009 00:58:32 +0000 Subject: new skin tag: %Sx|| will display the current languages translation of the "" string. the 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|| can be accepted for the theme site git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22837 a1c6a512-1295-4272-9138-f99709370657 --- apps/language.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/language.h') 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); /* 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 -- cgit