Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Command/DeleteObsoleteCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
*/
class DeleteObsoleteCommand extends Command
{
use BundleTrait, StorageTrait;
use BundleTrait;
use StorageTrait;

protected static $defaultName = 'translation:delete-obsolete';

Expand Down Expand Up @@ -72,7 +73,7 @@ protected function configure()
->setName(self::$defaultName)
->setDescription('Delete all translations marked as obsolete.')
->addArgument('configuration', InputArgument::OPTIONAL, 'The configuration to use', 'default')
->addArgument('locale', InputArgument::OPTIONAL, 'The locale ot use. If omitted, we use all configured locales.', null)
->addArgument('locale', InputArgument::OPTIONAL, 'The locale to use. If omitted, we use all configured locales.', null)
->addOption('bundle', 'b', InputOption::VALUE_REQUIRED, 'The bundle you want remove translations from.')
;
}
Expand Down
4 changes: 2 additions & 2 deletions Command/DownloadCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
use Translation\Bundle\Service\CacheClearer;
use Translation\Bundle\Service\ConfigurationManager;
use Translation\Bundle\Service\StorageManager;
use Translation\Bundle\Model\Configuration;

/**
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
*/
class DownloadCommand extends Command
{
use BundleTrait, StorageTrait;
use BundleTrait;
use StorageTrait;

protected static $defaultName = 'translation:download';

Expand Down
2 changes: 1 addition & 1 deletion Command/ExtractCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ protected function configure()
->setName(self::$defaultName)
->setDescription('Extract translations from source code.')
->addArgument('configuration', InputArgument::OPTIONAL, 'The configuration to use', 'default')
->addArgument('locale', InputArgument::OPTIONAL, 'The locale ot use. If omitted, we use all configured locales.', false)
->addArgument('locale', InputArgument::OPTIONAL, 'The locale to use. If omitted, we use all configured locales.', false)
->addOption('hide-errors', null, InputOption::VALUE_NONE, 'If we should print error or not')
->addOption('bundle', 'b', InputOption::VALUE_REQUIRED, 'The bundle you want extract translations from.')
;
Expand Down