mirror of
https://github.com/SomboChea/ui
synced 2026-01-19 01:25:51 +07:00
feat: Add french language + minor english language fix (#459)
* feat: Add french language + minor english language fix * Added fr-FR to i18n config + DayJS locale loader Co-authored-by: Liam JACK <1422590-liamjack@users.noreply.gitlab.com>
This commit is contained in:
@@ -44,6 +44,12 @@ function loadDayJSLocale() {
|
||||
dayjs.locale('es');
|
||||
}
|
||||
break;
|
||||
case 'fr-fr':
|
||||
{
|
||||
require('dayjs/locale/fr');
|
||||
dayjs.locale('fr');
|
||||
}
|
||||
break;
|
||||
case 'zh-cn':
|
||||
{
|
||||
require('dayjs/locale/zh-cn');
|
||||
|
||||
Reference in New Issue
Block a user