Reenable German translation test based on new API

This commit is contained in:
Dirk Baeumer 2021-06-29 09:23:52 +02:00
parent 84d21d968d
commit a63e0a0a21
No known key found for this signature in database
GPG key ID: DD95715335E91385

View file

@ -36,9 +36,11 @@ export function setup(opts: minimist.ParsedArgs) {
throw new Error(`Received wrong localized strings: ${JSON.stringify(result, undefined, 0)}`);
}
return;
} else {
if (result.open.toLowerCase() !== 'öffnen' || result.close.toLowerCase() !== 'schließen' || result.find.toLowerCase() !== 'finden') {
throw new Error(`Received wrong German localized strings: ${JSON.stringify(result, undefined, 0)}`);
}
}
// As soon as strings are translated in the next round we can check for german as well.
});
});
}