Kaynağa Gözat

Allow spaces in lang.txt

Morten Brix Pedersen 25 yıl önce
ebeveyn
işleme
f7fa433cf9
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      pisg.pl

+ 1 - 1
pisg.pl

@@ -1915,7 +1915,7 @@ sub get_language_templates
             $current_lang = '';
             $current_lang = '';
         }
         }
         
         
-        elsif ($line =~ /(\w+) = "(.*)"$/ && $current_lang ne '') {
+        elsif ($line =~ /(\w+)\s+=\s+"(.*)"\s*$/ && $current_lang ne '') {
             $T{$current_lang}{$1} = $2;
             $T{$current_lang}{$1} = $2;
         }
         }
     }
     }