diff options
author | Georg Ehrke <developer@georgehrke.com> | 2013-08-14 20:56:44 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2013-08-14 20:56:44 +0200 |
commit | 4b5fb08c2cda4a13a1b81699f308d21b89f1723b (patch) | |
tree | a1f40bb6c6bcaf4e9093c2153d0a32fefecf2b79 /apps/files/js/files.js | |
parent | e5761d90ef223a04205ad93eea7706439ef0b60e (diff) | |
parent | 994537a5b94826294e61231768f27964bc736ced (diff) | |
download | nextcloud-server-4b5fb08c2cda4a13a1b81699f308d21b89f1723b.tar.gz nextcloud-server-4b5fb08c2cda4a13a1b81699f308d21b89f1723b.zip |
Merge master into oc_preview
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r-- | apps/files/js/files.js | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 7b01a5202da..3178ff65af8 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -762,21 +762,13 @@ function procesSelection(){ $('#headerSize').text(humanFileSize(totalSize)); var selection=''; if(selectedFolders.length>0){ - if(selectedFolders.length==1){ - selection+=t('files','1 folder'); - }else{ - selection+=t('files','{count} folders',{count: selectedFolders.length}); - } + selection += n('files', '%n folder', '%n folders', selectedFolders.length); if(selectedFiles.length>0){ selection+=' & '; } } if(selectedFiles.length>0){ - if(selectedFiles.length==1){ - selection+=t('files','1 file'); - }else{ - selection+=t('files','{count} files',{count: selectedFiles.length}); - } + selection += n('files', '%n file', '%n files', selectedFiles.length); } $('#headerName>span.name').text(selection); $('#modified').text(''); |