Browse Source

adapt pattern for extract command

tags/2020.03
nupplaPhil 8 months ago
parent
commit
846007d031
No known key found for this signature in database GPG Key ID: D8365C3D36B77D90
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