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>
24 lines
1.3 KiB
JSON
24 lines
1.3 KiB
JSON
{
|
|
"mode.find": { "translation": "Find" },
|
|
"mode.vault": { "translation": "Vault" },
|
|
"mode.query": { "translation": "Query" },
|
|
"mode.markdown": { "translation": "Markdown" },
|
|
"find.hint": { "translation": "Search" },
|
|
"replace.hint": { "translation": "Replace" },
|
|
"include.hint": { "translation": "files to include (e.g. *.dart)" },
|
|
"exclude.hint": { "translation": "files to exclude" },
|
|
"toggle.regex": { "translation": "Regular expression" },
|
|
"toggle.caseInsensitive": { "translation": "Case insensitive" },
|
|
"status.searching": { "translation": "Searching…" },
|
|
"status.noResults": { "translation": "No results" },
|
|
"status.counts": { "translation": "{matches} in {files}" },
|
|
"a11y.openMatch": { "translation": "Open {path} line {line}" },
|
|
"button.replaceAll": { "translation": "Replace all" },
|
|
"button.ok": { "translation": "OK" },
|
|
"button.cancel": { "translation": "Cancel" },
|
|
"button.confirm": { "translation": "Confirm" },
|
|
"dialog.dirty.title": { "translation": "Working tree not clean" },
|
|
"dialog.dirty.body": { "translation": "Commit or stash your changes before replacing — git is the only undo." },
|
|
"dialog.confirm.body": { "translation": "Replace {matches} match(es) across {files} file(s)? This cannot be undone in clide." }
|
|
}
|