Browse Source

Modify Updatelang to make it more error proof when trasnlation come from Transifex

master
Sébastien Lucas 8 years ago
parent
commit
449b6bda01
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/updateLang.pl

+ 1
- 1
tools/updateLang.pl View File

@@ -67,7 +67,7 @@ sub handleLanguageFile {
my $content = loadFile ($file);
while ($content =~ /"(.*?)"\:"(.*?)",/igs) {
while ($content =~ /"(.*?)"\:\s*"(.*?)",/igs) {
my $key = $1;
my $value = $2;
next if ($key =~ /^##TODO##/);


Loading…
Cancel
Save