]> git.mxchange.org Git - friendica.git/commitdiff
adapt pattern for extract command
authornupplaPhil <admin@philipp.info>
Sat, 18 Jan 2020 21:21:30 +0000 (22:21 +0100)
committernupplaPhil <admin@philipp.info>
Sun, 19 Jan 2020 15:31:34 +0000 (16:31 +0100)
src/Console/Extract.php

index 7fac598fe9b2d1dfd2b124c1642f3d68bfc3a161..628d2596e7c75845addc815174614ab7df5d690e 100644 (file)
@@ -65,8 +65,8 @@ HELP;
                foreach ($files as $file) {
                        $str = file_get_contents($file);
 
-                       $pat = '|L10n::t\(([^\)]*+)[\)]|';
-                       $patt = '|L10n::tt\(([^\)]*+)[\)]|';
+                       $pat = '|->t\(([^\)]*+)[\)]|';
+                       $patt = '|->tt\(([^\)]*+)[\)]|';
 
                        $matches = [];
                        $matchestt = [];