This commit is contained in:
ln-zookeeper 2016-03-07 00:20:06 +02:00
commit d3d63b6a4c

View file

@ -228,11 +228,11 @@ sub read_lua_file {
next LINE if m/^\s*--/ and not defined $str and not m/--\s*wmlxgettext/;
# change the textdomain
if (m/textdomain\s*\(?\s*"([^"]+)"(.*)/) {
$curdomain = $1;
if (m/textdomain\s*\(?\s*(["'])([^"]+)\g1(.*)/) {
$curdomain = $2;
# process rest of the line
$_ = $2 . "\n";
$_ = $3 . "\n";
redo LINE;
}