Skip to content

Commit

Permalink
Merge pull request #364 from fleury08/main
Browse files Browse the repository at this point in the history
Added Czech Language
  • Loading branch information
flixlix authored Sep 8, 2023
2 parents b5d9e7c + 08a3ce5 commit f459b53
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
## Additional Features / Enhancements

- UI Editor!!! 🥳
- Multiple Language support (🇺🇸, 🇩🇪, 🇵🇹, 🇪🇸, 🇧🇷, 🇳🇱, 🇮🇹, 🇫🇷, 🇷🇺, 🇫🇮, 🇵🇱, 🇩🇰, 🇸🇰)
- Multiple Language support (🇺🇸, 🇩🇪, 🇵🇹, 🇪🇸, 🇧🇷, 🇳🇱, 🇮🇹, 🇫🇷, 🇷🇺, 🇫🇮, 🇵🇱, 🇩🇰, 🇸🇰, 🇨🇿)
- Bidirectional Individual Entities ↕️
- Secondary Information for all circles ℹ️
- Display Grid Power Outage ⚡️
Expand Down
73 changes: 73 additions & 0 deletions src/localize/languages/cs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"card": {
"label": {
"car": "Auto",
"motorbike": "Motorka"
}
},
"editor": {
"entity_generator": "Generátor",
"combined": "Kombinovaná entita (jedna entita s kladnými a zápornými hodnotami)",
"separated": "Oddelené subjekty (jeden subjekt pro spotřebu a jeden pro výrobu)",
"custom_colors": "Vlastní barvy",
"secondary_info": "Sekundární informace",
"power_outage": "Výpadek",
"grid": "Síť",
"solar": "Solární",
"battery": "Baterie",
"fossil_fuel_percentage": "Fosilní palivo",
"home": "Dům",
"individual": "Individuální",
"advanced": "Pokročilá nastavení",
"decimals": "Desetinná místa",
"consumption": "Spotřeba",
"production": "Výroba",
"color_icon": "Barva ikony",
"color_circle": "Barva kruhu",
"color_value": "Barva hodnoty",
"color_state_of_charge_value": "Barva",
"display_zero": "Zobrazit nulu",
"display_zero_tolerance": "Zobrazit nulovou toleranci",
"display_state": "Zobrazit stav",
"display_zero_state": "Zobrazení nulového stavu",
"invert_state": "Invertovat stav",
"template": "Šablona",
"unit_of_measurement": "Jednotka",
"unit_white_space": "Jednotka bílé plochy",
"label_alert": "Štítek pro upozornění",
"icon_alert": "Ikona pro upozornění",
"state_alert": "Stav upozornění",
"state_of_charge": "Stav nabití",
"state_of_charge_unit_white_space": "Bílá plocha",
"state_of_charge_unit": "Jednotky",
"state_of_charge_decimals": "Desetinná místa",
"state_of_charge_icon": "Ikona",
"state_type": "Typ stavu",
"subtract_individual": "Odečíst individuálně",
"override_state": "Přepsat stav",
"calculate_flow_rate": "Počítat průtok",
"inverted_animation": "Invertovat animaci",
"show_direction": "Zobrazit směr",
"color": "Barva",
"dashboard_link": "Odkaz na informační panel",
"dashboard_link_label": "Název odkazu na informační panel",
"w_decimals": "Desetinná místa pro Watty",
"kw_decimals": "Desetinná místa pro kilowatty",
"max_flow_rate": "Maximální průtok",
"min_flow_rate": "Minimální průtok",
"max_expected_power": "Maximální očekávaný výkon",
"min_expected_power": "Minimální očekávaný výkon",
"watt_threshold": "Práh wattů na kilowatty",
"display_zero_lines": "Zobrazit nulové řádky",
"clickable_entities": "Entity, na které se dá kliknout",
"use_new_flow_rate_model": "Nový model průtoku",
"use_metadata": "Použít Metadata",
"mode": "Režim",
"show": "Zobrazit",
"hide": "Skrýt",
"custom": "Volitelné",
"grey_out": "Šedý výstup",
"transparency": "Průhlednost",
"grey_color": "Šedá barva"
}
}
2 changes: 2 additions & 0 deletions src/localize/localize.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import * as cs from "./languages/cs.json";
import * as en from "./languages/en.json";
import * as de from "./languages/de.json";
import * as dk from "./languages/dk.json";
Expand All @@ -13,6 +14,7 @@ import * as pl from "./languages/pl.json";
import * as sk from "./languages/sk.json";

const languages: Record<string, unknown> = {
cs,
en,
de,
dk,
Expand Down

0 comments on commit f459b53

Please sign in to comment.