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:
parent
95e596c340
commit
9fbf346368
3 changed files with 19 additions and 20 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue