diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-25 22:07:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-25 22:07:46 +0300 |
commit | 5f4c452cdf22f5625b61004ed0e92816b0175ea1 (patch) | |
tree | 1b766d21645ff064e57e366d807497f58d4f0a2d /src/map/map.c | |
parent | 98da34f0c6785a4227efa0f6718a7453e2991202 (diff) | |
parent | a8590a0b235ce48320d428a184181c1e93267cd6 (diff) | |
download | hercules-5f4c452cdf22f5625b61004ed0e92816b0175ea1.tar.gz hercules-5f4c452cdf22f5625b61004ed0e92816b0175ea1.tar.bz2 hercules-5f4c452cdf22f5625b61004ed0e92816b0175ea1.tar.xz hercules-5f4c452cdf22f5625b61004ed0e92816b0175ea1.zip |
Merge pull request #1292 from HerculesWS/huld-improvements
HULD improvements
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/map/map.c b/src/map/map.c index 3a7d752c3..779f8d601 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -6002,22 +6002,6 @@ static CMDLINEARG(loadscript) } /** - * --generate-translations - * - * Creates "./generated_translations.pot" - * @see cmdline->exec - **/ -static CMDLINEARG(generatetranslations) { - script->lang_export_file = aStrdup("./generated_translations.pot"); - - if( !(script->lang_export_fp = fopen(script->lang_export_file,"wb")) ) { - ShowError("export-dialog: failed to open '%s' for writing\n",script->lang_export_file); - } - core->runflag = CORE_ST_STOP; - return true; -} - -/** * Defines the local command line arguments */ void cmdline_args_init_local(void) @@ -6033,7 +6017,6 @@ void cmdline_args_init_local(void) CMDLINEARG_DEF2(log-config, logconfig, "Alternative logging configuration.", CMDLINE_OPT_NORMAL|CMDLINE_OPT_PARAM); CMDLINEARG_DEF2(script-check, scriptcheck, "Doesn't run the server, only tests the scripts passed through --load-script.", CMDLINE_OPT_SILENT); CMDLINEARG_DEF2(load-script, loadscript, "Loads an additional script (can be repeated).", CMDLINE_OPT_NORMAL|CMDLINE_OPT_PARAM); - CMDLINEARG_DEF2(generate-translations, generatetranslations, "Creates './generated_translations.pot' file with all translateable strings from scripts, server terminates afterwards.", CMDLINE_OPT_NORMAL); } int do_init(int argc, char *argv[]) |