Skip to content

Commit ecb18db

Browse files
committed
Language pre-processor test fails - reverted
1 parent 0802967 commit ecb18db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sonoff/webserver.ino

+4-4
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ const char HTTP_HEAD[] PROGMEM =
9696
#ifdef BE_MINIMAL
9797
"<div style='text-align:center;color:red;'><h3>" D_MINIMAL_FIRMWARE_PLEASE_UPGRADE "</h3></div>"
9898
#endif
99-
#if MY_LANGUAGE == es-AR
100-
"<div style='text-align:center;'><h3>" D_MODULE " {ha</h3><h2>{h}</h2></div>";
101-
#else
99+
//#if (MY_LANGUAGE == es-AR) // This does not function
100+
// "<div style='text-align:center;'><h3>" D_MODULE " {ha</h3><h2>{h}</h2></div>";
101+
//#else
102102
"<div style='text-align:center;'><h3>{ha " D_MODULE "</h3><h2>{h}</h2></div>";
103-
#endif
103+
//#endif
104104
const char HTTP_SCRIPT_CONSOL[] PROGMEM =
105105
"var sn=0;" // Scroll position
106106
"var id=99;" // Get most of weblog initially

0 commit comments

Comments
 (0)