diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-10-09 23:00:34 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-10-09 23:00:34 (GMT) |
commit | 5978b72c31a429a87bb67dbc5aa832079f6b2fc4 (patch) | |
tree | d71a85222a7006f5f1772a2517d788f174215975 /abs/core/xymon/hbnotes.py | |
parent | 54fb52252c8067c8b2d5b8c10fab5bc299db93cb (diff) | |
download | linhes_pkgbuild-5978b72c31a429a87bb67dbc5aa832079f6b2fc4.zip linhes_pkgbuild-5978b72c31a429a87bb67dbc5aa832079f6b2fc4.tar.gz linhes_pkgbuild-5978b72c31a429a87bb67dbc5aa832079f6b2fc4.tar.bz2 |
xymon: hbnotes.py: edit alert texts
Diffstat (limited to 'abs/core/xymon/hbnotes.py')
-rwxr-xr-x | abs/core/xymon/hbnotes.py | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/abs/core/xymon/hbnotes.py b/abs/core/xymon/hbnotes.py index ca9d39d..b12cc7b 100755 --- a/abs/core/xymon/hbnotes.py +++ b/abs/core/xymon/hbnotes.py @@ -282,7 +282,7 @@ function Do_it () } else { - alert(" database was not restored"); + alert("The database was not restored."); } } else if (chosen == "Backup") @@ -293,14 +293,13 @@ function Do_it () } else { - alert(" backup cancelled"); + alert("Backup cancelled."); } } else if (chosen == "Upload") { - if (confirm('About to upload the backup file to server')) + if (confirm('Upload the backup file to the server?')) { - alert("Uploading file to server"); do_submission(); } } @@ -312,7 +311,7 @@ function Do_it () } else { - alert("Optimization cancelled"); + alert("Optimization cancelled."); } } @@ -323,7 +322,7 @@ function Do_it () if (confirm('Continue with server shutdown?')) { do_submission(); - alert("system is powering off"); + alert("The system is powering off."); } } @@ -332,7 +331,7 @@ function Do_it () if (confirm('Continue with server restart?')) { do_submission(); - alert("system is restarting"); + alert("The system is restarting."); } } @@ -341,7 +340,7 @@ function Do_it () if (confirm('Continue with powering off all servers except master backend?')) { do_submission(); - alert("systems are powering off"); + alert("Systems are powering off."); } } @@ -351,7 +350,6 @@ function Do_it () if (confirm('Continue with applying updates?')) { do_submission(); - alert("system is updating"); } } |