Modify Updatelang to make it more error proof when trasnlation come from Transifex
This commit is contained in:
父節點
32a38fe2dd
當前提交
449b6bda01
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
|
@ -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##/);
|
||||
|
|
載入中…
Add table
Add a link
Reference in a new issue