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

@@ -414,7 +414,7 @@ static esp_err_t download_get_handler(httpd_req_t *req)
/* Close file after sending complete */
fclose(fd);
ESP_LOGI(TAG_FILESERVER, "File sending complete");
ESP_LOGI(TAG_FILESERVER, "File successfully sent");
/* Respond with an empty chunk to signal HTTP response completion */
httpd_resp_send_chunk(req, NULL, 0);
@@ -676,7 +676,7 @@ static esp_err_t delete_post_handler(httpd_req_t *req)
/* Redirect onto root to see the updated file list */
httpd_resp_set_status(req, "303 See Other");
httpd_resp_set_hdr(req, "Location", directory.c_str());
httpd_resp_sendstr(req, "File deleted successfully");
httpd_resp_sendstr(req, "File successfully deleted");
return ESP_OK;
}