Broken counts in file selection dialog (#3495)

* Broken counts in file selection dialog. Closes #3460

* Update file-selection-panel.js
This commit is contained in:
S-Harshit 2021-01-19 13:41:31 +05:30 committed by GitHub
parent c6f15ed653
commit 7f18c66189
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,7 +201,7 @@ Refine.DefaultImportingController.prototype._renderFileSelectionPanelControlPane
var renderExtension = function(extension) {
var tr = table.insertRow(table.rows.length);
$('<td>').text(extension.extension).appendTo(tr);
$('<td>').text($.i18n('core-index-import/file-count'), extension.count).appendTo(tr);
$('<td>').text($.i18n('core-index-import/file-count', extension.count)).appendTo(tr);
$('<button>')
.text($.i18n('core-buttons/select'))
.addClass("button")