diff --git a/apps/files/js/filesummary.js b/apps/files/js/filesummary.js index 65187276b2..11cb4f8ee4 100644 --- a/apps/files/js/filesummary.js +++ b/apps/files/js/filesummary.js @@ -182,7 +182,7 @@ $filterInfo.html(''); $filterInfo.addClass('hidden'); } else { - $filterInfo.html(n('files', ' matches \'{filter}\'', ' match \'{filter}\'', this.summary.totalDirs + this.summary.totalFiles, {filter: this.summary.filter})); + $filterInfo.html(' ' + n('files', 'matches \'{filter}\'', 'match \'{filter}\'', this.summary.totalDirs + this.summary.totalFiles, {filter: this.summary.filter})); $filterInfo.removeClass('hidden'); } }, @@ -197,7 +197,7 @@ if (this.summary.filter === '') { var filterInfo = ''; } else { - var filterInfo = n('files', ' matches \'{filter}\'', ' match \'{filter}\'', summary.totalFiles + summary.totalDirs, {filter: summary.filter}); + var filterInfo = ' ' + n('files', 'matches \'{filter}\'', 'match \'{filter}\'', summary.totalFiles + summary.totalDirs, {filter: summary.filter}); } var infoVars = {