Skip to content

Commit 6639a68

Browse files
committed
Add hungarian language support
1 parent 1c6ad2e commit 6639a68

File tree

3 files changed

+51
-1
lines changed

3 files changed

+51
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ A example configuration can be found [here](example.yaml)
3333
- **invert_power_pin**(**Optional**: boolean): If set to `true` the output of the power pin will be inverted. Defaults to `false`.
3434
- **power_trip_delay**(**Optional**: Time): Determines the length of the power outage applied to the display unit, which is to trick it into turning on. Defaults to `500ms`.
3535
- **power_message_repetitions**(**Optional**: uint): Determines how many message repetitions are used while turning on the machine. On some hardware combinations a higher value such as `25` is required to turn on the display successfully. Defaults to `5`.
36-
- **language**(**Optional**: int): Status sensor language. Select one of `en-US`, `de-DE`, `it-IT`. Defaults to `en-US`.
36+
- **language**(**Optional**: int): Status sensor language. Select one of `en-US`, `de-DE`, `it-IT`, `hu-HU`. Defaults to `en-US`.
3737
- **model**(**Optional**: int): Different models or revisions may use different commands. This option can be used to specify the command set used by this component. Select one of `EP_2220`, `EP_2235`, `EP_3243`, `EP_3246`. Defaults to `EP_2220`.
3838

3939
## Philips Power switch

components/philips_coffee_machine/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"en-US": "PHILIPS_COFFEE_LANG_en_US",
3030
"de-DE": "PHILIPS_COFFEE_LANG_de_DE",
3131
"it-IT": "PHILIPS_COFFEE_LANG_it_IT",
32+
"hu-HU": "PHILIPS_COFFEE_LANG_hu_HU",
3233
}
3334

3435
philips_coffee_machine_ns = cg.esphome_ns.namespace("philips_coffee_machine")

components/philips_coffee_machine/localization.h

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,55 @@ namespace esphome
104104

105105
const std::string state_steam_selected = "Vapore Selezionato";
106106
const std::string state_steam_brewing = "Erogazione Vapore";
107+
108+
#elif defined(PHILIPS_COFFEE_LANG_hu_HU)
109+
const std::string state_unknown = "Ismeretlen";
110+
const std::string state_off = "Kikapcsolva";
111+
const std::string state_idle = "Készenlét";
112+
const std::string state_cleaning = "Öblítés";
113+
const std::string state_preparing = "Előkészítés";
114+
const std::string state_water_empty = "Víztartály üres";
115+
const std::string state_waste_warning = "Zacctartály megtelt";
116+
const std::string state_error = "Hiba";
117+
const std::string state_internal_error = "Belső hiba";
118+
119+
const std::string state_ground_coffee_selected = "Őrölt kávé kiválasztva";
120+
const std::string state_coffee_programming_mode = "Kávé programozási mód kiválasztva";
121+
const std::string state_coffee_selected = "Kávé kiválasztva";
122+
const std::string state_coffee_2x_selected = "2x kávé kiválasztva";
123+
const std::string state_coffee_brewing = "Kávé készítése";
124+
const std::string state_coffee_2x_brewing = "2x kávé készítése";
125+
126+
const std::string state_ground_espresso_selected = "Őrölt eszpresszó kiválasztva";
127+
const std::string state_espresso_programming_mode = "Eszpresszó programozási mód kiválasztva";
128+
const std::string state_espresso_selected = "Eszpresszó kiválasztva";
129+
const std::string state_espresso_2x_selected = "2x eszpresszó kiválasztva";
130+
const std::string state_espresso_brewing = "Eszpresszó készítése";
131+
const std::string state_espresso_2x_brewing = "2x eszpresszó készítése";
132+
133+
const std::string state_ground_americano_selected = "Őrölt americano kiválasztva";
134+
const std::string state_americano_programming_mode = "Americano programozási mód kiválasztva";
135+
const std::string state_americano_selected = "Americano kiválasztva";
136+
const std::string state_americano_2x_selected = "2x americano kiválasztva";
137+
const std::string state_americano_brewing = "Americano készítése";
138+
const std::string state_americano_2x_brewing = "2x americano készítése";
139+
140+
const std::string state_ground_cappuccino_selected = "Őrölt cappuccino kiválasztva";
141+
const std::string state_cappuccino_programming_mode = "Cappuccino programozási mód kiválasztva";
142+
const std::string state_cappuccino_selected = "Cappuccino kiválasztva";
143+
const std::string state_cappuccino_brewing = "Cappuccino készítése";
144+
145+
const std::string state_ground_latte_selected = "Őrölt latte macchiato kiválasztva";
146+
const std::string state_latte_programming_mode = "Latte macchiato programozási mód kiválasztva";
147+
const std::string state_latte_selected = "Latte macchiato kiválasztva";
148+
const std::string state_latte_brewing = "Latte macchiato készítése";
149+
150+
const std::string state_hot_water_programming_mode = "Forró víz programozási mód kiválasztva";
151+
const std::string state_hot_water_selected = "Forró víz kiválasztva";
152+
const std::string state_hot_water_brewing = "Forró víz készítése";
153+
154+
const std::string state_steam_selected = "Gőz kiválasztva";
155+
const std::string state_steam_brewing = "Gőz készítése";
107156
#else
108157
#define PHILIPS_COFFEE_LANG_DEFAULT
109158
#endif

0 commit comments

Comments
 (0)