From 01963b4d7226c1768d3f95dc75eb01ed715706c2 Mon Sep 17 00:00:00 2001 From: m3ntalsp00n Date: Wed, 8 Feb 2017 16:55:31 +1000 Subject: Fix indentation and l10n compliance. Signed-off-by: m3ntalsp00n --- core/js/js.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core') 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 ); -- cgit v1.2.3