Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Set locale on the constructor so that elements are translated when creat... #8

Merged
merged 1 commit into from

2 participants

Pierre GIRAUD Mitchell Simoens
Pierre GIRAUD

...ed

Mitchell Simoens mitchellsimoens merged commit 7ddebb7 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 1 deletion.
  1. +5 −1 Ux/locale/override/st/Component.js
6 Ux/locale/override/st/Component.js
View
@@ -24,6 +24,10 @@ Ext.define('Ux.locale.override.st.Component', {
}
me.callOverridden(arguments);
+
+ if (me.enableLocale) {
+ me.setLocale(Ux.locale.Manager.getLanguage());
+ }
},
setLocale : function(locale) {
@@ -46,4 +50,4 @@ Ext.define('Ux.locale.override.st.Component', {
}
}
}
-});
+});
Something went wrong with that request. Please try again.