Commit b381337c authored by Franco Fichtner's avatar Franco Fichtner

firmware: be picky on grammar

parent 2a20897b
...@@ -147,16 +147,14 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -147,16 +147,14 @@ POSSIBILITY OF SUCH DAMAGE.
$("#upgrade").attr("style","display:none"); $("#upgrade").attr("style","display:none");
packagesInfo(); packagesInfo();
} else if (data['status'] == 'reboot') { } else if (data['status'] == 'reboot') {
// reboot required, tell the user to wait until this is finished and redirect after 5 minutes
BootstrapDialog.show({ BootstrapDialog.show({
type:BootstrapDialog.TYPE_INFO, type:BootstrapDialog.TYPE_INFO,
title: "{{ lang._('Your device is rebooting') }}", title: "{{ lang._('Your device is rebooting') }}",
message: "{{ lang._('The upgrade is finished and your device is being rebooted at the moment, please wait.') }}",
closable: false, closable: false,
onshow:function(dialogRef){ onshow:function(dialogRef){
dialogRef.setClosable(false); dialogRef.setClosable(false);
dialogRef.getModalBody().html( dialogRef.getModalBody().html(
"{{ lang._('The upgrade is finished and your device is being rebooted at the moment, please wait...') }}" + "{{ lang._('The upgrade has finished and your device is being rebooted at the moment, please wait...') }}" +
' <i class="fa fa-cog fa-spin"></i>' ' <i class="fa fa-cog fa-spin"></i>'
); );
setTimeout(rebootWait, 30000); setTimeout(rebootWait, 30000);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment