Skip to content

Commit

Permalink
Point the *development mode* fallback locale-path to the l10n-folde…
Browse files Browse the repository at this point in the history
…r (issue 17609, PR 17603 follow-up)
  • Loading branch information
Snuffleupagus authored and pull[bot] committed Mar 11, 2024
1 parent 0bd6c96 commit 47a8465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/genericl10n.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 47a8465

Please sign in to comment.