Ad Widget

Collapse

bug in include/locales/ru_ru.inc.php ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vgray
    Junior Member
    • Aug 2005
    • 19

    #1

    bug in include/locales/ru_ru.inc.php ?

    hmm, include/locales/ru_ru.inc.php looks not like other locales and it produce error

    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /www/nms.intelsoft.com/include/locales/ru_ru.inc.php on line 732

    Warning: Invalid argument supplied for foreach() in /www/nms.intelsoft.com/include/locales.inc.php on line 27

    please patch it like
    Code:
    --- ./ru_ru.inc.php.old 2006-01-02 20:13:00.000000000 +0600
    +++ ./ru_ru.inc.php     2006-01-04 13:31:16.000000000 +0600
    @@ -21,7 +21,7 @@
     <?php
            global $TRANSLATION;
     
    -       $ru_ru=array(
    +       $TRANSLATION=array(
     
            "S_DATE_FORMAT_YMDHMS"=>                "d M H:i:s",
            "S_DATE_FORMAT_YMD"=>                   "d M Y",
    @@ -729,5 +729,5 @@
            "S_PROFILE"=>                           "Profile",
            );
     
    -       $TRANSLATION=array_merge($TRANSLATION,$ru_ru);
    +//     $TRANSLATION=array_merge($TRANSLATION,$ru_ru);
     ?>
Working...