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

This commit is contained in:
Sébastien Lucas 2015-11-03 14:37:46 +01:00
förälder 32a38fe2dd
incheckning 449b6bda01
1 ändrade filer med 1 tillägg och 1 borttagningar

Visa fil

@ -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##/);