X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FExtract.php;h=1b9d6ed2b6f1c3aae7ddaa35f1712cf47d6647bc;hb=99239e3d99d8d97419af830c0e22c09faba4c133;hp=7fac598fe9b2d1dfd2b124c1642f3d68bfc3a161;hpb=c9cce8492e5b2607b2a092474d1de4d188b7a2c9;p=friendica.git diff --git a/src/Console/Extract.php b/src/Console/Extract.php index 7fac598fe9..1b9d6ed2b6 100644 --- a/src/Console/Extract.php +++ b/src/Console/Extract.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Console; @@ -7,8 +26,6 @@ namespace Friendica\Console; * to Transifex for translation. * * Outputs a PHP file with language strings used by Friendica - * - * @author Hypolite Petovan */ class Extract extends \Asika\SimpleConsole\Console { @@ -65,8 +82,8 @@ HELP; foreach ($files as $file) { $str = file_get_contents($file); - $pat = '|L10n::t\(([^\)]*+)[\)]|'; - $patt = '|L10n::tt\(([^\)]*+)[\)]|'; + $pat = '|->t\(([^\)]*+)[\)]|'; + $patt = '|->tt\(([^\)]*+)[\)]|'; $matches = []; $matchestt = [];