mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Merge pull request #17610 from Snuffleupagus/createBundleFallback-dev-path
Point the *development mode* fallback locale-path to the `l10n`-folder (issue 17609, PR 17603 follow-up)
This commit is contained in:
commit
af4d2fa53c
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