Merge pull request #2275 from jamessspanggg/2233-sort-link-translate

Translate Sort link to the language of the UI
This commit is contained in:
Antonin Delpeuch 2020-01-08 09:47:42 +01:00 committed by GitHub
commit e98dd26992
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,7 +149,7 @@ DataTableView.prototype._renderSortingControls = function(sortingControls) {
$('<a href="javascript:{}"></a>') $('<a href="javascript:{}"></a>')
.addClass("action") .addClass("action")
.text("Sort ") .text($.i18n('core-views/sort') + " ")
.append($('<img>').attr("src", "../images/down-arrow.png")) .append($('<img>').attr("src", "../images/down-arrow.png"))
.appendTo(sortingControls) .appendTo(sortingControls)
.click(function() { .click(function() {