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" + } +} 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" + } +} diff --git a/src/localize/localize.ts b/src/localize/localize.ts index 059086c..15c5f0a 100644 --- a/src/localize/localize.ts +++ b/src/localize/localize.ts @@ -1,20 +1,24 @@ +import * as cs from "./languages/cs.json"; 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 hu from './languages/hu.json'; import * as it from "./languages/it.json"; -import * as cs from "./languages/cs.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 = { + cs: cs, de: de, en: en, fr: fr, - pt: pt, - nl: nl, + hu: hu, it: it, - cs: cs, + nl: nl, + pt: pt, + sv: sv, }; export const CARD_LANGUAGES = [...Object.keys(languages), ''].sort();