mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-02 06:58:07 +00:00
Allow wesnoth.textdomain to be called with brackets
This commit is contained in:
parent
ab8469354c
commit
faf744aff3
@ -228,7 +228,7 @@ sub read_lua_file {
|
||||
next LINE if m/^\s*--/ and not defined $str and not m/--\s*wmlxgettext/;
|
||||
|
||||
# change the textdomain
|
||||
if (m/textdomain "([^"]+)"(.*)/) {
|
||||
if (m/textdomain\s*\(?\s*"([^"]+)"(.*)/) {
|
||||
$curdomain = $1;
|
||||
|
||||
# process rest of the line
|
||||
|
Loading…
x
Reference in New Issue
Block a user