Skip to content

Commit

Permalink
Merge pull request #278 from pavolholes/2.0
Browse files Browse the repository at this point in the history
Add Slovak language to translations
  • Loading branch information
dwainscheeren authored Nov 30, 2021
2 parents 6191de2 + bab816a commit c0bb12a
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 2 deletions.
3 changes: 2 additions & 1 deletion custom_components/dwains_dashboard/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"Romanian",
"Swedish",
"Dutch",
"Slovak"
]
SIDEPANEL_TITLE = "sidepanel_title"
SIDEPANEL_ICON = "sidepanel_icon"
Expand Down Expand Up @@ -67,4 +68,4 @@ async def async_step_init(self, user_input=None):
return self.async_show_form(
step_id="init",
data_schema=vol.Schema(schema)
)
)
117 changes: 117 additions & 0 deletions custom_components/dwains_dashboard/lovelace/translations/sk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
# Translation by pavolholes

sk:
greetings:
good_morning: 'Dobré Ráno'
good_afternoon: 'Dobré Popoludnie'
good_evening: 'Dobrý Večer'

house_information:
title: 'Informácie o domove'
favorites: 'Obľúbené'
activity: 'Aktivity (Dvere, okná, pohyb)'

motion:
title: 'Pohyb'
title_plural: 'Pohyby'

light:
title_plural: 'Svetlá'

door:
title: 'Dvere'
title_plural: 'Dverí'

window:
title: 'Okno'
title_plural: 'Okná'

climate:
title: 'Teplota'
title_plural: 'Teploty'
inside: 'vnútri'
outside: 'Vonku'
idle: 'nečinný'
heating: 'Ohrev na'
off_text: 'Vypnuté'
auto: 'Program'
heat: 'Ohrev'
cool: 'Chladenie'
heat_cool: 'Ohrev/Chladenie'
dry: 'Suchý'
fan_only: 'Iba ventilátor'
this_room: 'Táto izba'
temperature: 'Teplota'
humidity: 'Vlhkosť'

cover:
title_plural: 'Kryty'

device:
title_plural: 'Zariadenia'

safety:
title_plural: 'Bezpečnostné prvky'

media_player:
title_plural: 'Prehrávače'

vacuum:
title: 'Vysávač'
title_plural: 'Vysávače'

plant:
title_plural: 'Rastliny'

home:
title: 'Prehľad'

rooms:
title: 'Miestnosti'

all_lights:
title: 'Všetky svetlá'

scenes:
title: 'Scény'
not_defined: 'Žiadne scény nie sú definované'

cameras:
title: 'Kamery'
not_defined: 'Žiadne kamery nie sú definované'

more_page:
title: 'Viac'
house_info: 'Info o domácnosti'
house_data:
title: 'Dáta domácnosti'
all_sensors: 'Všetky senzory'
all_batteries: 'Všetky batérie'
config: 'Nastavenia'
developer_tools: 'Vývojárske nástroje'
settings:
title: 'Nastavenie témy'
reload_configuration: 'Obnoviť nastavenie témy'
theme_docs: 'Dokumentácia témy'
support_paypal: 'Podporiť/Darovať pomocu PayPal'
buy_coffee: 'Kúp mi kávu'
by: 'Od'
version: 'Verzia'
update_available: 'Je dostupná aktualizácia pre Dwains Theme!'
more_page_addons: 'Viac doplnkov'

more_entities:
title: 'Viac objektov'

lock:
title_plural: 'Zámky'

alarm:
title: 'Alarm'

weather:
title: 'Počasie'

vibration:
title: 'Vibrácie'
title_plural: 'Vibračné Senzory'
3 changes: 2 additions & 1 deletion custom_components/dwains_dashboard/process_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ def fromjson(value):
"Norwegian": "no",
"Romanian": "ro",
"Swedish": "se",
"Dutch": "nl"
"Dutch": "nl",
"Slovak": "sk"
}

def load_yamll(fname, secrets = None, args={}):
Expand Down

0 comments on commit c0bb12a

Please sign in to comment.