public function __construct()
 {
     parent::__construct();
     $this->blnEnable = true;
     $this->strName = t('Archive Exporter');
     $this->Enable();
 }
 public function __construct()
 {
     parent::__construct();
     $this->blnEnable = true;
     $this->strName = t('Text length check');
     $this->Enable();
 }
Example #3
0
 public function __construct()
 {
     parent::__construct();
     $this->blnEnable = false;
     $this->strName = t('Mozilla FTP');
     $this->Enable();
     $this->blnEnable = $this->blnEnable && extension_loaded('ftp');
 }
 public function __construct()
 {
     parent::__construct();
     $this->blnEnable = false;
     $this->strName = t('Mozilla l10n dashboard');
     $this->Enable();
     $this->blnEnable = $this->blnEnable && function_exists('json_decode');
     $this->strUrl = sprintf($this->strUrl, QApplication::$TargetLanguage->LanguageCode);
     if ($this->blnEnable) {
         NarroProject::RegisterPreference('Code name on mozilla l10n dashboard', true, NarroProjectType::Mozilla, 'text', 'e.g. fx_aurora, see <a href="https://l10n-stage-sj.mozilla.org/shipping/dashboard">https://l10n-stage-sj.mozilla.org/shipping/dashboard</a>', '');
     }
 }
Example #5
0
 public function __construct()
 {
     parent::__construct();
     $this->blnEnable = false;
     $this->strName = t('Cedill/Comma issue solver');
     if ($this->blnEnable) {
         NarroUser::RegisterPreference('Cedilla or comma', 'option', 'Select whether you want to see s and t with comma or cedilla undernieth', 'cedilla', array('cedilla', 'comma'));
     }
     /**
      * Preference value: t('cedilla');
      * Preference value: t('comma');
      */
 }
Example #6
0
 public function __construct()
 {
     parent::__construct();
     $this->strName = t('Spell check');
     $this->Enable();
 }