[wesnoth-commits] [wesnoth/wesnoth] 23a037: Make failure loading textdomains non-fatal
Steve Cotton
noreply at github.com
Wed Jul 7 02:07:29 UTC 2021
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 23a0377b56d5455c08a741d1457a5cb92fd39091
https://github.com/wesnoth/wesnoth/commit/23a0377b56d5455c08a741d1457a5cb92fd39091
Author: Steve Cotton <steve at octalot.co.uk>
Date: 2021-07-07 (Wed, 07 Jul 2021)
Changed paths:
M src/gettext.cpp
Log Message:
-----------
Make failure loading textdomains non-fatal
Prior to this, if any .po file included a \v (vertical tab), then the game
exited before reaching the title screen. It didn't have to be in a mainline
translation - any add-on could break the game, and would do so before the title
screen appeared, thus preventing the user from using the add-on manager or
language selection to avoid the problem.
Instead, treat a parsing error similarly to the .po file simply not existing.
Fixes #5923.
More information about the Commits
mailing list