Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0023316
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2013-03-15 12:292013-03-20 10:52
ReporterngarciaView Statuspublic 
Assigned ToAugustoMauch 
PriorityurgentResolutionfixedFixed in Version3.0MP22
StatusclosedFix in branchFixed in SCM revisionadb22f794a35
ProjectionnoneETAnoneTarget Version3.0MP22
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toshankarb
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0023316: Labels with spaces at the beginning or at the end of the text are not translated

DescriptionLabels 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 ReproduceAs 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (reporter)
2013-03-20 10:52

Code reviewed and tested in pi changeset 6cfd12f52b4f

- Issue History
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 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
Powered by Mantis Bugtracker