Changeset 693

Show
Ignore:
Timestamp:
11/05/06 15:40:37 (2 years ago)
Author:
sven
Message:

gettext() -> gettext()

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/units/files/edit_folder.php

    r688 r693  
    1717    $folder_details = get_record('file_folders','ident',$this_folder); 
    1818    if (!empty($folder)  && (run("permissions:check", array("files:edit",$folder_details->owner)) || run("permissions:check", array("files:edit",$folder_details->files_owner)))) { 
    19         $edit = gettext("Edit this folder"); // gettext variable 
     19        $edit = __gettext("Edit this folder"); // gettext variable 
    2020        $run_result .= <<< END 
    2121    <h3> 
     
    2424    <form action="" method="post"> 
    2525END; 
    26         $labelValue = gettext("Folder name:"); // gettext variable 
    27         $parentFolder = gettext("Parent folder"); // gettext variable 
     26        $labelValue = __gettext("Folder name:"); // gettext variable 
     27        $parentFolder = __gettext("Parent folder"); // gettext variable 
    2828        $body = <<< END 
    2929        <table width="100%"> 
     
    4747END; 
    4848        $body .= run("folder:select", array("edit_folder_parent",$_SESSION['userid'],$folder_details->parent)); 
    49         $accessLabel = gettext("Access restrictions"); // gettext variable 
     49        $accessLabel = __gettext("Access restrictions"); // gettext variable 
    5050        $body .= <<< END 
    5151                </p></td> 
     
    6060END; 
    6161        $body .= run("display:access_level_select",array("edit_folder_access",$folder_details->access)); 
    62         $keywords = gettext("Keywords (comma separated):"); // gettext variable 
     62        $keywords = __gettext("Keywords (comma separated):"); // gettext variable 
    6363        $body .= <<< END 
    6464                </p></td> 
     
    7373END; 
    7474        $body .= display_input_field(array("edit_folder_keywords","","keywords","folder",$this_folder)); 
    75         $save = gettext("Save"); // gettext variable  
     75        $save = __gettext("Save"); // gettext variable  
    7676        $body .= <<< END 
    7777                </p></td> 
     
    8787    </form> 
    8888END; 
    89         $title = gettext("Edit this folder"); 
     89        $title = __gettext("Edit this folder"); 
    9090        $run_result .= templates_draw(array( 
    9191                                            'context' => 'databoxvertical', 
     
    9797} 
    9898 
    99 $header = gettext("Upload files and folders");//gettext variable 
     99$header = __gettext("Upload files and folders");//gettext variable 
    100100$run_result .= <<< END 
    101101    <h4> 
     
    105105END; 
    106106 
    107 $title = gettext("Create a new folder"); 
    108 $createLabel = gettext("To create a new folder, enter its name:"); //gettext variable 
    109 $accessLabel = gettext("Access restrictions"); //gettext variable 
     107$title = __gettext("Create a new folder"); 
     108$createLabel = __gettext("To create a new folder, enter its name:"); //gettext variable 
     109$accessLabel = __gettext("Access restrictions"); //gettext variable 
    110110 
    111111$body = <<< END 
     
    132132END; 
    133133$body .= run("display:access_level_select",array("new_folder_access",default_access)); 
    134 $keywords = gettext("Keywords (comma separated):"); // gettext variable 
     134$keywords = __gettext("Keywords (comma separated):"); // gettext variable 
    135135$body .= <<< END 
    136136                </p></td> 
     
    145145END; 
    146146$body .= display_input_field(array("new_folder_keywords","","keywords","folder")); 
    147 $create = gettext("Create"); // gettext variable  
     147$create = __gettext("Create"); // gettext variable  
    148148$body .= <<< END 
    149149                </p></td> 
     
    171171END; 
    172172 
    173 $title = gettext("Upload a file"); 
     173$title = __gettext("Upload a file"); 
    174174 
    175175$body = <<< END 
     
    185185$totalquota = user_info('file_quota',$page_owner); 
    186186if ($page_owner == $_SESSION['userid']) { 
    187     $body .= sprintf(gettext("You have used %s Mb of a total %s Mb."),round(($usedquota / 1000000),4),round(($totalquota / 1000000),4)); 
     187    $body .= sprintf(__gettext("You have used %s Mb of a total %s Mb."),round(($usedquota / 1000000),4),round(($totalquota / 1000000),4)); 
    188188} else { 
    189     $body .= sprintf(gettext("Used space: %s Mb."),round(($usedquota / 1000000),4)); 
     189    $body .= sprintf(__gettext("Used space: %s Mb."),round(($usedquota / 1000000),4)); 
    190190} 
    191 $fileLabel = gettext("File to upload:"); //gettext variable 
    192 $fileTitle = gettext("File title:"); //gettext variable 
    193 $fileDesc = gettext("File Description:"); //gettext variable 
    194 $fileAccess = gettext("Access restrictions:"); //gettext variable 
     191$fileLabel = __gettext("File to upload:"); //gettext variable 
     192$fileTitle = __gettext("File title:"); //gettext variable 
     193$fileDesc = __gettext("File Description:"); //gettext variable 
     194$fileAccess = __gettext("Access restrictions:"); //gettext variable 
    195195 
    196196 
     
    242242END; 
    243243$body .= run("display:access_level_select",array("new_file_access",default_access)); 
    244 $keywords = gettext("Keywords (comma separated):"); // gettext variable 
     244$keywords = __gettext("Keywords (comma separated):"); // gettext variable 
    245245$body .= <<< END 
    246246                </p></td> 
     
    264264$body .= run("metadata:edit"); 
    265265             
    266 $copyright = gettext("By checking this box, you are asserting that you have the legal right to share this file, and that you understand you are sharing it with other users of the system."); //gettext variable 
    267 $upload = gettext("Upload"); //gettext variable 
     266$copyright = __gettext("By checking this box, you are asserting that you have the legal right to share this file, and that you understand you are sharing it with other users of the system."); //gettext variable 
     267$upload = __gettext("Upload"); //gettext variable 
    268268$body .= <<< END 
    269269