Skip to content

Commit

Permalink
Merge pull request #369 from LoQue90/fix-kEmergencyStop-translation-e…
Browse files Browse the repository at this point in the history
…sp8266

fix-kEmergencyStop-translation-esp8266
  • Loading branch information
murmeltier08 authored Sep 30, 2023
2 parents d1ae2d5 + 06428c6 commit ada53a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/display.h
Original file line number Diff line number Diff line change
Expand Up @@ -256,13 +256,13 @@ void Displaymachinestate() {
u8g2.setFont(u8g2_font_profont11_tf);
u8g2.drawXBMP(0, 0, logo_width, logo_height, logo_bits_u8g2); // draw temp icon
u8g2.setCursor(32, 24);
u8g2.print("Ist : ");
u8g2.print(langstring_current_temp);
u8g2.print(temperature, 1);
u8g2.print(" ");
u8g2.print((char)176);
u8g2.print("C");
u8g2.setCursor(32, 34);
u8g2.print("Soll: ");
u8g2.print(langstring_set_temp);
u8g2.print(setPoint, 1);
u8g2.print(" ");
u8g2.print((char)176);
Expand Down
6 changes: 3 additions & 3 deletions src/languages.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "userConfig.h"

#if (LANGUAGE == 0) // DE
#if (DISPLAYTEMPLATE == 1) || (DISPLAYTEMPLATE == 2)
#if (DISPLAYTEMPLATE <= 3)
static const char *langstring_set_temp = "Soll: ";
static const char *langstring_current_temp = "Ist: ";
static const char *langstring_brew = "Brew: ";
Expand Down Expand Up @@ -36,7 +36,7 @@ static const char *langstring_bckfactivated[] = {"Backflush aktiviert", "Bruehsc
static const char *langstring_bckfrunning[] = {"Backflush aktiv:", "seit"};

#elif LANGUAGE == 1 // EN
#if (DISPLAYTEMPLATE == 1) || (DISPLAYTEMPLATE == 2)
#if (DISPLAYTEMPLATE <= 3)
static const char *langstring_set_temp = "Set: ";
static const char *langstring_current_temp = "Temp: ";
static const char *langstring_brew = "Brew: ";
Expand Down Expand Up @@ -65,7 +65,7 @@ static const char *langstring_bckfactivated[] = {"Backflush activated", "Please
static const char *langstring_bckfrunning[] = {"Backflush running:", "from"};

#elif LANGUAGE == 2 // ES
#if (DISPLAYTEMPLATE == 1) || (DISPLAYTEMPLATE == 2)
#if (DISPLAYTEMPLATE <= 3)
static const char *langstring_set_temp = "Obj: ";
static const char *langstring_current_temp = "T: ";
static const char *langstring_brew = "Brew: ";
Expand Down

0 comments on commit ada53a2

Please sign in to comment.