diff --git a/src/Events/BuildClientView.php b/src/Events/BuildClientView.php index e637ee370..840ff802f 100644 --- a/src/Events/BuildClientView.php +++ b/src/Events/BuildClientView.php @@ -70,4 +70,13 @@ class BuildClientView $this->view->addBootstrapper($bootstrapper); } } + + public function adminTranslations(array $keys) + { + if ($this->action instanceof AdminClientAction) { + foreach ($keys as $key) { + $this->keys[] = $key; + } + } + } }