[wesnoth-commits] [wesnoth/wesnoth] f49cb6: gui2/addon_license_prompt: Fix missing translation...

Iris Morelle noreply at github.com
Thu Dec 10 07:56:09 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: f49cb62c7ca25a6d1e060d16694379073b104626
      https://github.com/wesnoth/wesnoth/commit/f49cb62c7ca25a6d1e060d16694379073b104626
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

  Changed paths:
    M data/gui/window/addon_license_prompt.cfg

  Log Message:
  -----------
  gui2/addon_license_prompt: Fix missing translation mark


  Commit: 1fa08d811ca962c05891e3b7e2de01cfc3318c6c
      https://github.com/wesnoth/wesnoth/commit/1fa08d811ca962c05891e3b7e2de01cfc3318c6c
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

  Changed paths:
    M src/addon/manager.cpp
    M src/addon/manager_ui.cpp
    M src/gui/dialogs/wml_error.cpp

  Log Message:
  -----------
  addon/mg: Make get_addon_install_info() unwrap the retrieved [info] WML

Since write_addon_install_info() (which was just added) automatically
wraps the input in the [info] envelope, it make sense to me to do the
inverse operation in get_addon_install_info() as well instead of
off-loading the responsibility onto the callers. The file in question
should never contain any useful information outside of the singular
[info] node anyway.

(Admittedly, this obsoletes the previous bugfix in
220792dd07b525c9b925c8fdb811b3661578dd64. On the other hand, it was
useful to have it in that form in 1.14 anyway to avoid any accidental
regressions.)


Compare: https://github.com/wesnoth/wesnoth/compare/4fa0ac63579d...1fa08d811ca9



More information about the Commits mailing list