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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0007791
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] E. Translationmajoralways2009-02-24 10:502009-04-22 00:00
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version2.50
StatusclosedFix in branchFixed in SCM revision466caf0c7350
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0007791: Not translatable modules are tried to be translated

DescriptionAlthough a module is not set as "Translation Required" it is parsed during the translate process. A module that have UI should alway be checked as translation required but it could not be checked by mistake.

As the module doesn't have any language defined the translation process cannot determine correctly if there's an entry for the text so it is always inserted a new one each time the process is run.
Steps To Reproduce-Create a new module and don't set it as translation requiered.
-Create a HTML file in it including translateable tags.
-Run translate. -> Notice the tag will not be found, so a new entry will be craeted
-Run translate again -> Notice that the tag although it has been inserted cannot be found and as result a new entry will be created.
Proposed SolutionTwo possible approaches:
1. Do not parse at all not translatable modules.
2. Parse them and in case they have any translatable tag throw an error message asking the user to set it as translatable and to check a language.
TagsModularity
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0014140)
alostale (manager)
2009-02-27 12:26

Implemented 2nd approach.
(0014141)
hgbot (developer)
2009-02-27 12:26

Repository: erp/devel/pi
Changeset: 466caf0c73501ad0225f4b6004ee648ce999501c
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Fri Feb 27 12:26:33 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/466caf0c73501ad0225f4b6004ee648ce999501c [^]

fixed bug 0007791: Not translatable modules are tried to be translated

---
M src-trl/src/org/openbravo/translate/Translate.java
---

- Issue History
Date Modified Username Field Change
2009-02-24 10:50 alostale New Issue
2009-02-24 10:50 alostale Assigned To => alostale
2009-02-24 10:50 alostale Regression testing => No
2009-02-24 10:50 alostale Steps to Reproduce Updated
2009-02-24 10:50 alostale Tag Attached: Modularity
2009-02-24 12:29 rafaroda version => trunk
2009-02-27 12:26 alostale Severity minor => major
2009-02-27 12:26 alostale Note Added: 0014140
2009-02-27 12:26 hgbot Checkin
2009-02-27 12:26 hgbot Note Added: 0014141
2009-02-27 12:26 hgbot Status new => resolved
2009-02-27 12:26 hgbot Resolution open => fixed
2009-02-27 12:26 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/466caf0c73501ad0225f4b6004ee648ce999501c [^]
2009-04-21 10:54 psarobe Status resolved => closed
2009-04-22 00:00 anonymous sf_bug_id 0 => 2778001


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker