Author: Filip Procházka (filip@prochazka.su)
Inheritance: extends Nette\Object
Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 protected function loadCatalogue($locale)
 {
     if (empty($locale)) {
         throw new InvalidArgumentException("Invalid locale.");
     }
     if (isset($this->catalogues[$locale])) {
         return;
     }
     $this->catalogues = $this->catalogueCompiler->compile($this, $this->catalogues, $locale);
 }