Remove nested keys: "foo": { "bar": "..." } ➡️ "foo.bar": "..."
This makes code cleaner (and as a side-effect, it now allows to use foo + foo.bar keys)
Lite/6 shared translations are no longer prefixed with core.
Duplicated keys across translation files are no longer accepted.
This will prevent accidental overwrite of missing common translations
fr.json and en.json now required to contains the same keys
Raw text is no longer accepted in template to prevent forgetting a translation
Raw text is still accepted in dev-related files (stories, dev pages...)
Remove useless alt on img
Display of percentage now uses $n(value, 'percent')
Removed legacy lite/src/i18n.ts
Add missing translations
Added visual indicator for missing translations while in dev env: 🌎❗⟨i-am-missing⟩
Description
"foo": { "bar": "..." }
➡️"foo.bar": "..."
This makes code cleaner (and as a side-effect, it now allows to usefoo
+foo.bar
keys)core.
fr.json
anden.json
now required to contains the same keysalt
onimg
$n(value, 'percent')
lite/src/i18n.ts
🌎❗⟨i-am-missing⟩
Checklist
Fixes #007
,See xoa-support#42
,See https://...
)Introduced by
CHANGELOG.unreleased.md