summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2016-07-08 12:02:25 +0200
committerHaru <haru@dotalux.com>2016-07-10 16:12:34 +0200
commit97040210c9c80efb0fbb5fde1f17ab363f2fc94c (patch)
tree1ed90263dcb68213b540885ed7eb9d58403a60f6 /src/map/script.h
parent60def8c6941c988248aa0f47f49c78b0d141b7e5 (diff)
downloadhercules-97040210c9c80efb0fbb5fde1f17ab363f2fc94c.tar.gz
hercules-97040210c9c80efb0fbb5fde1f17ab363f2fc94c.tar.bz2
hercules-97040210c9c80efb0fbb5fde1f17ab363f2fc94c.tar.xz
hercules-97040210c9c80efb0fbb5fde1f17ab363f2fc94c.zip
HULD: Improved .po file parser to properly read concatenated strings
- For compliance with gettext's .po file specifications Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 4df8941b7..86cb20226 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -816,6 +816,7 @@ struct script_interface {
unsigned short (*mapindexname2id) (struct script_state *st, const char* name);
int (*string_dup) (char *str);
void (*load_translations) (void);
+ bool (*load_translation_addstring) (const char *file, uint8 lang_id, const char *msgctxt, const struct script_string_buf *msgid, const struct script_string_buf *msgstr);
int (*load_translation) (const char *file, uint8 lang_id);
int (*translation_db_destroyer) (union DBKey key, struct DBData *data, va_list ap);
void (*clear_translations) (bool reload);