[wesnoth-commits] [wesnoth/wesnoth] eaa39d: Say what the error is when a broken .po file stops...

Steve Cotton noreply at github.com
Sun Jul 4 14:45:55 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: eaa39d653bc067d48449852cb480dff1c69b22ac
      https://github.com/wesnoth/wesnoth/commit/eaa39d653bc067d48449852cb480dff1c69b22ac
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-07-04 (Sun, 04 Jul 2021)

  Changed paths:
    M src/gettext.cpp

  Log Message:
  -----------
  Say what the error is when a broken .po file stops Wesnoth starting

Bug #5923 is that a broken .po file can make Wesnoth fail to start, not
even reaching the title screen. Additionally, the error message printed
to the console just said "*timestamp* error general:", and then missed
the details of what had broken.

This commit fixes the error message to show which add-on and which line
are causing the problem.





More information about the Commits mailing list