Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added translator to templates

  • Loading branch information...
commit 254f4ad3f51d17ddeadbc94865cada6bd93e16ba 1 parent 6b2d509
Tomáš Kolinger authored

Showing 1 changed file with 9 additions and 0 deletions. Show diff stats Hide diff stats

  1. +9 0 Application/UI/Presenter.php
9 Application/UI/Presenter.php
@@ -51,6 +51,15 @@ class Presenter extends \Nette\Application\UI\Presenter
51 51
52 52
53 53
  54 + protected function startup()
  55 + {
  56 + parent::startup();
  57 +
  58 + $this->getTemplate()->setTranslator($this->translator);
  59 + }
  60 +
  61 +
  62 +
54 63 /**
55 64 * @return string
56 65 */

0 comments on commit 254f4ad

Please sign in to comment.
Something went wrong with that request. Please try again.