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:
parent
dfc24d3c58
commit
8d5d1d74bb
6 changed files with 33 additions and 28 deletions
|
|
@ -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>[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue