mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Point the *development mode* fallback locale-path to the l10n
-folder (issue 17609, PR 17603 follow-up)
This commit is contained in:
parent
cbbd1fcaa3
commit
da8297115f
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue