Browse files

added translator to templates

  • Loading branch information...
1 parent 6b2d509 commit 254f4ad3f51d17ddeadbc94865cada6bd93e16ba @kolinger committed Jan 9, 2013
Showing with 9 additions and 0 deletions.
  1. +9 −0 Application/UI/Presenter.php
View
9 Application/UI/Presenter.php
@@ -51,6 +51,15 @@ class Presenter extends \Nette\Application\UI\Presenter
+ protected function startup()
+ {
+ parent::startup();
+
+ $this->getTemplate()->setTranslator($this->translator);
+ }
+
+
+
/**
* @return string
*/

0 comments on commit 254f4ad

Please sign in to comment.