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

    r1536 r1561  
    4141} 
    4242 
    43 function rss_item_pl_title($label=LBL_PL_FOR) { 
    44      
     43function rss_item_pl_title($label=null){ 
     44    if (null === $label) { 
     45        $label = __('Permalink for '); 
     46    } 
    4547    if (getConfig('rss.output.usepermalinks')) { 
    4648        list ($ply, $plm, $pld) = explode(":", rss_date("Y:m:d", $GLOBALS['rss'] -> currentItem -> date, false)); 
     
    197199        }        
    198200*/ 
    199         return (($GLOBALS['rss']->currentItem->isPubDate?LBL_POSTED:LBL_FETCHED). $date_lbl);            
     201        return (($GLOBALS['rss']->currentItem->isPubDate?__('Posted: '):__('Fetched: ')). $date_lbl);            
    200202    } 
    201203} 
     
    218220            $a = "<a href=\"".getPath() ."author.php?author=$ea\">$a</a>"; 
    219221        } 
    220     return LBL_BY . $a; 
     222    return __(' by ') . $a; 
    221223  } 
    222224}