* @license GNU General Public License, version 2 (GPL-2.0) * * For full copyright and license information, please see * the docs/CREDITS.txt file. * */ namespace phpbb\console\command\extension; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class enable extends command { protected function configure() { $this ->setName('extension:enable') ->setDescription($this->user->lang('CLI_DESCRIPTION_ENABLE_EXTENSION')) ->addArgument( 'extension-name', InputArgument::REQUIRED, $this->user->lang('CLI_EXTENSION_NAME') ) ; } protected function execute(InputInterface $input, OutputInterface $output) { $name = $input->getArgument('extension-name'); $this->manager->enable($name); $this->manager->load_extensions(); if ($this->manager->is_enabled($name)) { $this->log->add('admin', ANONYMOUS, '', 'LOG_EXT_ENABLE', time(), array($name)); $output->writeln('' . $this->user->lang('CLI_EXTENSION_ENABLE_SUCCESS', $name) . ''); return 0; } else { $output->writeln('' . $this->user->lang('CLI_EXTENSION_ENABLE_FAILURE', $name) . ''); return 1; } } } 3 Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po
Commit message (Expand)AuthorAgeFilesLines
* Updated Estonian translation.Marek Laane2007-08-221-32/+7
* "administrator" must be seen in translation (requested by product specs)Pascal Rigaux2007-08-211-2/+2
* updateThierry Vignaud2007-08-211-14/+12
* updateThierry Vignaud2007-08-211-11/+8
* sync with codeThierry Vignaud2007-08-2171-2543/+2898
* Japanese translation updated.Yukiko Bando2007-08-171-2/+2
* Updated Estonian translation.Marek Laane2007-08-141-2/+2
* Update fr translationChristophe Berthelé2007-08-121-54/+18
* Updated Norwegian Nynorsk translation.Karl Ove Hufthammer2007-08-121-53/+29
* New translations.Mashrab Kuvatov2007-08-112-194/+129
* typo fix (Dotan Kamber)Thierry Vignaud2007-08-0971-71/+71
* typo fixThierry Vignaud2007-08-0971-71/+71
* updateThierry Vignaud2007-08-091-3/+3
* sync with codeThierry Vignaud2007-08-0971-233/+670
* update translation for HebrewDotan Kamber2007-08-081-78/+40
* update translation for basque (euskara)Iñigo Salvador Azurmendi2007-08-081-99/+103
* update translation for basque (euskara)Iñigo Salvador Azurmendi2007-08-081-164/+61
* Updated Estonian translation.Marek Laane2007-08-071-92/+71
* Japanese translation updated.Yukiko Bando2007-08-071-66/+79
* nl.po: Updated Dutch translationReinout van Schouwen2007-08-061-64/+74
* Updated Norwegian Nynorsk translation.Karl Ove Hufthammer2007-08-061-62/+41
* updateThierry Vignaud2007-08-061-11/+11
* updateThierry Vignaud2007-08-061-64/+58
* sync with codeThierry Vignaud2007-08-0671-17214/+20754
* update translation for HebrewDotan Kamber2007-08-031-9/+10
* Updated Norwegian Nynorsk translation.Karl Ove Hufthammer2007-08-021-2/+2
* Updated Norwegian Nynorsk translation.Karl Ove Hufthammer2007-08-021-105/+83
* update translation for HebrewDotan Kamber2007-08-011-105/+59
* update a stringThierry Vignaud2007-07-3071-142/+142
* sync with codeThierry Vignaud2007-07-3071-6653/+8065
* updateJosé Melo2007-07-231-66/+36
* update translation for HebrewDotan Kamber2007-07-211-2/+2
* Updated Norwegian Nynorsk translation.Karl Ove Hufthammer2007-07-171-50/+78
* update translation for HebrewDotan Kamber2007-07-161-42/+25
* Update fr translationChristophe Berthelé2007-07-081-4/+4
* Updated zh_CN translationFunda Wang2007-07-011-3/+3
* Updated POT fileFunda Wang2007-07-0171-23803/+24239
* updated translationPavel Maryanov2007-06-161-76/+33
* fixing some fuzzy entries and translating messages to pt_BRFelipe Arruda2007-05-211-73/+42
* Japanese translation reviewedYukiko Bando2007-05-151-8/+8
* upJosé Melo2007-05-071-92/+60
* re-sync after the big svn lossPascal Rigaux2007-04-25