Add D_HTTP_SENDING_PAGE

This commit is contained in:
fvanroie 2021-05-01 23:58:25 +02:00
parent e4ac45d9a2
commit bfb730a212
5 changed files with 8 additions and 5 deletions

View File

@ -132,6 +132,7 @@
#define D_HTTP_MAIN_MENU "Main Menu"
#define D_HTTP_REBOOT "Restart"
#define D_HTTP_CONFIGURATION "Configuration"
#define D_HTTP_SENDING_PAGE "Sent %S page to %s" // New
#define D_HTTP_FOOTER "by Francis Van Roie"
#define D_INFO_VERSION "Version"

View File

@ -132,7 +132,8 @@
#define D_HTTP_MAIN_MENU "Főmenü"
#define D_HTTP_REBOOT "Újraindítás"
#define D_HTTP_CONFIGURATION "Beállítások"
#define D_HTTP_FOOTER "by Francis Van Roie" // New
#define D_HTTP_SENDING_PAGE "Sent %S page to %s" // New
#define D_HTTP_FOOTER "by Francis Van Roie" // New
// New list:
#define D_INFO_VERSION "Version"

View File

@ -131,6 +131,7 @@
#define D_HTTP_MAIN_MENU "Hoofdmenu"
#define D_HTTP_REBOOT "Herstarten"
#define D_HTTP_CONFIGURATION "Configuratie"
#define D_HTTP_SENDING_PAGE "Pagina %S verstuurd naar %s" // New
#define D_HTTP_FOOTER "door Francis Van Roie"
#define D_INFO_VERSION "Versie"

View File

@ -132,7 +132,8 @@
#define D_HTTP_MAIN_MENU "Meniu principal"
#define D_HTTP_REBOOT "Repornire"
#define D_HTTP_CONFIGURATION "Setări"
#define D_HTTP_FOOTER "by Francis Van Roie" // New
#define D_HTTP_SENDING_PAGE "Sent %S page to %s" // New
#define D_HTTP_FOOTER "by Francis Van Roie" // New
// New list:
#define D_INFO_VERSION "Version"

View File

@ -244,10 +244,9 @@ bool httpIsAuthenticated(const __FlashStringHelper* fstr_page)
if(!httpIsAuthenticated()) return false;
#if defined(ARDUINO_ARCH_ESP32) || defined(ARDUINO_ARCH_ESP8266)
LOG_TRACE(TAG_HTTP, F("Sending %S page to client connected from: %s"), fstr_page,
webServer.client().remoteIP().toString().c_str());
LOG_TRACE(TAG_HTTP, F(D_HTTP_SENDING_PAGE), fstr_page, webServer.client().remoteIP().toString().c_str());
#else
// LOG_INFO(TAG_HTTP,F("Sending %s page to client connected from: %s"), page,
// LOG_INFO(TAG_HTTP,F(D_HTTP_SENDING_PAGE), page,
// String(webServer.client().remoteIP()).c_str());
#endif