Fix indentation and l10n compliance.

Signed-off-by: m3ntalsp00n <m3ntalsp00n@gmail.com>
This commit is contained in:
m3ntalsp00n 2017-02-08 16:55:31 +10:00
parent dd9ee2db6f
commit 01963b4d72
1 changed files with 3 additions and 3 deletions

View File

@ -783,11 +783,11 @@ var OCP = {},
var timer = 0;
var seconds = 5;
var interval = setInterval( function() {
OC.Notification.showUpdate(t('core', 'Problem loading page, reloading in ' + (seconds - timer) + ' seconds'));
OC.Notification.showUpdate(n('core', 'Problem loading page, reloading in %n second', 'Problem loading page, reloading in %n seconds', seconds - timer));
if (timer >= seconds) {
clearInterval(interval);
clearInterval(interval);
OC.reload();
}
}
timer++;
}, 1000 // 1 second interval
);