[wesnoth-commits] [wesnoth/wesnoth] eacbc5: gui2/text_box: Store hint text as a t_string
GitHub
noreply at github.com
Mon Mar 26 06:16:49 UTC 2018
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: eacbc5f6959f57ff05451a2874a8e494ac3cb8db
https://github.com/wesnoth/wesnoth/commit/eacbc5f6959f57ff05451a2874a8e494ac3cb8db
Author: Iris Morelle <shadowm at wesnoth.org>
Date: 2018-03-26 (Mon, 26 Mar 2018)
Changed paths:
M src/gui/widgets/text_box.cpp
M src/gui/widgets/text_box.hpp
Log Message:
-----------
gui2/text_box: Store hint text as a t_string
Storing it in a regular string results in issues with the game getting
stuck with the translation for the locale that was set during GUI2
initialization and not reflecting changes when switching languages later
on.
Commit: 56e7b01ac4cdfd6cf51c36cc7bf1cac33391cc58
https://github.com/wesnoth/wesnoth/commit/56e7b01ac4cdfd6cf51c36cc7bf1cac33391cc58
Author: Iris Morelle <shadowm at wesnoth.org>
Date: 2018-03-26 (Mon, 26 Mar 2018)
Changed paths:
M src/synced_commands.cpp
Log Message:
-----------
Refactor synced debug commands prompt to bring the string count down to 2
Otherwise there are too many repetitive strings for translators to work
with, which is rather unfair for an exception like this during the 1.14
RC phase. It also makes for better code.
Also added an article "The" at the start of the strings for :command
notifications.
Compare: https://github.com/wesnoth/wesnoth/compare/49ecb08338be...56e7b01ac4cd
More information about the Commits
mailing list