diff --git a/core/js/js.js b/core/js/js.js index 0576dcc3357ecea70d72058ddc48353d7d2cf35d..5ef5c72f62540e0c2cb9f8e8d0d185ef3569edd4 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 );