Commit graph

3 commits

Author SHA1 Message Date
5661e129fb fix: NaN in /fires 'active fires in map' count (react-i18next 14 <Trans>)
react-i18next 14 reserves `count` as the pluralization variable and no
longer interpolates it from a <Trans> object child, so <strong>{{count:N}}</strong>
left {{count,number}} unresolved -> the number formatter ran on undefined ->
"NaN". (t() and the countTotal var were unaffected; regression from the
i18next 10->23 / react-i18next 7->14 bump.)

Renamed the variable count -> inMap in FiresMap.js and in the
activeFireInMapCount value of the es/en/gl locales (the string has no plural
forms, so count was only an unlucky name). Browser-verified: /fires now shows
the real count; home/zones/fire-detail render with no real errors. REST smoke
byte-identical.
2026-07-21 13:45:59 +02:00
lupe bao reixa
8e729a6939 Translated using Weblate (Galician)
Currently translated at 100.0% (221 of 221 strings)
2018-08-16 09:03:51 +00:00
vjrj
7addf7cc6f Renamed locales 2018-01-22 17:11:02 +01:00
Renamed from public/locales/gl/gl.json (Browse further)