From 2c51365573b81b229042a5f37a2e476d378fed23 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 15 Aug 2019 14:11:22 -0700 Subject: Squashed commit of the following: commit 791fdec674ac7431c9daf9046a36d78a27e59555 Author: Dessalines Date: Thu Aug 15 14:11:02 2019 -0700 Adding moment translation, and to i18next.ts file. commit 112d471ff2a7ad779067f3e2c7c257d4f1bf684c 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 1ac2d7eb528901b7cf1093e7f796d3ac0a936d4a Author: Autom <40275136+AutomCoding@users.noreply.github.com> Date: Thu Aug 15 18:55:32 2019 +0200 Translate remaining Swedish commit 774d7e3f6a120cc7defb12f94873307d46abd946 Author: Autom <40275136+AutomCoding@users.noreply.github.com> Date: Thu Aug 15 18:38:20 2019 +0200 Typo (missing apostrophe in contraction) commit 7c49a1883f15d88b3050b045f77d415fb364e24c Author: Autom <40275136+AutomCoding@users.noreply.github.com> Date: Thu Aug 15 18:36:22 2019 +0200 Create sv.ts First half translated --- ui/src/i18next.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'ui/src/i18next.ts') 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) { -- cgit v1.2.3