Enhance PDF viewer with annotations and WebAssembly

Added support for advanced annotation tools, including signature and stamp management, along with accessibility improvements. Introduced WebAssembly binaries (`qcms_bg.wasm`, `quickjs-eval.wasm`, `openjpeg.wasm`, `jbig2.wasm`) for enhanced performance in color management, JavaScript execution, and image decoding.

Implemented a JavaScript fallback (`openjpeg_nowasm_fallback.js`) for environments without WebAssembly support. Updated `Details.cshtml` to include a PDF viewer popup and added a new Razor Page (`ViewPdf.cshtml`) for secure PDF file access. Registered `.mjs` MIME type in `Program.cs` for PDF.js compatibility.

Enhanced localization with translations for multiple languages in `viewer.ftl` and added new icons, dialogs, and accessibility features. Updated `DXApp.sln` to include a new project for template management. These changes improve functionality, modularity, and user experience.
This commit is contained in:
OlgunR
2026-06-01 14:08:17 +02:00
parent a087baa089
commit 346750e933
410 changed files with 179847 additions and 3 deletions

View File

@@ -0,0 +1,100 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
## Main toolbar buttons (tooltips and alt text for images)
pdfjs-previous-button =
.title = Xët wi jiitu
pdfjs-previous-button-label = Bi jiitu
pdfjs-next-button =
.title = Xët wi ci topp
pdfjs-next-button-label = Bi ci topp
pdfjs-zoom-out-button =
.title = Wàññi
pdfjs-zoom-out-button-label = Wàññi
pdfjs-zoom-in-button =
.title = Yaatal
pdfjs-zoom-in-button-label = Yaatal
pdfjs-zoom-select =
.title = Yambalaŋ
pdfjs-presentation-mode-button =
.title = Wañarñil ci anamu wone
pdfjs-presentation-mode-button-label = Anamu Wone
pdfjs-open-file-button =
.title = Ubbi benn dencukaay
pdfjs-open-file-button-label = Ubbi
pdfjs-print-button =
.title = Móol
pdfjs-print-button-label = Móol
## Document properties dialog
pdfjs-document-properties-title = Bopp:
## Print
pdfjs-printing-not-supported = Artu: Joowkat bii nanguwul lool mool.
## Tooltips and alt text for side panel toolbar buttons
pdfjs-thumbs-button =
.title = Wone nataal yu ndaw yi
pdfjs-thumbs-button-label = Nataal yu ndaw yi
pdfjs-findbar-button =
.title = Gis ci biir jukki bi
pdfjs-findbar-button-label = Wut
## Thumbnails panel item (tooltip and alt text for images)
# Variables:
# $page (Number) - the page number
pdfjs-thumb-page-title =
.title = Xët { $page }
# Variables:
# $page (Number) - the page number
pdfjs-thumb-page-canvas =
.aria-label = Wiñet bu xët { $page }
## Find panel button title and messages
pdfjs-find-previous-button =
.title = Seet beneen kaddu bu ni mel te jiitu
pdfjs-find-previous-button-label = Bi jiitu
pdfjs-find-next-button =
.title = Seet beneen kaddu bu ni mel
pdfjs-find-next-button-label = Bi ci topp
pdfjs-find-highlight-checkbox = Melaxal lépp
pdfjs-find-match-case-checkbox-label = Sàmm jëmmalin wi
pdfjs-find-reached-top = Jot nañu ndorteel xët wi, kontine dale ko ci suuf
pdfjs-find-reached-bottom = Jot nañu jeexitalu xët wi, kontine ci ndorte
pdfjs-find-not-found = Gisiñu kaddu gi
## Predefined zoom values
pdfjs-page-scale-width = Yaatuwaay bu mët
pdfjs-page-scale-fit = Xët lëmm
pdfjs-page-scale-auto = Yambalaŋ ci saa si
pdfjs-page-scale-actual = Dayo bi am
## Loading indicator messages
pdfjs-loading-error = Am na njumte ci yebum dencukaay PDF bi.
pdfjs-invalid-file-error = Dencukaay PDF bi baaxul walla mu sankar.
pdfjs-rendering-error = Am njumte bu am bi xët bi di wonewu.
## Annotations
# .alt: This is used as a tooltip.
# Variables:
# $type (String) - an annotation type from a list defined in the PDF spec
# (32000-1:2008 Table 169 Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
pdfjs-text-annotation-type =
.alt = [Karmat { $type }]
## Password
pdfjs-password-ok-button = OK
pdfjs-password-cancel-button = Neenal