pdf.js/src
Jonas Jenwald 17af706070 [api-minor] Use "data-l10n-id"/"data-l10n-args", rather than manually updating DOM-elements, to trigger translation (PR 17146 follow-up)
This patch changes almost all viewer-components[1] to use "data-l10n-id"/"data-l10n-args" for localization, which means that in many cases we no longer need to pass around the `L10n`-instance any more.

One part of the code-base where the `L10n`-instance is still being used "directly" is the AnnotationEditors, however while it might be possible to convert (most of) that code as well that's not attempted in this patch.

---
[1] The one exception is the `PDFDocumentProperties` dialog, since the way it's currently implemented makes that less straightforward to fix without a lot of code changes.
2023-10-22 14:17:47 +02:00
..
core Reduce unnecessary type conversion in writeStream 2023-10-18 15:39:01 +02:00
display [api-minor] Use "data-l10n-id"/"data-l10n-args", rather than manually updating DOM-elements, to trigger translation (PR 17146 follow-up) 2023-10-22 14:17:47 +02:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
scripting_api Don't reset all fields when the resetForm argument is an array 2023-08-24 09:10:27 -04:00
shared Remove obsolete src/shared/{cffStandardStrings,fonts_utils}.js files 2023-10-14 14:07:49 +02:00
interfaces.js Use ESLint to ensure that exports are sorted alphabetically 2021-01-09 20:37:51 +01:00
license_header_libre.js Update the year in the license_header files 2023-01-18 22:28:18 +01:00
license_header.js Update the year in the license_header files 2023-01-18 22:28:18 +01:00
pdf.image_decoders.js Add unit-tests to check that more PDF.js APIs expose the expected functionality 2023-07-07 12:36:21 +02:00
pdf.js [api-major] Output JavaScript modules in the builds (issue 10317) 2023-10-07 09:31:08 +02:00
pdf.sandbox.external.js ESMify some modules for m-c (bug 1824610) 2023-03-27 12:01:31 +02:00
pdf.sandbox.js Introduce more optional chaining in the code-base 2023-08-26 10:52:23 +02:00
pdf.scripting.js Output pdf.scripting.js as a JavaScript module (PR 17055 follow-up) 2023-10-07 15:27:26 +02:00
pdf.worker.entry.js Remove the ESLint "amd" environment (PR 17055 follow-up) 2023-10-15 11:50:57 +02:00
pdf.worker.js Allow, optionally, using worker-modules during local development 2023-01-31 12:09:44 +01:00