Skip to content

Commit

Permalink
add czech translation
Browse files Browse the repository at this point in the history
  • Loading branch information
niels committed Oct 19, 2020
1 parent 91e4334 commit 1bc7c87
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 129 deletions.
35 changes: 18 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ __Workdays__
perform action only on Monday thru Friday.
If you have the [workday integration](https://www.home-assistant.io/integrations/workday/) installed, you can use it to define your own set of workdays.
The workday integration and its settings will be automatically detected if it is installed.
Note that if you define holidays, they will be excluded from workdays.
Note that if you define holDays, they will be excluded from workdays.

__Weekend__
perform action only on Saturday and Sunday.
If you have the workday integration installed, the weekend will be considered as the inverse as workdays. This means that holidays and your 'fixed day off' are included in the weekend setting.
If you have the workday integration installed, the weekend will be considered as the inverse as workdays. This means that holDays and your 'fixed day off' are included in the weekend setting.


__Custom__
Expand Down Expand Up @@ -520,21 +520,22 @@ The card is available in multiple languages. The card will automatically detect

Currently the following languages are supported:

| Language | Code(s) | Available from | Status / Remarks |
| ----------- | ---------- | -------------- | -------------------------------------------------------------------------------------- |
| Deutsch | de | v1.2.3 | |
| **English** | en | v1.0.0 | Default language. |
| Eesti | et | v1.4.0 | |
| Español | es, es_419 | v1.2.8 | |
| Français | fr | v1.2.3 | |
| Italiano | it | v1.7.5 | |
| Magyar | hu | v1.3.0 | |
| Polski | pl | v1.2.6 | |
| Português | pt, pt-br | v1.3.0 | Translation is brazilian Portuguese, improvements may be needed for native Portuguese. |
| Русский | ru | v1.2.8 | |
| Română | ro | v1.7.3 | |
| Nederlands | nl | v1.2.2 | |
| Norsk | no, nb, nn | v1.2.8 | |
| Language | Code(s) | Available from | Status / Remarks |
| ----------- | ---------- | -------------- | ----------------- |
| Čeština | cs | v1.8.0 | |
| Deutsch | de | v1.2.3 | |
| **English** | en | v1.0.0 | Default language. |
| Eesti | et | v1.4.0 | |
| Español | es, es_419 | v1.2.8 | |
| Français | fr | v1.2.3 | Needs updating. |
| Italiano | it | v1.7.5 | |
| Magyar | hu | v1.3.0 | |
| Polski | pl | v1.2.6 | |
| Português | pt, pt-br | v1.3.0 | Needs updating. |
| Русский | ru | v1.2.8 | Needs updating. |
| Română | ro | v1.7.3 | |
| Nederlands | nl | v1.2.2 | |
| Norsk | no, nb, nn | v1.2.8 | Needs updating. |



Expand Down
200 changes: 100 additions & 100 deletions dist/scheduler-card.js

Large diffs are not rendered by default.

26 changes: 15 additions & 11 deletions src/localize/languages/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,29 @@
},
"services": {
"turn_on": "zapnout",
"turn_on_brightness": "zapnout {na brightness}",
"turn_off": "vypnout",
"close_cover": "zavřít",
"open_cover": "otevřít",
"set_temperature": "nastavená teplota",
"set_to": "nastaven na",
"set_position": "nastavit polohu",
"set_hvac_mode": "nastavit režim",
"set_preset_mode": "nastavit předvolbu",
"set_value": "nastavená hodnota",
"select_option": "vyberte možnost",
"select_source": "vyberte zdroj",
"start": "start"
"set_temperature": "nastavená teplota {na temperature}",
"set_temperature_hvac_mode_heat": "heat {to temperature}",
"set_temperature_hvac_mode_cool": "cool {to temperature}",
"set_cover_position": "nastavit polohu {na position}",
"set_hvac_mode": "nastavit režim {na hvac_mode}",
"set_hvac_mode_hvac_mode_off": "vypnout",
"set_preset_mode": "nastavit předvolbu {na preset_mode}",
"set_value": "nastavená hodnota {na value}",
"select_option": "vyberte možnost {option}",
"select_source": "vyberte zdroj {source}",
"start": "start",
"run_script": "run"
},
"service_parameters": {
"brightness": "jas",
"temperature": "teplota",
"position": "pozice",
"hvac_mode": "režim",
"preset": "přednastavení"
"preset_mode": "přednastavení"
},
"domains": {
"camera": "kamery",
Expand Down Expand Up @@ -115,4 +119,4 @@
"one_additional_task": "1 další úkol",
"x_additional_tasks": "{count} více úkolů"
}
}
}
3 changes: 2 additions & 1 deletion src/localize/localize.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@


import * as cs from './languages/cs.json';
import * as de from './languages/de.json';
import * as en from './languages/en.json';
import * as es from './languages/es.json';
Expand All @@ -19,6 +19,7 @@ type HassElement = {
}

var languages: any = {
cs: cs,
de: de,
en: en,
es: es,
Expand Down

0 comments on commit 1bc7c87

Please sign in to comment.