diff --git a/src/Translator.php b/src/Translator.php index 969c1b8..e865865 100644 --- a/src/Translator.php +++ b/src/Translator.php @@ -376,7 +376,7 @@ public function trans( if ($id !== null) { if ($this->psrLogger !== null) { - if (!$this->getCatalogue()->has($id, $domain)) { + if (!$this->getCatalogue($locale)->has($id, $domain)) { $this->psrLogger ->notice( 'Missing translation', @@ -390,7 +390,7 @@ public function trans( } if ($this->tracyPanel !== null) { - if (!$this->getCatalogue()->has($id, $domain)) { + if (!$this->getCatalogue($locale)->has($id, $domain)) { $this->tracyPanel ->addMissingTranslation($id, $domain); }