diff --git a/Command/DeleteObsoleteCommand.php b/Command/DeleteObsoleteCommand.php index 4da26b80..649f1da6 100644 --- a/Command/DeleteObsoleteCommand.php +++ b/Command/DeleteObsoleteCommand.php @@ -28,7 +28,8 @@ */ class DeleteObsoleteCommand extends Command { - use BundleTrait, StorageTrait; + use BundleTrait; + use StorageTrait; protected static $defaultName = 'translation:delete-obsolete'; @@ -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.') ; } diff --git a/Command/DownloadCommand.php b/Command/DownloadCommand.php index 6d853776..974536c3 100644 --- a/Command/DownloadCommand.php +++ b/Command/DownloadCommand.php @@ -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 */ class DownloadCommand extends Command { - use BundleTrait, StorageTrait; + use BundleTrait; + use StorageTrait; protected static $defaultName = 'translation:download'; diff --git a/Command/ExtractCommand.php b/Command/ExtractCommand.php index 8da04b4d..f3727d4f 100644 --- a/Command/ExtractCommand.php +++ b/Command/ExtractCommand.php @@ -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.') ;