Notes |
|
(0030313)
|
hgbot
|
2010-08-25 13:15
|
|
Repository: erp/devel/pi
Changeset: 33315a869d2f4eddc1b4895ebadd98e9ee5f2381
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Aug 24 12:21:18 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/33315a869d2f4eddc1b4895ebadd98e9ee5f2381 [^]
Issue 14202: Product Movements Report appears in spanish when it is executed in english
XmlDocument.translateDataValue: Refactor:
- Simplify loops
- Reduce nesting level with an early return-
- Check if translations exist out of the loop
- Reduce casting using generics
- Extract translation of XmlVectorTemplate into helper function
- Inline only used once variable
---
M src-core/src/org/openbravo/xmlEngine/DataTemplate.java
M src-core/src/org/openbravo/xmlEngine/DataValue.java
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
|
|
|
(0030314)
|
hgbot
|
2010-08-25 13:15
|
|
Repository: erp/devel/pi
Changeset: dfeacf18d7185368618e25d0fb64ddb71c9f3d22
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Aug 24 12:48:19 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/dfeacf18d7185368618e25d0fb64ddb71c9f3d22 [^]
Fixes issue 14202: Product Movements Report appears in spanish when it is executed in english
Translate the current xmlDocument values and not the (cached) template
---
M src-core/src/org/openbravo/xmlEngine/DataValue.java
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
|
|
|
(0030315)
|
hgbot
|
2010-08-25 13:15
|
|
Repository: erp/devel/pi
Changeset: 8badd5d23b5966da70be4921fb33bbbcbdf18923
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Aug 24 14:30:21 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8badd5d23b5966da70be4921fb33bbbcbdf18923 [^]
Issue 14202: Product Movements Report appears in spanish when it is executed in english
Removing not needed castings
---
M src-core/src/org/openbravo/xmlEngine/SectionValue.java
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
|
|
|
|
* Testing the issue
Follow the steps to reproduce and notice that now when logging in English, all labels are in English, not in Spanish.
* Other areas affected.
Because the changes affects the translation functionality of the XMLEngine and this area is a core area of Openbravo ERP more tests need to be tested:
Having the Spanish Translation Module test also the following reports in Spanish and in English. All labels must appear in the selected language. Change from Spanish to English and from English to Spanish a couple of times.
** Warehouse Management || Analysis Tools || Valued Stock Report || Valued Stock Report
** Warehouse Management || Analysis Tools || Warehouse Control Report || Warehouse Control Report
** Warehouse Management || Analysis Tools || Pareto Product Report || Pareto Product Report
** Financial Management || Accounting || Analysis Tools || Trial Balance Report || Trial Balance Report
** Financial Management || Accounting || Analysis Tools || General Ledger Report || General Ledger Report
** Financial Management || Accounting || Analysis Tools || General Ledger Journal || General Ledger Journal |
|
|
|
* Other areas affected (Cont.)
There are also issues related to translations in the XMLEngine that needs too be reviewed that the fixes done in these issues are not broken with this fix. The related issues are: 9653, 9353 and 9659 |
|
|
(0030365)
|
hgbot
|
2010-08-26 15:00
|
|
Repository: erp/devel/pi
Changeset: 71ebc702ee0b1eb8022ab66ea60d7cdad0c8404d
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 26 14:49:25 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/71ebc702ee0b1eb8022ab66ea60d7cdad0c8404d [^]
Fixes issue 0014202: Product Movements Report appears in spanish when it is executed in english
Updating properly copyright notice
---
M src-core/src/org/openbravo/xmlEngine/DataTemplate.java
M src-core/src/org/openbravo/xmlEngine/DataValue.java
M src-core/src/org/openbravo/xmlEngine/SectionValue.java
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
|
|
|
(0030366)
|
hgbot
|
2010-08-26 15:01
|
|
Repository: erp/devel/pi
Changeset: dd9fdaa8fef65f48478def02b726cc79e7f54d02
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 26 14:51:25 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/dd9fdaa8fef65f48478def02b726cc79e7f54d02 [^]
Fixes issue 0014202: Product Movements Report appears in spanish when it is executed in english
Refactoring loop
---
M src-core/src/org/openbravo/xmlEngine/DataValue.java
---
|
|
|
(0030367)
|
hgbot
|
2010-08-26 15:01
|
|
Repository: erp/devel/pi
Changeset: b816f9aa12fe508ab72bd9706e51f567b3f3c1ed
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 26 14:52:36 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b816f9aa12fe508ab72bd9706e51f567b3f3c1ed [^]
Fixes issue 0014202: Product Movements Report appears in spanish when it is executed in english
Removing unused import
---
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
|
|
|
(0030368)
|
hgbot
|
2010-08-26 15:01
|
|
Repository: erp/devel/pi
Changeset: 28ab43581b8307da39bd21d44554688c10572c08
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 26 14:53:25 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/28ab43581b8307da39bd21d44554688c10572c08 [^]
Fixes issue 0014202: Product Movements Report appears in spanish when it is executed in english
Removing unnecessary assignment
---
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
|
|
|
(0030369)
|
hgbot
|
2010-08-26 15:01
|
|
Repository: erp/devel/pi
Changeset: d37d5a8b1a59c5419e23a5be817b6c4ad65629cd
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Thu Aug 26 14:55:00 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d37d5a8b1a59c5419e23a5be817b6c4ad65629cd [^]
Fixes issue 0014202: Product Movements Report appears in spanish when it is executed in english
Renaming properly new internal method.
---
M src-core/src/org/openbravo/xmlEngine/XmlDocument.java
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|