mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-26 06:23:35 -04:00
(trans) respect disabled pronouns.null and pronouns.emoji
This commit is contained in:
parent
28f31fa9af
commit
ddd074b2bc
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user