|
@@ -142,7 +142,7 @@ class Translator implements TranslatorInterface
|
|
$this->loadCatalogue($locale);
|
|
$this->loadCatalogue($locale);
|
|
}
|
|
}
|
|
|
|
|
|
- if (!$this->catalogues[$locale]->hasStrict((string) $id, $domain)) {
|
|
|
|
|
|
+ if (!$this->catalogues[$locale]->defines((string) $id, $domain)) {
|
|
// we will use the fallback
|
|
// we will use the fallback
|
|
$locale = $this->computeFallbackLocale($locale);
|
|
$locale = $this->computeFallbackLocale($locale);
|
|
}
|
|
}
|