mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-02 00:06:23 +00:00
test: catch the informal "passe an" in german strings
This commit is contained in:
@@ -22,7 +22,7 @@ function strings(obj: Record<string, unknown>, prefix = '', out: Array<[string,
|
|||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
|
||||||
const INFORMAL = /\b(du|dich|dir|dein|deine|deinen|deinem|deiner|deines)\b|(?:^|[.!?]\s+)(Öffne|Tippe|Wähle|Prüfe|Übertrage)\s/i;
|
const INFORMAL = /\b(du|dich|dir|dein|deine|deinen|deinem|deiner|deines)\b|(?:^|[.!?]\s+)(Öffne|Tippe|Wähle|Prüfe|Übertrage|Passe)\s/i;
|
||||||
|
|
||||||
describe('German phone strings', () => {
|
describe('German phone strings', () => {
|
||||||
it('say "Sie", not "du"', () => {
|
it('say "Sie", not "du"', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user