Changeset 404 for trunk/plugins

Show
Ignore:
Timestamp:
03/10/07 12:46:58 (21 months ago)
Author:
michiel
Message:

updates for i18n
moved the gettext binding to below the settings generation.
This to put the language in the soon to come config file.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/altarchive.php

    r391 r404  
    5656        } 
    5757        /* }}} */ 
    58         /* altarchive {{{ */ 
     58        /* genaltarchive {{{ */ 
    5959        // FB: 20070304: Renamed 'altarchive' to 'genaltarchive' to avoid name collisions with constructor. 
    6060        public function genaltarchive($defaultmenu) { 
     
    8282                                if (array_key_exists($m.$i, $this->_count)) { 
    8383                                        $output .= "class=\"altarchive_month_items\">"; 
    84                                         $output .= "<a href=\"$url".$m.$i."\" title=\"".$this->_count[$m.$i]." ".gettext("articles in this month.")."\">".date("F", mktime(0,0,0,$m,1,$i))."</td>\n"; 
     84                                        $output .= "<a href=\"$url".$m.$i."\" title=\"".$this->_count[$m.$i]." ".gettext("articles in this month.")."\">".strftime("%B", mktime(0,0,0,$m,1,$i))."</td>\n"; 
    8585                                } else { 
    8686                                        $output .= "class=\"altarchive_month_noitems\">"; 
    87                                         $output .= date("F", mktime(0,0,0,$m,1,$i))."</td>\n"; 
     87                                        $output .= strftime("%B", mktime(0,0,0,$m,1,$i))."</td>\n"; 
    8888                                } 
    8989                        }