From 8d8c7f8a711491296a0bd426b746670d00f5d814 Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Thu, 23 Mar 2023 23:30:55 +0100 Subject: [PATCH] Fixed typo: Successfull --> Successful --- README.md | 2 +- lib/Hoymiles/src/HoymilesRadio.cpp | 4 ++-- src/WebApi_security.cpp | 2 +- webapp/src/locales/en.json | 2 +- webapp/src/views/ConsoleInfoView.vue | 2 +- webapp/src/views/HomeView.vue | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2f823ea..66d1926 100644 --- a/README.md +++ b/README.md @@ -216,7 +216,7 @@ It is also possible to flash it via the web tools which might be more convenient Once you have your OpenDTU running and connected to WLAN, you can do further updates through the web interface. Navigate to Settings --> Firmware upgrade and press the browse button. Select the firmware file from your local computer. -You'll find the firmware file (after a successfull build process) under `.pio/build/generic/firmware.bin`. +You'll find the firmware file (after a successful build process) under `.pio/build/generic/firmware.bin`. If you downloaded a precompiled zip archive, unpack it and choose `opendtu-generic.bin`. diff --git a/lib/Hoymiles/src/HoymilesRadio.cpp b/lib/Hoymiles/src/HoymilesRadio.cpp index 7a463b6..af85b8d 100644 --- a/lib/Hoymiles/src/HoymilesRadio.cpp +++ b/lib/Hoymiles/src/HoymilesRadio.cpp @@ -25,7 +25,7 @@ void HoymilesRadio::init(SPIClass* initialisedSpiBus, uint8_t pinCE, uint8_t pin _radio->setRetries(0, 0); _radio->maskIRQ(true, true, false); // enable only receiving interrupts if (_radio->isChipConnected()) { - Hoymiles.getMessageOutput()->println(F("Connection successfull")); + Hoymiles.getMessageOutput()->println(F("Connection successful")); } else { Hoymiles.getMessageOutput()->println(F("Connection error!!")); } @@ -121,7 +121,7 @@ void HoymilesRadio::loop() sendRetransmitPacket(verifyResult); } else { - // Successfull received all packages + // Successful received all packages Hoymiles.getMessageOutput()->println(F("Success")); _commandQueue.pop(); _busyFlag = false; diff --git a/src/WebApi_security.cpp b/src/WebApi_security.cpp index 91f0927..7df629f 100644 --- a/src/WebApi_security.cpp +++ b/src/WebApi_security.cpp @@ -120,7 +120,7 @@ void WebApiSecurityClass::onAuthenticateGet(AsyncWebServerRequest* request) AsyncJsonResponse* response = new AsyncJsonResponse(); JsonObject retMsg = response->getRoot(); retMsg[F("type")] = F("success"); - retMsg[F("message")] = F("Authentication successfull!"); + retMsg[F("message")] = F("Authentication successful!"); retMsg[F("code")] = WebApiError::SecurityAuthSuccess; response->setLength(); diff --git a/webapp/src/locales/en.json b/webapp/src/locales/en.json index a0a3ff0..ed689a8 100644 --- a/webapp/src/locales/en.json +++ b/webapp/src/locales/en.json @@ -86,7 +86,7 @@ "9009": "Second must be a number between {min} and {max}!", "9010": "Time updated!", "10001": "Password must between 8 and {max} characters long!", - "10002": "Authentication successfull!", + "10002": "Authentication successful!", "11001": "@:apiresponse.2001", "11002": "@:apiresponse:5004", "12001": "Profil must between 1 and {max} characters long!" diff --git a/webapp/src/views/ConsoleInfoView.vue b/webapp/src/views/ConsoleInfoView.vue index 3ccf4cd..54820ca 100644 --- a/webapp/src/views/ConsoleInfoView.vue +++ b/webapp/src/views/ConsoleInfoView.vue @@ -87,7 +87,7 @@ export default defineComponent({ this.socket.onopen = function (event) { console.log(event); - console.log("Successfully connected to the echo websocket server..."); + console.log("Successfuly connected to the echo websocket server..."); }; // Listen to window events , When the window closes , Take the initiative to disconnect websocket Connect diff --git a/webapp/src/views/HomeView.vue b/webapp/src/views/HomeView.vue index 0ccbcdf..0dce4f1 100644 --- a/webapp/src/views/HomeView.vue +++ b/webapp/src/views/HomeView.vue @@ -489,7 +489,7 @@ export default defineComponent({ this.socket.onopen = function (event) { console.log(event); - console.log("Successfully connected to the echo websocket server..."); + console.log("Successfuly connected to the echo websocket server..."); }; // Listen to window events , When the window closes , Take the initiative to disconnect websocket Connect