From 846007d031427d2f559c536a2a0d9cab669ae231 Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Sat, 18 Jan 2020 22:21:30 +0100 Subject: [PATCH] adapt pattern for extract command --- src/Console/Extract.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Console/Extract.php b/src/Console/Extract.php index 7fac598fe..628d2596e 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 = [];