This commit is contained in:
Andrea Vos 2024-04-22 18:57:15 +02:00
parent f15492a889
commit 6a619ce32c
2 changed files with 3 additions and 3 deletions

View File

@ -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 ---

View File

@ -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({