Browse Source

adapt pattern for extract command

pull/8134/head
nupplaPhil 1 month ago
parent
commit
846007d031
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Console/Extract.php

+ 2
- 2
src/Console/Extract.php View 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 = [];

Loading…
Cancel
Save