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/searchform.php

    r1544 r1561  
    8585    ."\t\t\t<option value=\"".INFINE_RESULTS."\"" 
    8686    .((array_key_exists(QUERY_RESULTS,$_REQUEST) && $_REQUEST[QUERY_RESULTS] == INFINE_RESULTS?" selected=\"selected\"":"")) 
    87     .">".LBL_ALL."</option>\n" 
     87    .">".__('All')."</option>\n" 
    8888    ."\t\t</select>"; 
    8989} 
     
    9494      ."\t\t\t<option value=\"". ALL_CHANNELS_ID ."\"" 
    9595      .((!array_key_exists(QUERY_CHANNEL,$_REQUEST) || $_REQUEST[QUERY_CHANNEL] == ALL_CHANNELS_ID)?" selected=\"selected\"":"") 
    96       .">" . LBL_ALL  . "</option>\n"; 
     96      .">" . __('All')  . "</option>\n"; 
    9797 
    9898    $sql = "select " 
     
    120120            } 
    121121            if ($parent_ == "") { 
    122                 $parent_ = LBL_HOME_FOLDER; 
     122                $parent_ = __('Root'); 
    123123            } 
    124124            $ret .= "\t\t\t<optgroup label=\"$parent_ /\">\n";