@@ -1625,12 +1625,12 @@ static void webserver_status() {
1625
1625
#endif
1626
1626
versionHtml.replace (" /" , FPSTR (BR_TAG));
1627
1627
add_table_row_from_value (page_content, FPSTR (INTL_FIRMWARE), versionHtml);
1628
- add_table_row_from_value (page_content, F (" Free Memory " ), String (ESP.getFreeHeap ()));
1628
+ add_table_row_from_value (page_content, F (INTL_FREE_MEMORY ), String (ESP.getFreeHeap ()));
1629
1629
#if defined(ESP8266)
1630
- add_table_row_from_value (page_content, F (" Heap Fragmentation " ), String (ESP.getHeapFragmentation ()), " %" );
1630
+ add_table_row_from_value (page_content, F (INTL_HEAP_FRAGMENTATION ), String (ESP.getHeapFragmentation ()), " %" );
1631
1631
#endif
1632
1632
if (cfg::auto_update) {
1633
- add_table_row_from_value (page_content, F (" Last OTA " ), delayToString (millis () - last_update_attempt));
1633
+ add_table_row_from_value (page_content, F (INTL_LAST_OVER_THE_AIR ), delayToString (millis () - last_update_attempt));
1634
1634
}
1635
1635
#if defined(ESP8266)
1636
1636
add_table_row_from_value (page_content, F (" NTP Sync" ), String (sntp_time_set));
@@ -1644,17 +1644,17 @@ static void webserver_status() {
1644
1644
ntpinfo.print (FPSTR (BR_TAG));
1645
1645
}
1646
1646
ntpinfo.printf_P (PSTR (" %s (%s)" ), IPAddress (*sntp).toString ().c_str (), name ? name : " ?" );
1647
- ntpinfo.printf_P (PSTR (" reachable : %s" ), sntp_getreachability (i) ? " Yes " : " No " );
1647
+ ntpinfo.printf_P (PSTR (" %s : %s" ), F (INTL_REACHABLE), sntp_getreachability (i) ? F (INTL_YES) : F (INTL_NO) );
1648
1648
}
1649
1649
}
1650
1650
add_table_row_from_value (page_content, F (" NTP Info" ), ntpinfo);
1651
1651
#endif
1652
1652
1653
1653
time_t now = time (nullptr );
1654
1654
add_table_row_from_value (page_content, FPSTR (INTL_TIME_UTC), ctime (&now));
1655
- add_table_row_from_value (page_content, F (" Uptime " ), delayToString (millis () - time_point_device_start_ms));
1655
+ add_table_row_from_value (page_content, F (INTL_UPTIME ), delayToString (millis () - time_point_device_start_ms));
1656
1656
#if defined(ESP8266)
1657
- add_table_row_from_value (page_content, F (" Reset Reason " ), ESP.getResetReason ());
1657
+ add_table_row_from_value (page_content, F (INTL_RESET_REASON ), ESP.getResetReason ());
1658
1658
#endif
1659
1659
if (cfg::sds_read) {
1660
1660
page_content += FPSTR (EMPTY_ROW);
@@ -1696,7 +1696,7 @@ static void webserver_status() {
1696
1696
}
1697
1697
1698
1698
if (last_sendData_returncode != 0 ) {
1699
- add_table_row_from_value (page_content, F (" Data Send Return " ),
1699
+ add_table_row_from_value (page_content, F (INTL_DATA_SEND_RETURN_CODE ),
1700
1700
last_sendData_returncode > 0 ? String (last_sendData_returncode) : HTTPClient::errorToString (last_sendData_returncode));
1701
1701
}
1702
1702
if (cfg::sds_read) {
0 commit comments