From da8297115feeed4ee61309f53a3a36d6e3b6c1ea Mon Sep 17 00:00:00 2001 From: Jonas Jenwald Date: Thu, 1 Feb 2024 13:03:36 +0100 Subject: [PATCH] Point the *development mode* fallback locale-path to the `l10n`-folder (issue 17609, PR 17603 follow-up) --- web/genericl10n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/genericl10n.js b/web/genericl10n.js index 431b1043fca5f..6c7b9addd66e0 100644 --- a/web/genericl10n.js +++ b/web/genericl10n.js @@ -113,7 +113,7 @@ class GenericL10n extends L10n { const text = typeof PDFJSDev === "undefined" ? await fetchData( - new URL(`./locale/${lang}/viewer.ftl`, window.location.href), + new URL("../l10n/en-US/viewer.ftl", window.location.href), /* type = */ "text" ) : PDFJSDev.eval("DEFAULT_FTL");