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>
28 lines
1.4 KiB
JSON
28 lines
1.4 KiB
JSON
{
|
|
"collapser.expand": { "translation": "Expand" },
|
|
"collapser.collapse": { "translation": "Collapse" },
|
|
"collapser.expanded": { "translation": "expanded" },
|
|
"collapser.collapsed": { "translation": "collapsed" },
|
|
"toast.dismiss": { "translation": "Dismiss notification" },
|
|
"lightbox.close": { "translation": "close" },
|
|
"lightbox.hint": { "translation": "scroll to zoom · double-click to reset · Esc to close" },
|
|
"tab.new": { "translation": "New tab" },
|
|
"exline.notCommand": { "translation": "Not an editor command" },
|
|
"spine.expandSuffix": { "translation": "click to expand" },
|
|
"pane.close": { "translation": "Close pane" },
|
|
"pane.header": { "translation": "pane header: {title}" },
|
|
"reader.back": { "translation": "Back" },
|
|
"reader.forward": { "translation": "Forward" },
|
|
"reader.jumpToPin": { "translation": "Jump to pin" },
|
|
"reader.edit": { "translation": "Edit in editor" },
|
|
"reader.pin": { "translation": "Pin" },
|
|
"reader.unpin": { "translation": "Unpin" },
|
|
"link.openInEditor": { "translation": "Open in editor" },
|
|
"resize.axis.width": { "translation": "width" },
|
|
"resize.axis.height": { "translation": "height" },
|
|
"resize.sidebar": { "translation": "Sidebar {axis}" },
|
|
"resize.contextPanel": { "translation": "Context panel {axis}" },
|
|
"resize.slot": { "translation": "{slot} {axis}" },
|
|
"resize.pixels": { "translation": "{n} pixels" }
|
|
}
|