Changeset 1520

Show
Ignore:
Timestamp:
01/20/08 00:28:46 (11 months ago)
Author:
ewout
Message:

Missing gettext. Resolves #256.

Files:

Legend:

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

    r1400 r1520  
    2424    $title = run("profile:display:name") . " :: " . __gettext("Invite people"); 
    2525     
    26     $body  = '<h3>Invite people</h3>'; 
    27         $body .= '<p>Invite people to this community.</p>'; 
     26    $body  = '<h3>'.__gettext("Invite people").'</h3>'; 
     27        $body .= '<p>'.__gettext("Invite people to this community.").'</p>'; 
    2828    $body .= '<form action="" method="post">'; 
    2929     
    3030    $submit_search_label = __gettext("Search"); 
    31      
     31 
     32    $name_or_username = __gettext("Name or username:"); 
    3233    $invite_search = <<< END 
    3334        <p> 
    34                Name or username: <input type="text" name="invite_name"/><br/> 
     35        {$name_or_username} <input type="text" name="invite_name"/><br/> 
    3536                <input type="submit" name="submit" value="{$submit_search_label}"/> 
    3637        </p> 
     
    8081            } 
    8182 
    82             $body .= '<input type="submit" name="Invite" value="Invite"/>'; 
     83            $body .= '<input type="submit" name="Invite" value="'.__gettext("Invite").'"/>'; 
    8384        } 
    8485    }