Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0014881 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] B. User interface | minor | always | 2010-10-15 12:13 | 2010-12-30 13:13 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | high | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | fe902e8d37f1 | ||||
Projection | none | ETA | none | Target Version | 3.0RC3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP22 | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0014881: Calendar always appear in english | |||||||
Description | Although you are using the application translated in Spanish Language, when you click on Calendar icon to insert a date in any window all calendar elements still appear in english | |||||||
Steps To Reproduce | 1. install spanish translation module (or any other language translation module) 2. go to Sales Management || Transactions || Sales Order || Header : click on calendar icon to enter and Order Date Realize that Month, Days and indications appear in english | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Notes | |
(0031911) dbaz (developer) 2010-10-18 15:01 |
When we are in a en_US environment this generated line should be <SCRIPT language="JavaScript" src="../web/js/jscalendar/lang/calendar-en.js" type="text/javascript"></SCRIPT> and in es_ES should be <SCRIPT language="JavaScript" src="../web/js/jscalendar/lang/calendar-es.js" type="text/javascript"></SCRIPT> The problem is that in both cases the result is always "calendar-en.js" The problem root could be inside src/org/openbravo/wad/controls/WADDate.java and WADDateTime.java in this piece of code private void generateJSCode() { addImport("DateTextBox", "../../../../../web/js/default/DateTextBox.js"); addImport("calendar", "../../../../../web/js/jscalendar/calendar.js"); if (!getData("AD_Language").equals("")) addImport("calendarLang", "../../../../../web/js/jscalendar/lang/calendar-" + getData("AD_Language").substring(0, 2) + ".js"); else addImport("calendarLang", "../../../../../web/js/jscalendar/lang/calendar-en.js"); generateValidation(); setCalloutJS(); } That the "if" statement is not working properly. |
(0033164) hgbot (developer) 2010-12-14 13:26 |
Repository: erp/devel/pi Changeset: fe902e8d37f159ec4300466e921cf4fe79c2c7cb Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Tue Dec 14 13:25:28 2010 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/fe902e8d37f159ec4300466e921cf4fe79c2c7cb [^] fixed bug 14881: Calendar always appear in english --- M src-wad/src/org/openbravo/wad/controls/WADDate.java M src-wad/src/org/openbravo/wad/controls/WADDateTime.java A web/js/jscalendar/lang/calendar-lang.js --- |
(0033443) hudsonbot (developer) 2010-12-30 13:13 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/fe902e8d37f1 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/7d7e5eebcc62 [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.19448.obx [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2010-10-15 12:13 | networkb | New Issue | |
2010-10-15 12:13 | networkb | Assigned To | => dbaz |
2010-10-18 15:01 | dbaz | Note Added: 0031911 | |
2010-10-18 15:01 | dbaz | Assigned To | dbaz => alostale |
2010-10-25 08:55 | alostale | Status | new => scheduled |
2010-12-14 13:24 | alostale | Status | scheduled => acknowledged |
2010-12-14 13:24 | alostale | Status | acknowledged => scheduled |
2010-12-14 13:24 | alostale | fix_in_branch | => pi |
2010-12-14 13:25 | alostale | Target Version | 2.50MP25 => 3.0RC3 |
2010-12-14 13:25 | alostale | fix_in_branch | pi => |
2010-12-14 13:26 | hgbot | Checkin | |
2010-12-14 13:26 | hgbot | Note Added: 0033164 | |
2010-12-14 13:26 | hgbot | Status | scheduled => resolved |
2010-12-14 13:26 | hgbot | Resolution | open => fixed |
2010-12-14 13:26 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/fe902e8d37f159ec4300466e921cf4fe79c2c7cb [^] |
2010-12-14 16:24 | dbaz | Status | resolved => closed |
2010-12-16 22:16 | anonymous | sf_bug_id | 0 => 3138785 |
2010-12-30 13:13 | hudsonbot | Checkin | |
2010-12-30 13:13 | hudsonbot | Note Added: 0033443 | |
2011-01-10 12:12 | alostale | Relationship added | related to 0015592 |
Copyright © 2000 - 2009 MantisBT Group |