From 449b6bda01e50f50542ac7d2016452bb490e4893 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Tue, 3 Nov 2015 14:37:46 +0100 Subject: [PATCH] Modify Updatelang to make it more error proof when trasnlation come from Transifex --- tools/updateLang.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/updateLang.pl b/tools/updateLang.pl index efac02e..db4a575 100644 --- a/tools/updateLang.pl +++ b/tools/updateLang.pl @@ -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##/);