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>
27 lines
1.4 KiB
JSON
27 lines
1.4 KiB
JSON
{
|
|
"menu.file": { "translation": "File" },
|
|
"menu.view": { "translation": "View" },
|
|
"menu.help": { "translation": "Help" },
|
|
"about.version": { "translation": "Version" },
|
|
"about.commit": { "translation": "Commit" },
|
|
"about.built": { "translation": "Built" },
|
|
"about.repository": { "translation": "Repository" },
|
|
"licenses.heading": { "translation": "Bundled dependencies" },
|
|
"licenses.unavailable": { "translation": "Licenses unavailable." },
|
|
"licenses.loading": { "translation": "Loading…" },
|
|
"button.close": { "translation": "Close" },
|
|
"button.cancel": { "translation": "Cancel" },
|
|
"button.open": { "translation": "Open" },
|
|
"button.opening": { "translation": "Opening…" },
|
|
"button.ok": { "translation": "OK" },
|
|
"dialog.openProject.title": { "translation": "Open project" },
|
|
"dialog.openProject.body": { "translation": "Enter the path to a git repository." },
|
|
"dialog.openProject.error": { "translation": "Not a git repository" },
|
|
"dialog.notRepo.title": { "translation": "No git repo found" },
|
|
"dialog.notRepo.body": { "translation": "A clide project root requires a git repository." },
|
|
"command.file.openFolder": { "translation": "File: Open Folder…" },
|
|
"command.file.newWindow": { "translation": "File: New Window" },
|
|
"command.file.closeWorkspace": { "translation": "File: Close Project" },
|
|
"command.help.about": { "translation": "Help: About clide" }
|
|
}
|