Skip to content

Commit 79cd20a

Browse files
author
Frank Schalkwijk
committed
Add export all option
1 parent 9e5548a commit 79cd20a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Console/ExportCommand.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,12 @@ public function handle()
5252
return;
5353
}
5454

55-
$this->manager->exportTranslations($group, $json);
55+
if ( $group == '*' ) {
56+
$this->manager->exportAllTranslations();
57+
}
58+
else {
59+
$this->manager->exportTranslations($group, $json);
60+
}
5661

5762
if (!is_null($group)) {
5863
$this->info('Done writing language files for '.(($group == '*') ? 'ALL groups' : $group.' group'));

0 commit comments

Comments
 (0)