 |
vtiger The Honest Open Source CRM
|
| Previous topic :: Next topic |
| Author |
Message |
victor2006
Guest
|
| Posted: Fri Apr 21, 2006 1:48 pm Post subject: Spanish - Spain language pack 4.2.3 |
|
|
This contribution, extents the spanish translation from neofis to suit v_tiger 4.2.3 and also
- fix the special characters problem in some modules
- Fix the popup calendar problem, when displaying in spanish.
- Set Monday as first day of the week in the popup calendar(attached modified popup config file)
POPUP CALENDAR
To set Monday as the first day of the week edit the file calendar-setup.js
Find the line (74)
param_default("firstDay", 0); // defaults to "Sunday" first
and replace with
param_default("firstDay", 1); // "Monday" first
Enjoy it
Victor |
|
| Back to top |
|
Guest
Guest
|
| Posted: Mon Jun 19, 2006 2:55 pm Post subject: Re: Spanish - Spain language pack 4.2.3 |
|
|
Victor,
I installed the Spanish Language pack and I´ve got some problems with dashboards. When you click on graphs, the queries are not exceuted correctly.
Do you know how to solve?
Thanks
George |
|
| Back to top |
|
alfredo
Guest
|
| Posted: Thu Aug 03, 2006 11:43 am Post subject: Re: Spanish - Spain language pack 4.2.3 |
|
|
Anonymous wrote: Victor,
I installed the Spanish Language pack and I´ve got some problems with dashboards. When you click on graphs, the queries are not exceuted correctly.
George
Hello!
In adodb/adodb.inc.php
Change the line
> function qstr($s,$magic_quotes=false)
by
> function qstr($s,$magic_quotes=true)
This change, fix the link pipeline chart / dashboard error
Fatal error: Using $this when not in object context in /public_html/vtiger/adodb/adodb.inc.php on line 2385
I don´t know the consequences caused in the rest of modules |
|
| Back to top |
|
Alfredo
Guest
Joined: 04 Aug 2006
Posts: 3
Location: Spain
|
| Posted: Fri Aug 04, 2006 1:34 pm Post subject: Re: Spanish - Spain language pack 4.2.3 |
|
|
victor2006 wrote: This contribution, extents the spanish translation from neofis to suit v_tiger 4.2.3 and also
A little change in calendar.js
In english, august 4. 2006 is week 31
In spanish, the same day is week 32
Fix it changing the function GetWeekNumber (line 1615) by
/** Returns the number of the week in year, as defined in ISO 8601. */
Date.prototype.getWeekNumber = function() {
var d = new Date(this.getFullYear(), this.getMonth(), this.getDate(), 0, 0, 0);
var DoW = d.getDay();
// d.setDate(d.getDate() - (DoW +6 ) % 7 + 3); // Nearest Thu
d.setDate(d.getDate() - (DoW +6 ) % 7 + 6); // Nearest Thu
var ms = d.valueOf(); // GMT
d.setMonth(0);
d.setDate(4 ); // Thu in Week 1
return (Math.round((ms - d.valueOf()) / (7 * 864e5))) + 1;
}; |
|
| Back to top |
|
| |
|