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

Steve Cotton noreply at github.com
Sun Jul 4 20:55:48 UTC 2021


  Branch: refs/heads/1.16
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b4b0c73acbfd3a3694f6113bfedfd5113f016839
      https://github.com/wesnoth/wesnoth/commit/b4b0c73acbfd3a3694f6113bfedfd5113f016839
  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.

(cherry picked from commit eaa39d653bc067d48449852cb480dff1c69b22ac)





More information about the Commits mailing list