mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
Polish translation improvements
Strange, but if i use capital letters in Polish translation for "ON' and "OFF" (local_translations.h), I'm getting compile error. So instead of whole words in capital letters I used abbreviations in lower case (more useful, IMHO)
This commit is contained in:
@@ -726,7 +726,7 @@ void Boiler::check_active(const bool force) {
|
||||
val = b ? EMS_VALUE_BOOL_ON : EMS_VALUE_BOOL_OFF;
|
||||
if (heatingActive_ != val || force) {
|
||||
heatingActive_ = val;
|
||||
char s[7];
|
||||
char s[12];
|
||||
Mqtt::publish(F_(heating_active), Helpers::render_boolean(s, b));
|
||||
}
|
||||
|
||||
@@ -750,7 +750,7 @@ void Boiler::check_active(const bool force) {
|
||||
val = b ? EMS_VALUE_BOOL_ON : EMS_VALUE_BOOL_OFF;
|
||||
if (tapwaterActive_ != val || force) {
|
||||
tapwaterActive_ = val;
|
||||
char s[7];
|
||||
char s[12];
|
||||
Mqtt::publish(F_(tapwater_active), Helpers::render_boolean(s, b));
|
||||
EMSESP::tap_water_active(b); // let EMS-ESP know, used in the Shower class
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user