Feature modules in a new app, i18n rename, and what the first area port needed

- create-waybetter: the generated app has a feature table (one area, one feature, three modes), a feature module, the registry in its runtime, the cards and the first-run screen in its panel
- waybetter i18n rename --map <file> [--copy]: keys move or are copied in every catalog with each language's own value
- feature context: win (no globals in a module), text() for a feature's words (t('...') is read as a whole catalog key by the i18n tools)
- probes: `when` (only counts while the part of the page it lives in is there)
- cards: a caret, an empty area says its features come later; the first-run screen takes the whole panel
This commit is contained in:
CRTkafa 2026-09-30 19:25:15 +07:00
parent c7c25fa8bc
commit 513200b707
10 changed files with 248 additions and 29 deletions

View file

@ -1112,7 +1112,7 @@
"wb.modes.current": "in use",
"wb.modes.existing": "You already set {app} up. Nothing changes unless you pick a mode.",
"wb.modes.keep": "Keep my changes",
"wb.modes.keepHint": "{count, plural, one {# setting you changed would be replaced.} other {# settings you changed would be replaced.}}",
"wb.modes.keepHint": "Changed by hand: {count}. Those would be replaced.",
"wb.modes.keepQuestion": "Keep your manual changes?",
"wb.modes.keepSetup": "Keep my current setup",
"wb.modes.lede": "Pick a starting point. Every plugin and feature stays individually switchable, and you can change the mode later in Settings.",
@ -1122,6 +1122,7 @@
"wb.modes.sectionHint": "A starting point, not a lock. Changing it never takes a switch away.",
"wb.modes.start": "Start with {mode}",
"wb.modes.title": "How much should {app} change {site}?",
"wb.modes.use": "Use this mode"
"wb.modes.use": "Use this mode",
"wb.features.soon": "Its features arrive in a later update."
}
}