** -> *
[squirrelmail.git] / functions / gettext.php
index af05df9ad99279e0d1f5457aac7bd92f5ce87629..6d18d8e54250175724dfffd2fdda88a8fc027010 100644 (file)
@@ -1,19 +1,20 @@
 <?PHP
 
-   /* Alternate to the system's built-in gettext.
-    * relies on .po files (can't read .mo easily).
-    * Uses the session for caching (speed increase)
-    * Possible use in other PHP scripts?  The only SM-specific thing is
-    *   $sm_language, I think
+   /**
+    *   gettext.php
     *
-    * Very special thanks to Konstantin Riabitsev for letting me use a
-    * server that didn't already have gettext on it!
+    *   Copyright (c) 1999-2001 The Squirrelmail Development Team
+    *   Licensed under the GNU GPL. For full terms see the file COPYING.
+    *
+    *   Alternate to the system's built-in gettext.
+    *   relies on .po files (can't read .mo easily).
+    *   Uses the session for caching (speed increase)
+    *   Possible use in other PHP scripts?  The only SM-specific thing is
+    *     $sm_language, I think
+    *
+    *  $Id$
     */
-     
-   if (defined('gettext_php'))
-      return;
-   define('gettext_php', true);
-   
+
    global $gettext_php_domain, $gettext_php_dir, $gettext_php_loaded,
       $gettext_php_translateStrings, $gettext_php_loaded_language,
       $gettext_php_short_circuit;