Skip to content

Commit

Permalink
Make Reorder resources translatable
Browse files Browse the repository at this point in the history
  • Loading branch information
Zharktas committed Jun 12, 2019
1 parent b322386 commit b8f215d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ckan/public/base/javascript/modules/resource-reorder.js
Expand Up @@ -4,8 +4,7 @@
this.ckan.module('resource-reorder', function($) {
return {
options: {
id: false,
labelText: 'Reorder resources'
id: false
},
template: {
title: '<h1></h1>',
Expand Down Expand Up @@ -39,7 +38,7 @@ this.ckan.module('resource-reorder', function($) {
initialize: function() {
jQuery.proxyAll(this, /_on/);

var labelText = this._(this.options.labelText);
var labelText = this._('Reorder resources');

this.html_title = $(this.template.title)
.text(labelText)
Expand Down

0 comments on commit b8f215d

Please sign in to comment.