Only use the l10n fallback bundle when normal ftl-file fetching failed (issue 18264)
This commit is contained in:
parent
56c396556f
commit
0981716bfa
@ -74,8 +74,7 @@ class GenericL10n extends L10n {
|
|||||||
const bundle = await this.#createBundle(lang, baseURL, paths);
|
const bundle = await this.#createBundle(lang, baseURL, paths);
|
||||||
if (bundle) {
|
if (bundle) {
|
||||||
yield bundle;
|
yield bundle;
|
||||||
}
|
} else if (lang === "en-us") {
|
||||||
if (lang === "en-us") {
|
|
||||||
yield this.#createBundleFallback(lang);
|
yield this.#createBundleFallback(lang);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user