* * EXAMPLES: * * icingacli translation refresh icinga de_DE * icingacli translation refresh icinga fr_FR */ public function icingaAction() { $locale = $this->validateLocaleCode($this->params->shift()); $helper = $this->getTranslationHelper($locale); $helper->updateIcingaTranslations(); } /** * Touch a module domain * * This will create/update the PO-file of the given module domain. * * USAGE: * * icingacli translation refresh module * * EXAMPLES: * * icingacli translation refresh module monitoring de_DE * icingacli translation refresh module monitoring fr_FR */ public function moduleAction() { $module = $this->validateModuleName($this->params->shift()); $locale = $this->validateLocaleCode($this->params->shift()); $helper = $this->getTranslationHelper($locale); $helper->updateModuleTranslations($module); } }