mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-08-03 04:47:21 +02:00
Fix the l10n-id for the sidebar toggleButton, in the ViewsManager class
Steps to reproduce: 1. Open http://localhost:8888/web/viewer.html 2. Open the console, and run: `PDFViewerApplication.close();` 3. Note the warning: `[fluent] Missing translations in en-us: pdfjs-toggle-views-manager-button`
This commit is contained in:
parent
f8d7c20a1a
commit
8656b4acb3
@ -162,7 +162,7 @@ class ViewsManager extends Sidebar {
|
|||||||
attachmentsTitle: "pdfjs-views-manager-attachments-title",
|
attachmentsTitle: "pdfjs-views-manager-attachments-title",
|
||||||
layersTitle: "pdfjs-views-manager-layers-title1",
|
layersTitle: "pdfjs-views-manager-layers-title1",
|
||||||
notificationButton: "pdfjs-toggle-views-manager-notification-button",
|
notificationButton: "pdfjs-toggle-views-manager-notification-button",
|
||||||
toggleButton: "pdfjs-toggle-views-manager-button",
|
toggleButton: "pdfjs-toggle-views-manager-button1",
|
||||||
});
|
});
|
||||||
|
|
||||||
this.#addEventListeners();
|
this.#addEventListeners();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user