[Calendar] Fix translation
This commit is contained in:
parent
6d14719bb6
commit
8e495dcafc
|
@ -39,7 +39,7 @@ define([
|
||||||
], function () {
|
], function () {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
Common.UI.Calendar = Common.UI.BaseView.extend({
|
Common.UI.Calendar = Common.UI.BaseView.extend(_.extend({
|
||||||
|
|
||||||
template :
|
template :
|
||||||
_.template([
|
_.template([
|
||||||
|
@ -91,14 +91,14 @@ define([
|
||||||
|
|
||||||
me.btnPrev = new Common.UI.Button({
|
me.btnPrev = new Common.UI.Button({
|
||||||
cls: 'btn-toolbar',
|
cls: 'btn-toolbar',
|
||||||
iconCls: 'mmerge-prev',
|
iconCls: 'mmerge-prev'
|
||||||
});
|
});
|
||||||
me.btnPrev.render(me.cmpEl.find('#prev-arrow'));
|
me.btnPrev.render(me.cmpEl.find('#prev-arrow'));
|
||||||
me.btnPrev.on('click', _.bind(me.onClickPrev, me));
|
me.btnPrev.on('click', _.bind(me.onClickPrev, me));
|
||||||
|
|
||||||
me.btnNext = new Common.UI.Button({
|
me.btnNext = new Common.UI.Button({
|
||||||
cls: 'btn-toolbar',
|
cls: 'btn-toolbar',
|
||||||
iconCls: 'mmerge-next',
|
iconCls: 'mmerge-next'
|
||||||
});
|
});
|
||||||
me.btnNext.render(me.cmpEl.find('#next-arrow'));
|
me.btnNext.render(me.cmpEl.find('#next-arrow'));
|
||||||
me.btnNext.on('click', _.bind(me.onClickNext, me));
|
me.btnNext.on('click', _.bind(me.onClickNext, me));
|
||||||
|
@ -407,5 +407,5 @@ define([
|
||||||
textShortSaturday: 'Sa',
|
textShortSaturday: 'Sa',
|
||||||
textMonths: 'Months',
|
textMonths: 'Months',
|
||||||
textYears: 'Years'
|
textYears: 'Years'
|
||||||
});
|
}, Common.UI.Calendar || {}));
|
||||||
});
|
});
|
Loading…
Reference in a new issue