diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/js/js.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/js/js.js b/core/js/js.js index 0576dcc3357..5ef5c72f625 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -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 ); |