Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0023316 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2013-03-15 12:29 | 2013-03-20 10:52 | |||
Reporter | ngarcia | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0MP22 | |||
Status | closed | Fix in branch | Fixed in SCM revision | adb22f794a35 | ||||
Projection | none | ETA | none | Target Version | 3.0MP22 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | shankarb | |||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | 20063 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0023316: Labels with spaces at the beginning or at the end of the text are not translated | |||||||
Description | Labels with spaces at the beginning or at the end of the text are not translated. The associated text interface is created without spaces | |||||||
Steps To Reproduce | As system admin role: Install the Spanish Localization Pack for example As group admin role: Change the language to Spanish Open the "Balance de sumas y saldos" and check that Primary Filters, Dimensions and View Results are not translated. Those texts have spaces at the end of the text. Launch it and print it Check that the title is not translated | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0057300) hgbot (developer) 2013-03-18 15:38 |
Repository: erp/devel/pi Changeset: adb22f794a35aa9da0554617c6f3d2217210c2a4 Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Mon Mar 18 15:36:18 2013 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/adb22f794a35aa9da0554617c6f3d2217210c2a4 [^] Fixes issue 23316: Labels are properly trimmed before being translated There were some missing trim() calls when trying to fetch translated texts based on the original text. Apart from that, non blocking spaces were not being cleared in the XmlVectorValue.printStringBuffer method, so its correpondent translation was not fetched. This has been fixed by replacing at that point the non blocking spaces with standard spaces before trimming the text. --- M src-core/src/org/openbravo/uiTranslation/TranslationHandler.java M src-core/src/org/openbravo/xmlEngine/DataValue.java M src-core/src/org/openbravo/xmlEngine/XmlDocument.java M src-core/src/org/openbravo/xmlEngine/XmlVectorValue.java R legal/smartsprites.license.txt R lib/build/commons-math-1.2.jar R lib/build/google-collections.jar R lib/build/smartsprites-0.2.1-alpha.jar --- |
(0057323) shankarb (viewer) 2013-03-20 10:52 |
Code reviewed and tested in pi changeset 6cfd12f52b4f |
![]() |
|||
Date Modified | Username | Field | Change |
2013-03-15 12:29 | ngarcia | New Issue | |
2013-03-15 12:29 | ngarcia | Assigned To | => AugustoMauch |
2013-03-15 12:29 | ngarcia | Modules | => Core |
2013-03-15 12:29 | ngarcia | OBNetwork customer | => Yes |
2013-03-15 12:29 | ngarcia | Support ticket | => 20063 |
2013-03-15 12:29 | ngarcia | Resolution time | => 1366149600 |
2013-03-15 12:29 | ngarcia | Triggers an Emergency Pack | => No |
2013-03-15 12:31 | ngarcia | Issue Monitored: networkb | |
2013-03-18 10:38 | AugustoMauch | Summary | Labels with spaces are not translated => Labels with spaces at the beginning or at the end of the text are not translated |
2013-03-18 10:38 | AugustoMauch | Description Updated | View Revisions |
2013-03-18 10:38 | AugustoMauch | Steps to Reproduce Updated | View Revisions |
2013-03-18 15:37 | AugustoMauch | Issue Monitored: shankarb | |
2013-03-18 15:37 | AugustoMauch | Review Assigned To | => shankarb |
2013-03-18 15:38 | hgbot | Checkin | |
2013-03-18 15:38 | hgbot | Note Added: 0057300 | |
2013-03-18 15:38 | hgbot | Status | new => resolved |
2013-03-18 15:38 | hgbot | Resolution | open => fixed |
2013-03-18 15:38 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/adb22f794a35aa9da0554617c6f3d2217210c2a4 [^] |
2013-03-20 10:52 | shankarb | Note Added: 0057323 | |
2013-03-20 10:52 | shankarb | Status | resolved => closed |
2013-03-20 10:52 | shankarb | Fixed in Version | => 3.0MP22 |
Copyright © 2000 - 2009 MantisBT Group |