fix(l10n): one term for capabilities, plain federation language

- 'Fähigkeiten' is the German lead term everywhere (welcome step 2,
  integrations panel, federation) — English jargon only as a
  parenthesized technical term on first mention
- 'Enrollment-Token' -> 'Registrierungs-Token', bootstrap label in
  plain words, CA spelled out, enrollment hint now formal address
- formality guard also rejects reader-addressed imperatives

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-07-18 00:04:05 +02:00
parent dfc24d3c58
commit 8d5d1d74bb
6 changed files with 33 additions and 28 deletions

View file

@ -18,10 +18,15 @@ void main() {
// Pronouns + possessives + common 2nd-person-singular verb
// forms. Word-bounded so "individuell" or "Bedingungen"
// never match.
// Also catches reader-addressed imperatives ("Übergib …",
// "Wähle …"). Only unambiguous ones forms that double as
// the app's first-person progress voice ("Starte …") or as
// nouns ("Versuche") stay out.
final informal = RegExp(
r"\b(du|dich|dir|dein|deine|deiner|deinem|deinen|deins|"
r"brauchst|tippst|willst|kannst|hast|bist|machst|siehst|"
r"klickst|wählst|öffnest|startest|versuchst|versuch's)\b",
r"klickst|wählst|öffnest|startest|versuchst|versuch's|"
r"übergib|wähle|klicke|tippe)\b",
caseSensitive: false,
);
final offenders = <String>[];