Move the catalogs out of lib/kernel/src/i18n/catalog/ into assets/i18n/, and
switch the layout from a `{namespace}_{locale}.json` filename to a per-locale
DIRECTORY: assets/i18n/en_us/{namespace}.json. Adding a language is now just a
new folder (assets/i18n/nl_nl/, nl_be, en_eu, …) of the same namespace files —
no renames — which is cleaner to maintain and mirrors how an external
extension ships its own catalog. AssetCatalogLoader/FileCatalogLoader resolve
`<root>/<locale>/<namespace>.json`; pubspec bundles the locale folder.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
17 lines
793 B
JSON
17 lines
793 B
JSON
{
|
|
"tab.title": { "translation": "pql" },
|
|
"tab.links.title": { "translation": "Links" },
|
|
"filter.markdown.hint": { "translation": "Filter markdown…" },
|
|
"loading": { "translation": "Loading…" },
|
|
"empty.markdown": { "translation": "No markdown files found." },
|
|
"search.vault.hint": { "translation": "Search vault…" },
|
|
"search.query.hint": { "translation": "PQL query…" },
|
|
"backlinks.empty": { "translation": "Open a file to see its links." },
|
|
"backlinks.loading": { "translation": "Loading…" },
|
|
"backlinks.semantics": { "translation": "backlinks for {path}" },
|
|
"group.backlinks": { "translation": "Backlinks" },
|
|
"group.outlinks": { "translation": "Outlinks" },
|
|
"group.label": { "translation": "{label} ({count})" },
|
|
"group.none": { "translation": "None" }
|
|
}
|