]> wagnertech.de Git - kivitendo-erp.git/commitdiff
locales.pl: mehrere t8() in einer Zeile richtig behandeln
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 30 Jan 2013 16:06:30 +0000 (17:06 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 30 Jan 2013 16:09:47 +0000 (17:09 +0100)
scripts/locales.pl

index 0c96006f460cfb04ae76d8ed08fbd10f364ef8c1..23940425cee4231799606ea4ffa3035bc73ef9eb 100755 (executable)
@@ -421,7 +421,7 @@ sub scanfile {
         }
 
         # exit loop if there are no more locales on this line
-        ($rc) = ($postmatch =~ /locale->text/);
+        ($rc) = ($postmatch =~ /locale->text | \b t8/x);
 
         if (   ($postmatch =~ />/)
             || (!$found && ($sub_line_no != $line_no) && />/)) {