/**
  * Execute the console command.
  *
  * @return void
  */
 public function fire()
 {
     $counter = $this->manager->findTranslations();
     $this->info('Done importing, processed ' . $counter . ' items!');
 }
 /**
  * Execute the console command.
  *
  * @return void
  */
 public function fire()
 {
     $group = $this->argument('group');
     $this->manager->exportTranslations($group);
     $this->info("Done writing language files for " . ($group == '*' ? 'ALL groups' : $group . " group"));
 }
 /**
  * Execute the console command.
  *
  * @return void
  */
 public function fire()
 {
     $this->manager->truncateTranslations();
     $this->info("All translations are deleted");
 }
 /**
  * Execute the console command.
  *
  * @return void
  */
 public function fire()
 {
     $this->manager->cleanTranslations();
     $this->info("Done cleaning translations");
 }
 public function postYandexKey()
 {
     return \Response::json(array('status' => 'ok', 'yandex_key' => $this->manager->config('yandex_translator_key', null)));
 }
 /**
  * Execute the console command.
  *
  * @return void
  */
 public function fire()
 {
     $replace = $this->option('replace');
     $counter = $this->manager->importTranslations($replace);
     $this->info('Done importing, processed ' . $counter . ' items!');
 }