summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_reboot.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-02-01 09:10:10 -0200
committerRenato Botelho <renato@netgate.com>2017-02-01 09:10:10 -0200
commitaf7c08a5b7d07533aaccfa5ec745e484d4971d9b (patch)
treee10230e9386fe4fb1a79fb1af0b43371c9f1a0d0 /src/usr/local/www/diag_reboot.php
parent935b826fbed9ff563a2198f4e93d3580b1a45c75 (diff)
parent702fa4d0ce035a444112e23f4e4d1a4c686d8163 (diff)
downloadpfsense-af7c08a5b7d07533aaccfa5ec745e484d4971d9b.zip
pfsense-af7c08a5b7d07533aaccfa5ec745e484d4971d9b.tar.gz
Merge pull request #3462 from phil-davis/percent-s-www
Diffstat (limited to 'src/usr/local/www/diag_reboot.php')
-rw-r--r--src/usr/local/www/diag_reboot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_reboot.php b/src/usr/local/www/diag_reboot.php
index 8052e40..64ca3c4 100644
--- a/src/usr/local/www/diag_reboot.php
+++ b/src/usr/local/www/diag_reboot.php
@@ -76,7 +76,7 @@ events.push(function() {
function startCountdown() {
setInterval(function() {
if (time == "<?=$guitimeout?>") {
- $('#countdown').html('<h4><?=sprintf(gettext("Rebooting%sPage will automatically reload in %s seconds"), "<br />", "<span id=\"secs\"></span>");?></h4>');
+ $('#countdown').html('<h4><?=sprintf(gettext('Rebooting%1$sPage will automatically reload in %2$s seconds'), "<br />", "<span id=\"secs\"></span>");?></h4>');
}
if (time > 0) {
@@ -84,7 +84,7 @@ events.push(function() {
time--;
} else {
time = "<?=$guiretry?>";
- $('#countdown').html('<h4><?=sprintf(gettext("Not yet ready%s Retrying in another %s seconds"), "<br />", "<span id=\"secs\"></span>");?></h4>');
+ $('#countdown').html('<h4><?=sprintf(gettext('Not yet ready%1$s Retrying in another %2$s seconds'), "<br />", "<span id=\"secs\"></span>");?></h4>');
$('#secs').html(time);
checkonline();
}
OpenPOWER on IntegriCloud