<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39725 >
Marko Lindqvist wrote: > Messages meant for end-user should be translated. > Error messages meant for users are sent as message packets. LOG_ERROR is *never* meant for users, it is for developers. See HACKING: Messages and text in general which are shown in the GUI should be translated by using the "_()" macro. In addition freelog(LOG_NORMAL, ...) messages should be translated. The other loglevels (LOG_FATAL, LOG_ERROR, LOG_VERBOSE, LOG_DEBUG) should NOT be translated. See also http://freeciv.wikia.com/wiki/Internationalization > If user tries to load unavailable soundset, error message should be > translated > > - freelog(LOG_ERROR, _("Couldn't find soundset \"%s\" trying \"%s\"."), > + freelog(LOG_ERROR, "Couldn't find soundset \"%s\", trying \"%s\".", > soundset_name, soundset_default); > If a user tries to load an unavailable soundset, it is a bug in the selections dialog, and a developer problem! > Not sure if this also is response to user action (plugin selection): > > - freelog(LOG_ERROR, _("Plugin %s found but can't be initialized."), name); > + freelog(LOG_ERROR, "Plugin %s found, but can't be initialized.", name); > Again, a developer problem. No user remediation is possible. _______________________________________________ Freeciv-dev mailing list [email protected] https://mail.gna.org/listinfo/freeciv-dev
