Author: cazfi Date: Wed Nov 18 20:19:28 2015 New Revision: 30674 URL: http://svn.gna.org/viewcvs/freeciv?rev=30674&view=rev Log: Use fc_fprintf() to print out the error message before logging is available, fetch translation from ruledit domain.
See bug #24091 Modified: trunk/tools/ruledit/ruledit.cpp Modified: trunk/tools/ruledit/ruledit.cpp URL: http://svn.gna.org/viewcvs/freeciv/trunk/tools/ruledit/ruledit.cpp?rev=30674&r1=30673&r2=30674&view=diff ============================================================================== --- trunk/tools/ruledit/ruledit.cpp (original) +++ trunk/tools/ruledit/ruledit.cpp Wed Nov 18 20:19:28 2015 @@ -148,7 +148,7 @@ exit(EXIT_SUCCESS); } else if ((option = get_option_malloc("--ruleset", argv, &i, argc))) { if (reargs.ruleset) { - log_error(_("Can only edit one ruleset at a time.")); + fc_fprintf(stderr, R__("Can only edit one ruleset at a time.\n")); } else { reargs.ruleset = option; } _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits