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:
Liam JACK
2020-04-17 06:42:38 +00:00
committed by GitHub
parent 2a6ad969cc
commit b17368470d
4 changed files with 153 additions and 4 deletions

View File

@@ -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');