1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 07:08:08 +02:00
pdf.js/l10n
Jonas Jenwald d96558836e Utilize Fluent to format numbers and dates in PDFDocumentProperties
The `PDFDocumentProperties` dialog may not display correctly formatted data, especially in the GENERIC viewer, since it's using native methods[1] that depend on the *browser* locale instead of the viewer locale as intended.
At the time when this dialog was introduced that was probably all we could easily do, but with Fluent we're able to improve things since it's got built-in support for formatting numbers and dates. Not only does this simplify the JavaScript code, but it also gives the localizer more fine-grained control of the desired output.

Please find additional information here:
 - https://projectfluent.org/fluent/guide/builtins.html
 - https://projectfluent.org/fluent/guide/functions.html

---

[1] `toLocaleString`, `toLocaleDateString`, and `toLocaleTimeString`.
2024-08-25 12:11:02 +02:00
..
ach Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
af Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
an Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
ar Update translations to the most recent versions 2024-04-19 14:57:04 +02:00
ast Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
az Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
be Update translations to the most recent versions 2024-04-03 14:43:26 +02:00
bg Update l10n files 2024-01-06 10:10:22 +01:00
bn Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
bo Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
br Update translations to the most recent versions 2024-06-11 15:13:06 +02:00
brx Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
bs Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
ca Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
cak Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
ckb Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
cs Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
cy Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
da Update translations to the most recent versions 2024-04-11 19:48:32 +02:00
de Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
dsb Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
el Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
en-CA Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
en-GB Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
en-US Utilize Fluent to format numbers and dates in PDFDocumentProperties 2024-08-25 12:11:02 +02:00
eo Update translations to the most recent versions 2024-05-14 16:26:34 +02:00
es-AR Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
es-CL Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
es-ES Update translations to the most recent versions 2024-04-03 14:43:26 +02:00
es-MX Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
et Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
eu Update translations to the most recent versions 2024-04-03 14:43:26 +02:00
fa Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
ff Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
fi Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
fr Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
fur Update translations to the most recent versions 2024-04-03 14:43:26 +02:00
fy-NL Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
ga-IE Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
gd Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
gl Update l10n files 2024-03-08 10:09:51 +01:00
gn Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
gu-IN Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
he Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
hi-IN Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
hr Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
hsb Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
hu Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
hy-AM Update translations to the most recent versions 2024-05-14 16:26:34 +02:00
hye Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
ia Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
id Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
is Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
it Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
ja Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
ka Update l10n files 2024-01-14 21:18:58 +01:00
kab Update translations to the most recent versions 2024-06-11 15:13:06 +02:00
kk Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
km Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
kn Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
ko Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
lij Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
lo Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
lt Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
ltg Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
lv Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
meh Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
mk Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
mr Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
ms Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
my Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
nb-NO Update translations to the most recent versions 2024-04-11 19:48:32 +02:00
ne-NP Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
nl Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
nn-NO Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
oc Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
pa-IN Update translations to the most recent versions 2024-04-29 19:57:19 +02:00
pl Update translations to the most recent versions 2024-04-11 19:48:32 +02:00
pt-BR Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
pt-PT Update translations to the most recent versions 2024-04-11 19:48:32 +02:00
rm Update translations to the most recent versions 2024-05-14 16:26:34 +02:00
ro Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
ru Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
sat Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
sc Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
scn Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
sco Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
si Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
sk Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
skr Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
sl Update translations to the most recent versions 2024-05-28 19:25:46 +02:00
son Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
sq Update translations to the most recent versions 2024-05-14 16:26:34 +02:00
sr Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
sv-SE Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
szl Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
ta Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
te Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
tg Update translations to the most recent versions 2024-05-14 16:26:34 +02:00
th Update translations to the most recent versions 2024-04-11 19:48:32 +02:00
tl Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
tr Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
trs Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
uk Update translations to the most recent versions 2024-04-11 19:48:32 +02:00
ur Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
uz Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
vi Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
wo Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
xh Update the path to get all locales and update locales 2023-10-25 12:47:06 +02:00
zh-CN Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
zh-TW Update translations to the most recent versions 2024-08-15 19:52:03 +02:00
README.md [Firefox] Stop building the metadata.inc/chrome.manifest.inc files during gulp locale (PR 9566 follow-up) 2019-10-17 11:49:30 +02:00

Most of the files in this folder (except for the en-US folder) have been imported from the Firefox Nightly branch; please see https://hg.mozilla.org/l10n-central. Some of the files are licensed under the MPL license. You can obtain a copy of the license at https://mozilla.org/MPL/2.0.