Add Polish language

This commit is contained in:
Ben Grant 2021-09-11 03:24:26 +10:00
parent 4a3c8cbbf7
commit 82b6b55be2
3 changed files with 9 additions and 2 deletions

View file

@ -228,11 +228,11 @@ const Home = ({ offline }) => {
<h2>{t('home:about.name')}</h2>
<Stats>
<Stat>
<StatNumber>{stats.eventCount ?? '700+'}</StatNumber>
<StatNumber>{stats.eventCount ?? '1100+'}</StatNumber>
<StatLabel>{t('home:about.events')}</StatLabel>
</Stat>
<Stat>
<StatNumber>{stats.personCount ?? '1600+'}</StatNumber>
<StatNumber>{stats.personCount ?? '3700+'}</StatNumber>
<StatLabel>{t('home:about.availabilities')}</StatLabel>
</Stat>
</Stats>

View file

@ -54,6 +54,12 @@ const locales = {
weekStart: 0,
timeFormat: '24h',
},
'pl': { // Polish
name: 'Polskie',
import: () => import('dayjs/locale/pl'),
weekStart: 1,
timeFormat: '12h',
},
'ru': { // Russian
name: 'Pусский',
import: () => import('dayjs/locale/ru'),