mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Merge pull request #18486 from Snuffleupagus/AppOptions-replace-locale
Replace the GENERIC-only "locale" with "localeProperties" in AppOptions
This commit is contained in:
commit
cb737512de
3 changed files with 6 additions and 8 deletions
|
@ -336,7 +336,7 @@ const PDFViewerApplication = {
|
|||
(typeof PDFJSDev === "undefined" || PDFJSDev.test("GENERIC")) &&
|
||||
params.has("locale")
|
||||
) {
|
||||
AppOptions.set("locale", params.get("locale"));
|
||||
AppOptions.set("localeProperties", { lang: params.get("locale") });
|
||||
}
|
||||
|
||||
// Set some specific preferences for tests.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue