/home/techb158/immovalet.com/platform/plugins/translation/src/Console
NameSizeModeActions
CleanCommand.php9280644editdlrm
ExportCommand.php15740644editdlrm
ImportCommand.php13530644editdlrm
RemoveUnusedTranslationsCommand.php35650644editdlrm
ResetCommand.php9160644editdlrm
UpdateThemeTranslationCommand.php30110644editdlrm
Edit: /home/techb158/immovalet.com/platform/plugins/translation/src/Console/ImportCommand.php (1353B)
manager = $manager; parent::__construct(); } /** * Execute the console command. * * @return int */ public function handle() { $this->info('Importing...'); $replace = $this->option('replace'); $counter = $this->manager->importTranslations($replace); $this->info('Done importing, processed ' . $counter . ' items!'); return 0; } /** * Get the console command options. * * @return array */ protected function getOptions() { return [ ['replace', 'R', InputOption::VALUE_NONE, 'Replace existing keys'], ]; } }