[wesnoth-commits] [wesnoth/wesnoth] e19d2a: 1.14 add-ons manager translated titles and descrip...
walodar
noreply at github.com
Mon Sep 7 19:23:27 UTC 2020
Branch: refs/heads/1.14
Home: https://github.com/wesnoth/wesnoth
Commit: e19d2ae1945e1d0c1504a78e2c6170ae0d852012
https://github.com/wesnoth/wesnoth/commit/e19d2ae1945e1d0c1504a78e2c6170ae0d852012
Author: walodar <58367382+walodar at users.noreply.github.com>
Date: 2020-09-07 (Mon, 07 Sep 2020)
Changed paths:
M src/addon/info.cpp
M src/gettext.hpp
M src/gettext_boost.cpp
Log Message:
-----------
1.14 add-ons manager translated titles and description also for System default language
Backport of pull-request #5109 from master to 1.14.
The nice new feature that allows translated add-on titles and descriptions in the add-ons manager works well when the language preference is explicitly set to some supported language, but not when "System default language" is selected, because this is represented by an empty string in language.hpp. This pull request fixes this by getting the effective locale (the actual translation target language) from gettext.
More information about the Commits
mailing list