diff options
author | kondou <kondou@ts.unde.re> | 2013-08-09 20:37:18 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-09 20:37:18 +0200 |
commit | 9549bd3e68aa32bb9fa1a9a54bda84fa5070966f (patch) | |
tree | e8464e5679053e1b75e358682ece102ea959836a /apps/files/js/filelist.js | |
parent | 4c0ec974b9a8b97625695edd136e1f805af0bf31 (diff) | |
download | nextcloud-server-9549bd3e68aa32bb9fa1a9a54bda84fa5070966f.tar.gz nextcloud-server-9549bd3e68aa32bb9fa1a9a54bda84fa5070966f.zip |
Use plural translations
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r-- | apps/files/js/filelist.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index b858e2580ee..e0c72295702 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -452,13 +452,14 @@ $(document).ready(function(){ var currentUploads = parseInt(uploadtext.attr('currentUploads')); currentUploads += 1; uploadtext.attr('currentUploads', currentUploads); + var translatedText = n('files', '%n file uploading', '%n files uploading', 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 |