Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/wesnoth/wesnoth
Browse files Browse the repository at this point in the history
  • Loading branch information
ln-zookeeper committed Mar 6, 2016
2 parents 20b5e84 + 5bd0466 commit d3d63b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/wmlxgettext
Expand Up @@ -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;
}

Expand Down

0 comments on commit d3d63b6

Please sign in to comment.