mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-26 22:43:06 -04:00
(trans) make links.blogLatest optional when locale has no blog
This commit is contained in:
parent
a75e5fd169
commit
393d67859f
@ -128,6 +128,10 @@ export function listMissingTranslations(
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!config.blog && keyMatches('links.blogLatest')) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (config.api === null && keyMatches('profile.header', 'api.example', 'api.query')) {
|
if (config.api === null && keyMatches('profile.header', 'api.example', 'api.query')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user