Changeset 490

Show
Ignore:
Timestamp:
08/10/06 18:23:13 (2 years ago)
Author:
misja
Message:

Added some missing gettext calls, fixes bug #151.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/mod/community/lib.php

    r468 r490  
    2323                $PAGE->menu_sub[] = array( 'name' => 'community:pic', 
    2424                                           'html' => a_hrefg("{$CFG->wwwroot}_icons/?context=profile&profile_id=$page_owner" , 
    25                                                               "Community site picture")); 
     25                                                              gettext("Community site picture"))); 
    2626     
    2727                $PAGE->menu_sub[] = array( 'name' => 'community:edit', 
    2828                                           'html' => a_hrefg("{$CFG->wwwroot}_userdetails/?context=profile&profile_id=$page_owner" , 
    29                                                              "Edit community details")); 
     29                                                             gettext("Edit community details"))); 
    3030 
    3131            } 
     
    3535            $PAGE->menu_sub[] = array( 'name' => 'community:requests', 
    3636                                           'html' => a_hrefg("{$CFG->wwwroot}_communities/requests.php?profile_id=$page_owner", 
    37                                                              "View membership requests")); 
     37                                                             gettext("View membership requests"))); 
    3838        } 
    3939         
    4040        /*$PAGE->menu_sub[] = array( 'name' => 'community:members', 
    4141                                   'html' => a_hrefg("{$CFG->wwwroot}_communities/members.php?owner=$page_owner" , 
    42                                                       "Community Members"));*/ 
     42                                                      gettext("Community Members")));*/ 
    4343                                                       
    4444         
     
    4949            $PAGE->menu_sub[] = array( 'name' => 'community', 
    5050                                       'html' => a_hrefg("{$CFG->wwwroot}_communities/?owner=$page_owner" , 
    51                                                           "Communities"));  
     51                                                          gettext("Communities")));  
    5252                             
    5353            $PAGE->menu_sub[] = array( 'name' => 'community:owned', 
    5454                                       'html' => a_hrefg("{$CFG->wwwroot}_communities/owned.php?owner=$page_owner" , 
    55                                                           "Owned Communities")); 
     55                                                          gettext("Owned Communities"))); 
    5656 
    5757        } 
  • devel/mod/file/lib.php

    r468 r490  
    2626            $PAGE->menu_sub[] = array( 'name' => 'file:add', 
    2727                                       'html' => a_hrefg( "#addFile", 
    28                                                           "Add a file or a folder"));             
     28                                                          gettext("Add a file or a folder")));             
    2929        } 
    3030        if ($page_owner != -1) { 
     
    3232                $PAGE->menu_sub[] = array( 'name' => 'file:rss', 
    3333                                           'html' => a_hrefg( $CFG->wwwroot.$_SESSION['username']."/files/rss/",  
    34                                                               "RSS feed for files"));   
     34                                                              gettext("RSS feed for files")));   
    3535            } 
    3636            if ($page_owner == $_SESSION['userid'] && $page_owner != -1) { 
    3737                $PAGE->menu_sub[] = array( 'name' => 'file:help', 
    3838                                           'html' => a_hrefg( $CFG->wwwroot."help/files_help.php", 
    39                                                               "Page help"));   
     39                                                              gettext("Page help")));   
    4040            } 
    4141        } 
  • devel/mod/friend/lib.php

    r481 r490  
    2828            $PAGE->menu_sub[] = array( 'name' => 'friend', 
    2929                                       'html' => a_hrefg("{$CFG->wwwroot}{$friends_username}/friends/" , 
    30                                                           "Friends"));  
     30                                                          gettext("Friends")));  
    3131             
    3232            $PAGE->menu_sub[] = array( 'name' => 'friend:of', 
    3333                                       'html' => a_hrefg( "{$CFG->wwwroot}_friends/friendsof.php?owner=$page_owner", 
    34                                                           "Friend of"));  
     34                                                          gettext("Friend of")));  
    3535 
    3636            $PAGE->menu_sub[] = array( 'name' => 'friend:requests', 
    3737                                       'html' => a_hrefg( "{$CFG->wwwroot}_friends/requests.php?owner=$page_owner", 
    38                                                           "Friendship requests")); 
     38                                                          gettext("Friendship requests"))); 
    3939             
    4040            $PAGE->menu_sub[] = array( 'name' => 'friend:foaf', 
    4141                                       'html' => a_hrefg( "{$CFG->wwwroot}{$friends_username}/foaf/", 
    42                                                           "FOAF"));  
     42                                                          gettext("FOAF")));  
    4343 
    4444            if (isloggedin()) { 
    4545                $PAGE->menu_sub[] = array( 'name' => 'friend:accesscontrols', 
    4646                                           'html' => a_hrefg( "{$CFG->wwwroot}_groups/", 
    47                                                               "Access controls")); 
     47                                                              gettext("Access controls"))); 
    4848 
    4949                if ($CFG->publicinvite == true) { 
    5050                    $PAGE->menu_sub[] = array( 'name' => 'friend:invite', 
    5151                                               'html' => a_hrefg( "{$CFG->wwwroot}_invite/", 
    52                                                                   "Invite a friend"));  
     52                                                                  gettext("Invite a friend")));  
    5353                } 
    5454                 
    5555                $PAGE->menu_sub[] = array( 'name' => 'friend:help', 
    5656                                           'html' => a_hrefg( "{$CFG->wwwroot}help/network_help.php", 
    57                                                               "Page help")); 
     57                                                              gettext("Page help"))); 
    5858                 
    5959                 
  • devel/mod/template/lib.php

    r468 r490  
    1313            $PAGE->menu_sub[] = array( 'name' => 'template:change', 
    1414                                       'html' => a_hrefg( "{$CFG->wwwroot}_templates/", 
    15                                                           "Change theme"));   
     15                                                          gettext("Change theme")));   
    1616        } 
    1717    }