Few typing corrections and translations

This commit is contained in:
Cristian
2022-09-21 09:37:15 +02:00
parent 6b6e677f8b
commit 01337ddcbf
23 changed files with 69 additions and 69 deletions

View File

@@ -138,7 +138,7 @@ void CTfLiteClass::Invoke()
bool CTfLiteClass::LoadInputImageBasis(CImageBasis *rs)
{
std::string zw = "ClassFlowCNNGeneral::doNeuralNetwork nach LoadInputResizeImage: ";
std::string zw = "ClassFlowCNNGeneral::doNeuralNetwork after LoadInputResizeImage: ";
unsigned int w = rs->width;
unsigned int h = rs->height;
@@ -213,7 +213,7 @@ unsigned char* CTfLiteClass::ReadFileToCharArray(std::string _fn)
if (size == -1)
{
printf("\nFile existiert nicht.\n");
printf("\nFile doesn't exist.\n");
return NULL;
}
@@ -234,7 +234,7 @@ unsigned char* CTfLiteClass::ReadFileToCharArray(std::string _fn)
fread(result, 1, size, f);
fclose(f);
}else {
printf("\nKein freier Speicher vorhanden.\n");
printf("\nNo free memory available.\n");
}

View File

@@ -171,7 +171,7 @@ esp_err_t handler_doflow(httpd_req_t *req)
if (flowisrunning)
{
const char* resp_str = "doFlow läuft bereits und kann nicht nochmal gestartet werden";
const char* resp_str = "doFlow is already running and cannot be started again";
httpd_resp_send(req, resp_str, strlen(resp_str));
return 2;
}
@@ -179,7 +179,7 @@ esp_err_t handler_doflow(httpd_req_t *req)
{
xTaskCreate(&blink_task_doFlow, "blink_doFlow", configMINIMAL_STACK_SIZE * 64, NULL, tskIDLE_PRIORITY+1, &xHandleblink_task_doFlow);
}
const char* resp_str = "doFlow gestartet - dauert ca. 60 Sekunden";
const char* resp_str = "doFlow started - takes about 60 seconds";
httpd_resp_send(req, resp_str, strlen(resp_str));
/* Respond with an empty chunk to signal HTTP response completion */
httpd_resp_send_chunk(req, NULL, 0);
@@ -724,13 +724,13 @@ void task_autodoFlow(void *pvParameter)
if (flowisrunning)
{
#ifdef DEBUG_DETAIL_ON
printf("Autoflow: doFLow laeuft bereits!\n");
printf("Autoflow: doFlow is already running!\n");
#endif
}
else
{
#ifdef DEBUG_DETAIL_ON
printf("Autoflow: doFLow wird gestartet\n");
printf("Autoflow: doFlow is started\n");
#endif
flowisrunning = true;
doflow();