(trans) respect disabled pronouns.null and pronouns.emoji

This commit is contained in:
Valentyne Stigloher 2024-07-05 18:53:59 +02:00
parent 28f31fa9af
commit ddd074b2bc

View File

@ -102,6 +102,14 @@ export function listMissingTranslations(
return false; return false;
} }
if (!config.pronouns.null && keyMatches('pronouns.null.')) {
return false;
}
if (!config.pronouns.emoji && keyMatches('pronouns.emoji.')) {
return false;
}
// locale specific flags // locale specific flags
const match = k.match(localeSpecificFlagAlt); const match = k.match(localeSpecificFlagAlt);
if (match && match[1] !== config.locale) { if (match && match[1] !== config.locale) {