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:
pswid
2022-10-17 18:21:57 +02:00
parent 5c675c7ce7
commit 49414adfd2
15 changed files with 125 additions and 82 deletions

View File

@@ -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
}