diff options
author | Tom Ross <midgey@rockbox.org> | 2009-10-17 06:07:50 +0000 |
---|---|---|
committer | Tom Ross <midgey@rockbox.org> | 2009-10-17 06:07:50 +0000 |
commit | 9fbf346368cea28f7f60a0edc1d493037e7c3e19 (patch) | |
tree | 5fbb2f5e1faacd78360fbe34e58f162ad67d6c4b /apps/language.h | |
parent | 95e596c3403de250c717c303128b4078e8a205fc (diff) | |
download | rockbox-9fbf346368cea28f7f60a0edc1d493037e7c3e19.tar.gz rockbox-9fbf346368cea28f7f60a0edc1d493037e7c3e19.zip |
Change lang_init() to take a source, destination, and count. Needed for translatable plugins. Minor stylist changes as well.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23221 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/language.h')
-rw-r--r-- | apps/language.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/language.h b/apps/language.h index c2a1b70e18..4cfe2b22ce 100644 --- a/apps/language.h +++ b/apps/language.h | |||
@@ -22,13 +22,13 @@ | |||
22 | ****************************************************************************/ | 22 | ****************************************************************************/ |
23 | 23 | ||
24 | /* Initialize language array with the builtin strings */ | 24 | /* Initialize language array with the builtin strings */ |
25 | void lang_init(void); | 25 | void lang_init(const unsigned char *builtin, unsigned char **dest, int count); |
26 | 26 | ||
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 */ | 30 | /* get the ID of an english string so it can be localised */ |
31 | int lang_english_to_id(const char* english); | 31 | int lang_english_to_id(const char *english); |
32 | 32 | ||
33 | /* returns whether the loaded language is a right-to-left language */ | 33 | /* returns whether the loaded language is a right-to-left language */ |
34 | int lang_is_rtl(void); | 34 | int lang_is_rtl(void); |