Skip to content

Commit

Permalink
Merge pull request #84 from didoda/fix/gettext-command-plugin-ttag
Browse files Browse the repository at this point in the history
Fix ttag extract for plugin
  • Loading branch information
batopa authored Jul 3, 2023
2 parents c71fea7 + 9ebf5b4 commit aa3adde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Filesystem/Ttag.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public static function extract(array $locales, string $localePath, ?string $plug

// do extract translation strings from js files using ttag
$info[] = 'Extracting translation string from javascript files using ttag' . ($skip ? ' (skipped)' : '');
$extracted = $skip ? false : self::doExtract($ttag, (string)$appDir, $localePath, $locales);
$extracted = $skip ? false : self::doExtract($ttag, (string)$appDir, $localePath, $locales, $plugin);

return compact('extracted', 'info');
}
Expand Down

0 comments on commit aa3adde

Please sign in to comment.