1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Tom Ross 2009-10-17 06:07:50 +00:00
parent 95e596c340
commit 9fbf346368
3 changed files with 19 additions and 20 deletions

View file

@ -22,13 +22,13 @@
****************************************************************************/
/* Initialize language array with the builtin strings */
void lang_init(void);
void lang_init(const unsigned char *builtin, unsigned char **dest, int count);
/* 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);
int lang_english_to_id(const char *english);
/* returns whether the loaded language is a right-to-left language */
int lang_is_rtl(void);