diff options
author | Dessalines <tyhou13@gmx.com> | 2019-08-15 14:11:22 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-08-15 14:11:22 -0700 |
commit | 96eefccdc3ff6129fa516c451045e537354e2a69 (patch) | |
tree | 231ebf0e12cf6bf0324ebd15aa48217990c4bc66 /ui/src/i18next.ts | |
parent | 6fe3f6c3eb0c84e3cb5a96b8d7296ecc2468ea3d (diff) |
Squashed commit of the following:
commit 3008b45a89fcfaf4941a9c64d003a684f2385908
Author: Dessalines <happydooby@gmail.com>
Date: Thu Aug 15 14:11:02 2019 -0700
Adding moment translation, and to i18next.ts file.
commit 620be4ecd8d5e9e9cad7418e893feb9e8f521a50
Author: Autom <40275136+AutomCoding@users.noreply.github.com>
Date: Thu Aug 15 19:08:57 2019 +0200
Minor tweaks
Line 74: Change grammatical gender to neutrum for undefined target.
Line 126: Possibly a more accurate translation.
commit e053040c58f731a9b88e9b4a0c69f7f93ba9c929
Author: Autom <40275136+AutomCoding@users.noreply.github.com>
Date: Thu Aug 15 18:55:32 2019 +0200
Translate remaining Swedish
commit b126b59e156a09134a537714565dfaa6b73c610b
Author: Autom <40275136+AutomCoding@users.noreply.github.com>
Date: Thu Aug 15 18:38:20 2019 +0200
Typo (missing apostrophe in contraction)
commit 50a0c6b59006da4f96e98a2b213399f96eb4cff9
Author: Autom <40275136+AutomCoding@users.noreply.github.com>
Date: Thu Aug 15 18:36:22 2019 +0200
Create sv.ts
First half translated
Diffstat (limited to 'ui/src/i18next.ts')
-rw-r--r-- | ui/src/i18next.ts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/ui/src/i18next.ts b/ui/src/i18next.ts index 756bab8b..2bd5d559 100644 --- a/ui/src/i18next.ts +++ b/ui/src/i18next.ts @@ -4,14 +4,16 @@ import { en } from './translations/en'; import { de } from './translations/de'; import { zh } from './translations/zh'; import { fr } from './translations/fr'; +import { sv } from './translations/sv'; // https://github.com/nimbusec-oss/inferno-i18next/blob/master/tests/T.test.js#L66 // TODO don't forget to add moment locales for new languages. const resources = { - en: en, - de: de, - zh: zh, - fr, fr, + en, + de, + zh, + fr, + sv, } function format(value: any, format: any, lng: any) { |