Commit b913fbd6 authored by Dietmar Maurer's avatar Dietmar Maurer

fix translation of Ext.Date.dayNames

We need to call htmlDecode() to remove html entities.
parent 3fb7f9b9
...@@ -6,13 +6,13 @@ Ext.define('PVE.form.DayOfWeekSelector', { ...@@ -6,13 +6,13 @@ Ext.define('PVE.form.DayOfWeekSelector', {
var me = this; var me = this;
me.data = [ me.data = [
['sun', Ext.Date.dayNames[0]], ['sun', Ext.util.Format.htmlDecode(Ext.Date.dayNames[0])],
['mon', Ext.Date.dayNames[1]], ['mon', Ext.util.Format.htmlDecode(Ext.Date.dayNames[1])],
['tue', Ext.Date.dayNames[2]], ['tue', Ext.util.Format.htmlDecode(Ext.Date.dayNames[2])],
['wed', Ext.Date.dayNames[3]], ['wed', Ext.util.Format.htmlDecode(Ext.Date.dayNames[3])],
['thu', Ext.Date.dayNames[4]], ['thu', Ext.util.Format.htmlDecode(Ext.Date.dayNames[4])],
['fri', Ext.Date.dayNames[5]], ['fri', Ext.util.Format.htmlDecode(Ext.Date.dayNames[5])],
['sat', Ext.Date.dayNames[6]] ['sat', Ext.util.Format.htmlDecode(Ext.Date.dayNames[6])]
]; ];
me.callParent(); me.callParent();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment