Show
Ignore:
Timestamp:
09/09/06 14:52:23 (2 years ago)
Author:
mbonetti
Message:

Yay for gettext localization! This will probably break things big time.
Note that until intl/*.php isn't adapted the the new method, the trunk
won't be localized!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/cls/wrappers/toolkit.php

    r1551 r1561  
    4040        $ret .= "\t<option value=\"$id\"" 
    4141        .($selected > -1 && $selected == $id ? " selected=\"selected\"":"") 
    42         .">" .  (($name == "")?LBL_HOME_FOLDER:$name)  ."</option>\n"; 
     42        .">" .  (($name == "")?__('Root'):$name)  ."</option>\n"; 
    4343    } 
    4444    $ret .= "</select>\n"; 
     
    5151      ."\t\t\t<option value=\"". $all_channels_id ."\"" 
    5252      .(0 == $selected?" selected=\"selected\"":"") 
    53     .">" . LBL_ALL  . "</option>\n"; 
     53    .">" . __('All')  . "</option>\n"; 
    5454 
    5555  $sql = "select " 
     
    7979      } 
    8080      if ($parent_ == "") { 
    81         $parent_ = LBL_HOME_FOLDER; 
     81        $parent_ = __('Root'); 
    8282      } 
    8383      $ret .= "\t\t\t<optgroup label=\"$parent_ /\">\n";