Modify Updatelang to make it more error proof when trasnlation come from Transifex
This commit is contained in:
vecāks
32a38fe2dd
revīzija
449b6bda01
|
@ -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##/);
|
||||
|
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā