summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources
diff options
context:
space:
mode:
authoryangfl <yangfl@users.noreply.github.com>2018-08-18 12:21:21 +0800
committeryangfl <yangfl@users.noreply.github.com>2018-10-12 22:18:51 +0800
commitae8b68cfe85296eb37436621895cdddac66b3ca7 (patch)
treefbf307f80f01da10db8b348f452dcd0dd4cab320 /applications/luci-app-attendedsysupgrade/root/www/luci-static/resources
parent641475ee5948cd5646ad3ee59b8c2f21f8c243b7 (diff)
treewide: Fix typos in UI strings
Signed-off-by: David Yang <mmyangfl@gmail.com>
Diffstat (limited to 'applications/luci-app-attendedsysupgrade/root/www/luci-static/resources')
-rw-r--r--applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js b/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js
index 60f586ded4..e7d2eca39c 100644
--- a/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js
+++ b/applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js
@@ -128,7 +128,7 @@ function ubus_call(command, argument, params, variable) {
}
}
} else {
- error_box("<b>Ubus call faild:</b><br />Request: " + request_json + "<br />Response: " + JSON.stringify(response))
+ error_box("<b>Ubus call failed:</b><br />Request: " + request_json + "<br />Response: " + JSON.stringify(response))
}
ubus_closed++;
}
@@ -170,7 +170,7 @@ function upgrade_check() {
function upgrade_check_callback(request_text) {
var request_json = JSON.parse(request_text)
- // create simple output to tell user whats going to be upgrade (release/packages)
+ // create simple output to tell user what's going to be upgrade (release/packages)
var info_output = ""
if(request_json.version != undefined) {
info_output += "<h3>New firmware release available</h3>"
@@ -201,7 +201,7 @@ function upgrade_request() {
// Request the image
// Needed values
// version/release
- // board_name or model (server tries to find the corrent profile)
+ // board_name or model (server tries to find the correct profile)
// packages
// The rest is added by server_request()
$("#upgrade_button").disabled = true;
@@ -386,7 +386,7 @@ function server_request(request_dict, path, callback) {
error_box(error_box_content)
} else if (request.status === 501) {
- error_box("No sysupgrade file produced, may not supported by modell.")
+ error_box("No sysupgrade file produced, may not supported by model.")
} else if (request.status === 502) {
// python part offline