Add Polish language
This commit is contained in:
parent
4a3c8cbbf7
commit
82b6b55be2
3 changed files with 9 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue