From dc6ccd4867206a18d2a0e4de9ea57ae53df7e9b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Er=C5=91ss=20Elem=C3=A9r?= <30900475+erelke@users.noreply.github.com> Date: Fri, 12 May 2023 09:32:00 +0200 Subject: [PATCH 1/3] hungarian translation --- src/localize/languages/hu.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/localize/languages/hu.json diff --git a/src/localize/languages/hu.json b/src/localize/languages/hu.json new file mode 100644 index 0000000..db15352 --- /dev/null +++ b/src/localize/languages/hu.json @@ -0,0 +1,17 @@ +{ + "common": { + "version": "Verzió", + "invalid_configuration": "Érvénytelen konfiguráció", + "show_warning": "Figyelmeztetések megjelenítése", + "show_error": "Hibák megjelenítése", + "uv_index": "UV Index", + "uv_risk": "UV kockázat" + }, + "uv_levels": { + "low": "Alacsony", + "moderate": "Mérsékelt", + "high": "Magas", + "very_high": "Nagyon magas", + "extreme": "Extrém" + } +} From c472daad6ef278f61ccccc3a8d0e555d9f162e1e Mon Sep 17 00:00:00 2001 From: el97 Date: Fri, 12 May 2023 21:56:59 +0200 Subject: [PATCH 2/3] Added sv.json Provided a Swedish translation --- src/localize/languages/sv.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/localize/languages/sv.json diff --git a/src/localize/languages/sv.json b/src/localize/languages/sv.json new file mode 100644 index 0000000..2313382 --- /dev/null +++ b/src/localize/languages/sv.json @@ -0,0 +1,17 @@ +{ + "common": { + "version": "Version", + "invalid_configuration": "Ogiltig konfiguration", + "show_warning": "Visa Varning", + "show_error": "Visa Fel", + "uv_index": "UV Index", + "uv_risk": "UV Risk" + }, + "uv_levels": { + "low": "Lågt", + "moderate": "Måttligt", + "high": "Högt", + "very_high": "Väldigt Högt", + "extreme": "Extremt" + } +} From af80c2dc7f304db49c1265a2bdec3eeb8fed7c54 Mon Sep 17 00:00:00 2001 From: el97 Date: Fri, 12 May 2023 22:02:30 +0200 Subject: [PATCH 3/3] Added sv.json Added sv.json and changed the order so it's alphabetical. --- src/localize/localize.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/localize/localize.ts b/src/localize/localize.ts index b2d92c4..975f387 100644 --- a/src/localize/localize.ts +++ b/src/localize/localize.ts @@ -1,18 +1,20 @@ import * as de from './languages/de.json'; import * as en from './languages/en.json'; import * as fr from './languages/fr.json'; -import * as pt from './languages/pt.json'; -import * as nl from './languages/nl.json'; import * as it from "./languages/it.json"; +import * as nl from './languages/nl.json'; +import * as pt from './languages/pt.json'; +import * as sv from "./languages/sv.json"; // eslint-disable-next-line @typescript-eslint/no-explicit-any const languages: any = { de: de, en: en, fr: fr, - pt: pt, - nl: nl, it: it, + nl: nl, + pt: pt, + sv: sv, }; export const CARD_LANGUAGES = [...Object.keys(languages), ''].sort();