Follow-up Comment #3, patch #1154 (project wesnoth):

I've addressed the first problem for below, bringing all handling of
localized images to image.cpp (and thus to libwesnoth-game), removing any
changes to filesystem.cpp. (This removes the possibility of any other
localized resource but images, but such need is of small likelyhood anyway.)
This required making logo image on loading screens also be fetched by
image::get_image(), instead of raw get_binary_file_location(). And in the
meantime I've noticed that the language got initialized just after the first
loading screen, so corrected the order in game.cpp.

This leaves the second part of removing the use of "language for..." message,
that of trying to mimic the language resolution of Gettext based on system or
internally set locale, with possible inconsistencies over setups and
platforms as I mentioned in previous message. So I'd still go with the
"language for..." message, which is now at least not repeated at two places
in the code. Acceptable, or back to the drawing board? :)


(file #5591)
    _______________________________________________________

Additional Item Attachment:

File name: wesnoth-loc-img-07.diff        Size:4 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1154>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to