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

    r1544 r1561  
    9797 
    9898        if ($unreadCount > 0) { 
    99             $this->rdLbl= sprintf(LBL_UNREAD_PF, "cid$id","",$unreadCount); 
     99            $this->rdLbl= sprintf(__('<strong id="%s" style="%s">(%d unread)</strong>'), "cid$id","",$unreadCount); 
    100100            $this->class_= "feed title unread"; 
    101101        } else { 
     
    151151    var $activeId; 
    152152    var $feedCount = 0; 
    153     var $columnTitle = LBL_H2_CHANNELS; 
     153    var $columnTitle; 
    154154    var $stats; 
    155155     
    156156    function FeedList($activeId) { 
    157157        _pf('FeedList() ctor'); 
     158        $this ->columnTitle= __('Feeds'); 
    158159        $this->activeId = $activeId; 
    159160        $this->loadCollapsedState(); 
     
    191192        _pf(' ... done: feedsCount');                
    192193         
    193         $this ->stats = sprintf(LBL_ITEMCOUNT_PF, $total, $unread, $channelcount); 
     194        $this ->stats = sprintf(__('<strong>%d</strong> items (<strong id="fucnt">%d</strong> unread) in <strong>%d</strong> feeds'), $total, $unread, $channelcount); 
    194195        _pf('done: getStats()'); 
    195196        return $this -> stats;