Feng Forum

Support => Older versions => : taca July 06, 2009, 06:49:55 PM

: public/tools/checklang.php problem?
: taca July 06, 2009, 06:49:55 PM
Hi.

While I checked translations, I found strange behavior of public/tools/checklang.php.

In language/en_us/calendar.php:

:
"CAL_NO_ANYTHING" => "You don't have permission to do anything on this page",
"CAL_NO_WRITE", "You do not have permission to create new events",
// ############ DAYS ############
"CAL_MONDAY" => "Monday",

This part is showed as checklang.php and saved as:

:
'CAL_NO_ANYTHING' => '(translated text in Japanese)',
'0' => 'CAL_NO_WRITE',
'1' => 'You do not have permission to create new events',
'CAL_MONDAY' => '(translated Monday in Japanese)',

I don't understand where comes '0' and '1' keys.

Best regards.
: Re: public/tools/checklang.php problem?
: taca July 06, 2009, 09:56:26 PM
Here is another output from checklang.php.

- calendar.php
    '0' => 'CAL_NO_WRITE',
    '1' => 'You do not have permission to create new events',
: Re: public/tools/checklang.php problem?
: taca July 07, 2009, 03:08:17 AM
It was just a problem of language/en_us/calendar.php.

Best regards.
: Re: public/tools/checklang.php problem?
: ignacio July 07, 2009, 01:57:46 PM
Thanks. Fixed it for all current versions of languages in OpenGoo.