Skip to content

Commit

Permalink
Add Slovak translation (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marlo461 authored Feb 2, 2022
1 parent 4f0c0f7 commit 6557c35
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ This card supports translations. Please, help to add more translations and impro
- Italiano (Italian)
- Nederlands (Dutch)
- Polski (Polish)
- Slovenský (Slovak)
- Svenska (Swedish)
- [_Your language?_](./CONTRIBUTING.md#how-to-add-translation)

Expand Down
2 changes: 2 additions & 0 deletions src/localize.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import * as nl from './translations/nl.json';
import * as pl from './translations/pl.json';
import * as et from './translations/et.json';
import * as es from './translations/es.json';
import * as sk from './translations/sk.json';
import * as sv from './translations/sv.json';
import * as hr from './translations/hr.json';

Expand All @@ -22,6 +23,7 @@ var languages = {
it,
es,
hr,
sk,
sv
};

Expand Down
58 changes: 58 additions & 0 deletions src/translations/sk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"$schema": "./schema/schema.json",
"common": {
"name": "Meteoalarm Card",
"description": "Karta Meteoalarm vás upozorní na aktuálne udalosti počasia.",
"unavailable": {
"long": "Integrácia nie je k dispozícii",
"short": "Nedostupné"
}
},
"error": {
"missing_entity": "Je potrebné zadať entitu!",
"invalid_integration": "Táto integrácia nie je platná!",
"automatic_failed": "Automatická detekcia integrácie zlyhala!",
"entity_invalid": "Túto entitu {entity} nemožno analyzovať vybratou integráciou {integration}!"
},
"editor": {
"entity": "Entity",
"integration": "Integrácia",
"required": "Požadovaný",
"automatic": "Automaticky",
"recommended": "Odporúčané",
"override_headline": "Prepísať nadpis",
"hide_when_no_warning": "Skryť, keď nie sú žiadne upozornenia"
},
"events": {
"no_warnings": "Žiadne upozornenia",
"wind": "vietor",
"snow_ice": "sneh/ľad",
"thunderstorms": "búrky",
"fog": "hmla",
"hight_temperature": "extrémne vysoká teplota",
"low_temperature": "extrémne nízka teplota",
"coastal_event": "pobrežná udalosť",
"forest_fire": "lesný požiar",
"avalanches": "lavíny",
"rain": "dážď",
"flood": "povodeň",
"rain_flood": "dažďová povodeň"
},
"messages": {
"yellow": {
"event": "Žlté {event} varovanie",
"generic": "Žlté varovanie",
"color": "Žlté"
},
"orange": {
"event": "Oranžové {event} varovanie",
"generic": "Oranžové varovanie",
"color": "Oranžové"
},
"red": {
"event": "Červené {event} varovanie",
"generic": "Červené varovanie",
"color": "Červené"
}
}
}

0 comments on commit 6557c35

Please sign in to comment.