summaryrefslogtreecommitdiffstats
path: root/apps/language.h
diff options
context:
space:
mode:
authorTom Ross <midgey@rockbox.org>2009-10-18 00:56:42 +0000
committerTom Ross <midgey@rockbox.org>2009-10-18 00:56:42 +0000
commitec2737b2c24ac442d2b9fcf0f0222becb456d8ce (patch)
treea375c87ad5236558ded8169e4065b24a377875fc /apps/language.h
parentbde02318035b9cad07a288b611f2b77fdf9cf1f8 (diff)
downloadrockbox-ec2737b2c24ac442d2b9fcf0f0222becb456d8ce.tar.gz
rockbox-ec2737b2c24ac442d2b9fcf0f0222becb456d8ce.tar.bz2
rockbox-ec2737b2c24ac442d2b9fcf0f0222becb456d8ce.zip
Change the .lng files to contain strings from multiple users. Still hard-coded to only output the core strings for now. Should be the majority of the core changes needed for translatable plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23241 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/language.h')
-rw-r--r--apps/language.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/language.h b/apps/language.h
index 4cfe2b22ce..cbfa7e2c1d 100644
--- a/apps/language.h
+++ b/apps/language.h
@@ -25,7 +25,12 @@
void lang_init(const unsigned char *builtin, unsigned char **dest, int count);
/* load a given language file */
-int lang_load(const char *filename);
+int lang_core_load(const char *filename);
+
+int lang_load(const char *filename, const unsigned char *builtin,
+ unsigned char **dest, unsigned char *buffer,
+ unsigned int user_num, int max_lang_size,
+ unsigned int max_id);
/* get the ID of an english string so it can be localised */
int lang_english_to_id(const char *english);