Translation: keep translation domain with partial

We should try to avoid partial and pass translation domain where forced
to use it.

refs #6338
This commit is contained in:
Thomas Gelf 2014-05-27 22:20:21 +00:00
parent 7b58134378
commit f790e0c323
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ $service_problems = (
<?= $this->partial(
'tactical/components/parts/servicestatesummarybyhoststate.phtml',
array(
'translationDomain' => $this->translationDomain,
'host_problem' => 0,
'services_ok' => $this->statusSummary->services_ok_on_ok_hosts,
'services_ok_not_checked' => $this->statusSummary->services_ok_not_checked_on_ok_hosts,

View File

@ -23,6 +23,7 @@
<?= $this->partial(
'tactical/components/parts/servicestatesummarybyhoststate.phtml',
array(
'translationDomain' => $this->translationDomain,
'host_problem' => 1,
'services_ok' => $this->statusSummary->services_ok_on_problem_hosts,
'services_ok_not_checked' => $this->statusSummary->services_ok_not_checked_on_problem_hosts,