Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
t1gr0u authored May 25, 2023
2 parents 28abe02 + 899dca2 commit 56bbaec
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 6 deletions.
17 changes: 17 additions & 0 deletions src/localize/languages/hu.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
17 changes: 17 additions & 0 deletions src/localize/languages/sv.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
16 changes: 10 additions & 6 deletions src/localize/localize.ts
Original file line number Diff line number Diff line change
@@ -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();
Expand Down

0 comments on commit 56bbaec

Please sign in to comment.