[ooo-build] Error in OOo translation to spanish.

Kohei Yoshida kyoshida at novell.com
Wed Aug 18 11:10:06 PDT 2010


On Thu, 2010-07-01 at 11:52 -0500, Eduardo Moreno wrote:
> Hello everybody.
> 
> Reading the list users at es.openoffice.org, I see a report of a bug in 
> translation for the function DAYS360().
> 
> The function work good in English versión, but when install the 
> translation package to Spanish, the function 360DIAS() report error.

I haven't had a serious look into it (I don't have a Spanish build handy
at the moment), but a cursory look into the relevant code suggests that,
the problem may be because the function name begins with a digit.  The
code indicates that Calc's formula parser expects all function names to
begin with an alphabet, and if a token begins with a number (like
360DIAS does), it won't even check it against the function name string
to see if it's a function name.  And failing to parse it as a valid
function name may be throwing an error.

Now, before we talk about how to fix this, is 360DIAS the correct
Spanish translation for DAYS360?  What do other spreadsheet programs
translate this function name into?

Kohei




More information about the ooo-build mailing list