mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -04:00
(lint)
This commit is contained in:
parent
f15492a889
commit
6a619ce32c
@ -11,14 +11,14 @@ const loadMiastaMaszerujace = (filename) => {
|
|||||||
'LGBTQ',
|
'LGBTQ',
|
||||||
e.date.month,
|
e.date.month,
|
||||||
dayYear(e.date.day, e.date.year),
|
dayYear(e.date.day, e.date.year),
|
||||||
EventLevel.Day
|
EventLevel.Day,
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.warn(e);
|
console.warn(e);
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
||||||
export default [
|
export default [
|
||||||
// --- months ---
|
// --- months ---
|
||||||
|
@ -178,7 +178,7 @@ export const calculateStats = async (
|
|||||||
const translations = loadSumlFromBase(`locale/${locale}/translations`) as Translations;
|
const translations = loadSumlFromBase(`locale/${locale}/translations`) as Translations;
|
||||||
const config = loadSumlFromBase(`locale/${locale}/config`) as Config;
|
const config = loadSumlFromBase(`locale/${locale}/config`) as Config;
|
||||||
const missingTranslations = listMissingTranslations(translations, baseTranslations, config)
|
const missingTranslations = listMissingTranslations(translations, baseTranslations, config)
|
||||||
.filter(k => !k.startsWith('flags_alt.'))
|
.filter((k) => !k.startsWith('flags_alt.'))
|
||||||
.length;
|
.length;
|
||||||
|
|
||||||
stats.push({
|
stats.push({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user