diff options
author | m3ntalsp00n <m3ntalsp00n@gmail.com> | 2017-02-08 16:55:31 +1000 |
---|---|---|
committer | m3ntalsp00n <m3ntalsp00n@gmail.com> | 2017-02-08 16:55:31 +1000 |
commit | 01963b4d7226c1768d3f95dc75eb01ed715706c2 (patch) | |
tree | b569879c9af8aa8535585653b31eb129411743ec /core | |
parent | dd9ee2db6f981d0a1f1623af831b3eb2239a5990 (diff) | |
download | nextcloud-server-01963b4d7226c1768d3f95dc75eb01ed715706c2.tar.gz nextcloud-server-01963b4d7226c1768d3f95dc75eb01ed715706c2.zip |
Fix indentation and l10n compliance.
Signed-off-by: m3ntalsp00n <m3ntalsp00n@gmail.com>
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 ); |