added chinese translations (#1310)

This commit is contained in:
Kevin Papst
2019-12-09 12:56:38 +01:00
committed by GitHub
parent d62e1c4468
commit 261b4646e4
34 changed files with 1836 additions and 72 deletions

View File

@@ -40,7 +40,7 @@ export default class KimaiLoader {
constructor(configurations, translations) {
// set the current locale for all javascript components
moment.locale(configurations['locale']);
moment.locale(configurations['locale'].replace('_', '-').toLowerCase());
const kimai = new KimaiContainer(
new KimaiConfiguration(configurations),