diff options
author | Haru <haru@dotalux.com> | 2016-05-17 01:19:35 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-06-25 17:29:47 +0200 |
commit | 6ff6b99d6665a387d83018f39dbf88f150338711 (patch) | |
tree | d318b0089d6ed64d3841a4d1be9cb86dea594432 /src/map/atcommand.c | |
parent | d442d4c5beca900865c5f323486818ae9ef42d89 (diff) | |
download | hercules-6ff6b99d6665a387d83018f39dbf88f150338711.tar.gz hercules-6ff6b99d6665a387d83018f39dbf88f150338711.tar.bz2 hercules-6ff6b99d6665a387d83018f39dbf88f150338711.tar.xz hercules-6ff6b99d6665a387d83018f39dbf88f150338711.zip |
Moved translations template generator to a plugin
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 841cf855d..094e64e2a 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -132,7 +132,6 @@ bool msg_config_read(const char *cfg_name, bool allow_override) { int msg_number; char line[1024], w1[1024], w2[1024]; FILE *fp; - static int called = 1; nullpo_retr(false, cfg_name); if ((fp = fopen(cfg_name, "r")) == NULL) { @@ -170,21 +169,6 @@ bool msg_config_read(const char *cfg_name, bool allow_override) { } fclose(fp); - if( ++called == 1 ) { //Original - if( script->lang_export_fp ) { - int i; - for(i = 0; i < MAX_MSG;i++) { - if( atcommand->msg_table[0][i] != NULL ) { - fprintf(script->lang_export_fp, "msgctxt \"messages.conf\"\n" - "msgid \"%s\"\n" - "msgstr \"\"\n", - atcommand->msg_table[0][i] - ); - } - } - } - } - return true; } |