Author: cazfi Date: Wed Nov 18 20:19:34 2015 New Revision: 30675 URL: http://svn.gna.org/viewcvs/freeciv?rev=30675&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: branches/S2_6/tools/ruledit/ruledit.cpp Modified: branches/S2_6/tools/ruledit/ruledit.cpp URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/tools/ruledit/ruledit.cpp?rev=30675&r1=30674&r2=30675&view=diff ============================================================================== --- branches/S2_6/tools/ruledit/ruledit.cpp (original) +++ branches/S2_6/tools/ruledit/ruledit.cpp Wed Nov 18 20:19:34 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