aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2013-08-14 20:56:44 +0200
committerGeorg Ehrke <developer@georgehrke.com>2013-08-14 20:56:44 +0200
commit4b5fb08c2cda4a13a1b81699f308d21b89f1723b (patch)
treea1f40bb6c6bcaf4e9093c2153d0a32fefecf2b79 /apps/files/js/filelist.js
parente5761d90ef223a04205ad93eea7706439ef0b60e (diff)
parent994537a5b94826294e61231768f27964bc736ced (diff)
downloadnextcloud-server-4b5fb08c2cda4a13a1b81699f308d21b89f1723b.tar.gz
nextcloud-server-4b5fb08c2cda4a13a1b81699f308d21b89f1723b.zip
Merge master into oc_preview
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r--apps/files/js/filelist.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 3a6b118ec9c..536becad49a 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -453,13 +453,14 @@ $(document).ready(function(){
var currentUploads = parseInt(uploadtext.attr('currentUploads'));
currentUploads += 1;
uploadtext.attr('currentUploads', currentUploads);
+ var translatedText = n('files', 'Uploading %n file', 'Uploading %n files', currentUploads);
if(currentUploads === 1) {
var img = OC.imagePath('core', 'loading.gif');
data.context.find('td.filename').attr('style','background-image:url('+img+')');
- uploadtext.text(t('files', '1 file uploading'));
+ uploadtext.text(translatedText);
uploadtext.show();
} else {
- uploadtext.text(currentUploads + ' ' + t('files', 'files uploading'));
+ uploadtext.text(translatedText);
}
} else {
// add as stand-alone row to filelist