From 97040210c9c80efb0fbb5fde1f17ab363f2fc94c Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 8 Jul 2016 12:02:25 +0200 Subject: HULD: Improved .po file parser to properly read concatenated strings - For compliance with gettext's .po file specifications Signed-off-by: Haru --- src/map/script.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/script.h') 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); -- cgit v1.2.3-60-g2f50