home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 March / PCWorld_2001-03_cd.bin / KOMUNIK / progweb / progweb.exe / phpnuke / html / language / lang-english.php < prev    next >
PHP Script  |  2000-12-05  |  709b  |  29 lines

  1. <?php
  2.  
  3. /*
  4. Welcome to PHP-NUKE
  5.  
  6. This is the language module with "all" the system messages without any order.
  7.  
  8. If you made a translation, please sent to me (fburzi@ncc.org.ve) the translated
  9. file and I'll include it in the next release.
  10.  
  11. To make a translation use the lang-TEMPLATE.php file.
  12. English doesn't need to translate into English anymore (speed increase).
  13. Thanks to Joel (jllawhead@sunherald.com) for this tip.
  14. */
  15.  
  16. function translate($phrase) {
  17.     
  18.     switch($phrase) {
  19.  
  20.     case "datestring":        $tmp = "%A, %B %d @ %T %Z"; break;
  21.     case "linksdatestring":        $tmp = "%d-%b-%Y"; break;
  22.     case "datestring2":        $tmp = "%A, %B %d"; break;
  23.     default:             $tmp = "$phrase"; break;
  24.     
  25.     }
  26.     return $tmp;
  27. }
  28. ?>
  29.