Add API to add translations to admin client

Again, I'll split up these APIs soon enough
This commit is contained in:
Toby Zerner 2015-08-04 17:16:34 +09:30
parent 7ed3834dc9
commit 9700fbbb0b

View File

@ -70,4 +70,13 @@ class BuildClientView
$this->view->addBootstrapper($bootstrapper); $this->view->addBootstrapper($bootstrapper);
} }
} }
public function adminTranslations(array $keys)
{
if ($this->action instanceof AdminClientAction) {
foreach ($keys as $key) {
$this->keys[] = $key;
}
}
}
} }