Add Brazilian Portuguese to the language picker

This commit is contained in:
Ben Grant 2022-08-15 15:32:52 +10:00
parent 644463e14d
commit 722750b2be

View file

@ -60,12 +60,24 @@ const locales = {
weekStart: 1, weekStart: 1,
timeFormat: '12h', timeFormat: '12h',
}, },
'pt-BR': { // Portuguese (Brazil)
name: 'Português (do Brasil)',
import: () => import('dayjs/locale/pt-br'),
weekStart: 0,
timeFormat: '24h',
},
'ru': { // Russian 'ru': { // Russian
name: 'Pусский', name: 'Pусский',
import: () => import('dayjs/locale/ru'), import: () => import('dayjs/locale/ru'),
weekStart: 1, weekStart: 1,
timeFormat: '24h', timeFormat: '24h',
}, },
// 'zh-CN': { // Chinese
// name: '中文',
// import: () => import('dayjs/locale/zh-cn'),
// weekStart: 1,
// timeFormat: '12h',
// },
}; };
export default locales; export default locales;