Calixte Denizet
2967eca605
Update the path to get all locales and update locales
2023-10-25 12:47:06 +02:00
Calixte Denizet
66982a2a11
[api-minor] Move to Fluent for the localization (bug 1858715)
...
- For the generic viewer we use @fluent/dom and @fluent/bundle
- For the builtin pdf viewer in Firefox, we set a localization url
and then we rely on document.l10n which is a DOMLocalization object.
2023-10-19 11:20:41 +02:00
Jonas Jenwald
c018070e80
Enable the no-lonely-if
ESLint rule
...
These changes were mostly done automatically, using `gulp lint --fix`, and only a few spots with comments needed manual tweaking; please see https://eslint.org/docs/latest/rules/no-lonely-if
2023-07-21 20:10:44 +02:00
Jonas Jenwald
a650fcd634
[ESM] Convert the external/importL10n
-folder to use standard modules
2023-07-08 09:36:32 +02:00