Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Set locale on the constructor so that elements are translated when cr…

…eated
  • Loading branch information...
commit 8fd93f37756e88be3f2a4211fdce550793aed919 1 parent 2f95e2c
@pgiraud pgiraud authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 Ux/locale/override/st/Component.js
View
6 Ux/locale/override/st/Component.js
@@ -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', {
}
}
}
-});
+});
Please sign in to comment.
Something went wrong with that request. Please try again.