Dotclear


Ignore:
Timestamp:
06/01/11 10:22:19 (13 years ago)
Author:
xave <xave@…>
Branch:
2.3
Children:
321:7b94c89bafa4, 324:07f1d829b183
Message:

Favourites titles are now translated to the user's language.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/index.php

    r270 r320  
    8484               $title = ($fav['name'] == 'posts' ? sprintf($str_entries,$post_count) :  
    8585                    ($fav['name'] == 'comments' ? sprintf($str_comments,$comment_count) : $fav['title'])); 
    86                $__dashboard_icons[$fav['name']] = new ArrayObject(array($title,$fav['url'],$fav['large-icon'])); 
     86               $__dashboard_icons[$fav['name']] = new ArrayObject(array(__($title),$fav['url'],$fav['large-icon'])); 
    8787 
    8888               # Let plugins set their own title for favorite on dashboard 
     
    9999               $title = ($fav['name'] == 'posts' ? sprintf($str_entries,$post_count) :  
    100100                    ($fav['name'] == 'comments' ? sprintf($str_comments,$comment_count) : $fav['title'])); 
    101                $__dashboard_icons[$fav['name']] = new ArrayObject(array($title,$fav['url'],$fav['large-icon'])); 
     101               $__dashboard_icons[$fav['name']] = new ArrayObject(array(__($title),$fav['url'],$fav['large-icon'])); 
    102102 
    103103               # Let plugins set their own title for favorite on dashboard 
Note: See TracChangeset for help on using the changeset viewer.

Sites map