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 = [];