[wesnoth-commits] [wesnoth/wesnoth] 673c4d: gui2/text_box: Store hint text as a t_string

GitHub noreply at github.com
Mon Mar 26 06:16:47 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 673c4dc044869f8e084acbd4652f022018d5d0f9
      https://github.com/wesnoth/wesnoth/commit/673c4dc044869f8e084acbd4652f022018d5d0f9
  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: 9ea0b80a048c7939d660645a69853172ded312ed
      https://github.com/wesnoth/wesnoth/commit/9ea0b80a048c7939d660645a69853172ded312ed
  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/6b14662d6455...9ea0b80a048c


More information about the Commits mailing list