Added more translations

This commit is contained in:
fvanroie 2021-05-06 06:47:21 +02:00
parent 95c37d72fc
commit 04ac201fb2
6 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,7 @@
#if TOUCH_DRIVER == 610
#include "hasp_conf.h"
#include <SPI.h>
#include "Adafruit_STMPE610.h"
#include "ArduinoLog.h"
@ -59,10 +61,11 @@ HASP_ATTRIBUTE_FAST_MEM bool STMPE610_getXY(int16_t* touchX, int16_t* touchY, ui
void STMPE610_init()
{
LOG_INFO(TAG_DRVR, F("STMPE610 " D_SERVICE_STARTING));
if(!touch.begin()) {
Log.trace(TAG_DRVR, F("STMPE610 not found!"));
LOG_ERROR(TAG_DRVR, F("STMPE610 " D_SERVICE_START_FAILED));
} else {
Log.trace(TAG_DRVR, F("STMPE610 touch driver started"));
LOG_INFO(TAG_DRVR, F("STMPE610 " D_SERVICE_STARTED));
}
}
#endif

View File

@ -21,6 +21,7 @@
#define D_FILE_SAVING "Saving %s"
#define D_FILE_SAVED "Saved %s"
#define D_FILE_SAVE_FAILED "Failed to save %s"
#define D_FILE_NOT_FOUND "File not found" // new
#define D_SERVICE_STARTING "Starting..."
#define D_SERVICE_STARTED "Started"

View File

@ -17,6 +17,7 @@
#define D_FILE_LOADING "%s betöltése"
#define D_FILE_LOADED "%s betöltve"
#define D_FILE_LOAD_FAILED "%s betöltése nem sikerült"
#define D_FILE_NOT_FOUND "File not found" // new
#define D_FILE_SAVING "%s mentése"
#define D_FILE_SAVED "%s mentve"

View File

@ -21,6 +21,7 @@
#define D_FILE_SAVING "%s bewaren..."
#define D_FILE_SAVED "%s bewaard"
#define D_FILE_SAVE_FAILED "%s bewaren mislukt"
#define D_FILE_NOT_FOUND "Bestand niet gevonden" // new
#define D_SETTING_ENABLED "Ingeschakeld"
#define D_SETTING_DISABLED "Uitgeschakeld"

View File

@ -21,6 +21,7 @@
#define D_FILE_SAVING "Se salvează %s"
#define D_FILE_SAVED "S-a salvat %s"
#define D_FILE_SAVE_FAILED "Salvarea %s a eșuat"
#define D_FILE_NOT_FOUND "File not found" // new
#define D_SETTING_ENABLED "Activ"
#define D_SETTING_DISABLED "Inactiv"

View File

@ -1920,7 +1920,7 @@ void httpHandleNotFound()
if(statuscode == 500)
httpMessage += F("Internal Server Error");
else
httpMessage += F("File Not Found");
httpMessage += F(D_FILE_NOT_FOUND);
httpMessage += F("\n\nURI: ");
httpMessage += webServer.uri();