Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006837Openbravo ERPA. Platformpublic2009-01-10 17:092009-05-04 13:49
shuehner 
shuehner 
lowminorhave not tried
closedfixed 
5
 
 
Core
No
0006837: Translation code used at compile time could/should be cleanup up after latest translation changes.
After the latest translation changes, no separate copies of the templates per language are generated at compilation time.

Some part of the translation code can be simplified/removed because of this.
No tags attached.
related to feature request 0006819 closed platform Translation code at compilation does currently care about if a string does have a translation. But it should not care about this 
Issue History
2009-01-10 17:09shuehnerNew Issue
2009-01-10 17:09shuehnerAssigned To => shuehner
2009-01-10 17:09shuehnersf_bug_id0 => 2497925
2009-01-10 17:09shuehnerRegression testing => No
2009-01-10 17:11svnbotCheckin
2009-01-10 17:11svnbotNote Added: 0012091
2009-01-10 17:11svnbotsvn_revision => 11785
2009-01-10 17:25shuehnerStatusnew => scheduled
2009-01-10 17:25shuehnerfix_in_branch => trunk
2009-01-10 17:27svnbotCheckin
2009-01-10 17:27svnbotNote Added: 0012092
2009-01-10 17:27svnbotsvn_revision11785 => 11786
2009-01-10 17:51shuehnerRelationship addedrelated to 0006819
2009-01-10 17:52svnbotCheckin
2009-01-10 17:52svnbotNote Added: 0012093
2009-01-10 17:52svnbotStatusscheduled => resolved
2009-01-10 17:52svnbotResolutionopen => fixed
2009-01-10 17:52svnbotsvn_revision11786 => 11787
2009-05-04 13:49pjuvaraStatusresolved => closed

Notes
(0012091)
svnbot   
2009-01-10 17:11   
Repository: openbravo
Revision: 11785
Author: huehner
Date: 2009-01-10 17:11:46 +0100 (Sat, 10 Jan 2009)

Issue 6837
- Remove CharactersData class as it is unused
- Translate.java does not neet a destination directory as
  it does no longer create/copy files
  - remove destination parameter from src/build.xml
  - remove occurances of this parameter from Translate.java

---
U trunk/src/build.xml
D trunk/src-trl/src/org/openbravo/translate/CharactersData.java
U trunk/src-trl/src/org/openbravo/translate/Translate.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11785&sc=1 [^]
(0012092)
svnbot   
2009-01-10 17:27   
Repository: openbravo
Revision: 11786
Author: huehner
Date: 2009-01-10 17:27:00 +0100 (Sat, 10 Jan 2009)

Issue 6837
- make functions private and/or static where possible
- remove return values (translated string) from parseAttributes function
  as it is not used anymore & simplify function afterwards

---
U trunk/src-trl/src/org/openbravo/translate/Translate.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11786&sc=1 [^]
(0012093)
svnbot   
2009-01-10 17:52   
Repository: openbravo
Revision: 11787
Author: huehner
Date: 2009-01-10 17:52:38 +0100 (Sat, 10 Jan 2009)

Fixed 6837
- remove return value from translate function(s) & and simplify them a bit

---
U trunk/src-trl/src/org/openbravo/translate/Translate.java
---

https://dev.openbravo.com/websvn/openbravo/?rev=11787&sc=1 [^]