PDA

View Full Version : Translation bug in all locale files



Perceptive
23 Apr 2013, 7:28 AM
REQUIRED INFORMATION
Ext version tested:

Ext 4.2 Beta
Browser versions tested against:


Version 26.0.1410.64 m

Description:

Most of the locale language files in the 4.2 beta and even in the latest release are not properly overriding the loading masks. There is a syntax error; see test case.
Test Case:
Most of the file locale files currently contain:

// changing the msg text below will affect the LoadMask
Ext.define("Ext.locale.et.view.AbstractView", {
override: "Ext.view.AbstractView",
Msg: "Loading..."}
);

When it should be this:


//changing the msg text below will affect the LoadMask
Ext.define("Ext.locale.et.view.AbstractView", {
override: "Ext.view.AbstractView",
loadingText: "Loading..."}
);
Possible fix:
Change the Ext.view.AbstractView override to this:

// changing the msg text below will affect the LoadMask
Ext.define("Ext.locale.et.view.AbstractView", {
override: "Ext.view.AbstractView",
loadingText: "Loading..."}
);

Operating System:

Windows 7 Professional 64-bit (6.1, Build 7601)

slemmon
23 Apr 2013, 9:57 AM
Can you point to any specific locale files that are missing the loadmask translation? I pulled up "ext-lang-it" and "ext-lang-zh_CN" in 4.2 and they seemed to be in order.