Skip to content

Commit

Permalink
[stable9.1] Translate file summary connector (#26221)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Petry authored and DeepDiver1975 committed Sep 27, 2016
1 parent 716eb4f commit 339211a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/files/js/filesummary.js
Expand Up @@ -23,7 +23,7 @@
var INFO_TEMPLATE =
'<span class="info">' +
'<span class="dirinfo"></span>' +
'<span class="connector"> and </span>' +
'<span class="connector">{{connectorLabel}}</span>' +
'<span class="fileinfo"></span>' +
'<span class="hiddeninfo"></span>' +
'<span class="filter"></span>' +
Expand Down Expand Up @@ -203,7 +203,9 @@
if (!this._infoTemplateCompiled) {
this._infoTemplateCompiled = Handlebars.compile(INFO_TEMPLATE);
}
return this._infoTemplateCompiled(data);
return this._infoTemplateCompiled(_.extend({
connectorLabel: t('files', '{dirs} and {files}', {dirs: '', files: ''})
}, data));
},

/**
Expand Down

0 comments on commit 339211a

Please sign in to comment.