diff options
author | Dessalines <tyhou13@gmx.com> | 2019-08-17 13:32:59 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-08-17 13:32:59 -0700 |
commit | 01738fb554b7c5407a8a01c5b08950313c662e93 (patch) | |
tree | 9d5836b5470035c82ad868a52c7db40e91f4564c /ui | |
parent | 4e8b9701dff940658765f1492894d0618a4f5f01 (diff) |
Adding more settings for german.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/src/components/moment-time.tsx | 2 | ||||
-rw-r--r-- | ui/src/utils.ts | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ui/src/components/moment-time.tsx b/ui/src/components/moment-time.tsx index 83c97fb3..cadd4922 100644 --- a/ui/src/components/moment-time.tsx +++ b/ui/src/components/moment-time.tsx @@ -1,6 +1,6 @@ import { Component } from 'inferno'; import * as moment from 'moment'; -// import 'moment/locale/de'; +import 'moment/locale/de'; import 'moment/locale/zh-cn'; import 'moment/locale/fr'; import 'moment/locale/sv'; diff --git a/ui/src/utils.ts b/ui/src/utils.ts index c0a62114..27dcdca3 100644 --- a/ui/src/utils.ts +++ b/ui/src/utils.ts @@ -182,6 +182,8 @@ export function getMomentLanguage(): string { lang = 'sv'; } else if (lang.startsWith('fr')) { lang = 'fr'; + } else if (lang.startsWith('de')) { + lang = 'de'; } else { lang = 'en'; } |