From: nupplaPhil Date: Sat, 18 Jan 2020 21:21:30 +0000 (+0100) Subject: adapt pattern for extract command X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=846007d031427d2f559c536a2a0d9cab669ae231;p=friendica.git adapt pattern for extract command --- diff --git a/src/Console/Extract.php b/src/Console/Extract.php index 7fac598fe9..628d2596e7 100644 --- a/src/Console/Extract.php +++ b/src/Console/Extract.php @@ -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 = [];