Skip to content

Commit

Permalink
--source requires =
Browse files Browse the repository at this point in the history
  • Loading branch information
Bottelet committed Sep 15, 2024
1 parent d86c50b commit bb00e8c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Commands/CheckTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class CheckTranslation extends BaseTranslationCommand
{
protected $signature = 'translations:check
{target : The target language for the translations}
{--source : The source language used for the translation provider}
{--source= : The source language used for the translation provider}
{--translate-missing : Translate missing translations using the translation service}
{--sort : Sort JSON translation files}';

Expand Down
2 changes: 1 addition & 1 deletion src/Commands/CleanTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class CleanTranslation extends BaseTranslationCommand
{
protected $signature = 'translations:clean
{--source : The source language for the translations to clean}
{--source= : The source language for the translations to clean}
{--print : Print the cleaned translations to the console, instead of updating the file}';

protected $description = 'Clean translations by removing unused keys from the source language file';
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/FindMissingTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class FindMissingTranslation extends BaseTranslationCommand
{
protected $signature = 'translations:find-missing
{--source : The source language for the translations to find}
{--source= : The source language for the translations to find}
{--print : Print the missing translation to the console, instead of writing to file}';

protected $description = 'Find missing translations and add the key to the given source language file, with an empty value';
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/SortTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class SortTranslation extends BaseTranslationCommand
{
protected $signature = 'translations:sort
{--source : The source language for the translations to sort}
{--source= : The source language for the translations to sort}
{--all : All files found in the config language_folder }';

protected $description = 'Sort translation file by using the sorter given in config';
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/SyncTranslation.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class SyncTranslation extends Command
{
protected $signature = 'translations:sync
{--source : The source language file to sync from}
{--source= : The source language file to sync from}
{--target : The target language file to sync to}';

protected $description = 'Sync translations between language files';
Expand Down

0 comments on commit bb00e8c

Please sign in to comment.