Author Topic: public/tools/checklang.php problem?  (Read 2518 times)

taca

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
public/tools/checklang.php problem?
« on: 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:

Code: [Select]
"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:

Code: [Select]
'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.
--
Takahiro Kambe

taca

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: public/tools/checklang.php problem?
« Reply #1 on: July 06, 2009, 09:56:26 pm »
Here is another output from checklang.php.

Quote
- calendar.php
    '0' => 'CAL_NO_WRITE',
    '1' => 'You do not have permission to create new events',
--
Takahiro Kambe

taca

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
Re: public/tools/checklang.php problem?
« Reply #2 on: July 07, 2009, 03:08:17 am »
It was just a problem of language/en_us/calendar.php.

Best regards.
--
Takahiro Kambe

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Re: public/tools/checklang.php problem?
« Reply #3 on: July 07, 2009, 01:57:46 pm »
Thanks. Fixed it for all current versions of languages in OpenGoo.