<?php
/**
- ** i18n.php
- **
- ** This file contains variuos functions that are needed to do
- ** internationalization of SquirrelMail.
- **
- ** Internally the output character set is used. Other characters are
- ** encoded using Unicode entities according to HTML 4.0.
- **
- ** $Id$
- **/
-
- if (defined ('i18n_php'))
- return;
- define ('i18n_php', true);
-
- global $squirrelmail_language, $languages;
- if (! isset($squirrelmail_language)) { $squirrelmail_language = ''; }
+ * i18n.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This file contains variuos functions that are needed to do
+ * internationalization of SquirrelMail.
+ *
+ * Internally the output character set is used. Other characters are
+ * encoded using Unicode entities according to HTML 4.0.
+ *
+ * $Id$
+ */
+
+/*****************************************************************/
+/*** THIS FILE NEEDS TO HAVE ITS FORMATTING FIXED!!! ***/
+/*** PLEASE DO SO AND REMOVE THIS COMMENT SECTION. ***/
+/*** + Base level indent should begin at left margin, as ***/
+/*** the global definition below. ***/
+/*** + All identation should consist of four space blocks ***/
+/*** + Tab characters are evil. ***/
+/*** + all comments should use "slash-star ... star-slash" ***/
+/*** style -- no pound characters, no slash-slash style ***/
+/*** + FLOW CONTROL STATEMENTS (if, while, etc) SHOULD ***/
+/*** ALWAYS USE { AND } CHARACTERS!!! ***/
+/*** + Please use ' instead of ", when possible. Note " ***/
+/*** should always be used in _( ) function calls. ***/
+/*** Thank you for your help making the SM code more readable. ***/
+/*****************************************************************/
+
+global $squirrelmail_language, $languages;
+if (! isset($squirrelmail_language)) { $squirrelmail_language = ''; }
// This array specifies the available languages.
$languages['ca']['NAME'] = 'Catalan';
/* PLEASE DON'T TOUCH!!!
* Correct locale name, which should be set by setlocale and/or putenv('LC_ALL='...)
- * is 'cs_CZ' and NOT 'cs', this applies to all locale names, look into docs, if you
- * don't believe me. Ondrej Sury, czech and slovak translator.
- */
+ * is 'cs_CZ' and NOT 'cs', this applies to all locale names, look into docs, if you
+ * don't believe me. Ondrej Sury, czech and slovak translator.
+ */
$languages['cs_CZ']['NAME'] = 'Czech';
$languages['cs_CZ']['CHARSET'] = 'iso-8859-2';
$languages['cs']['ALIAS'] = 'cs_CZ';
$languages['lt']['CHARSET'] = 'iso-8859-13';
$languages['lt_LT']['ALIAS'] = 'lt';
+ $languages['sl']['NAME'] = 'Slovenian';
+ $languages['sl']['CHARSET'] = 'iso-8859-2';
+
+ /* Commented until submission
+ $languages['bg']['NAME'] = 'Bulgarian';
+ $languages['bg']['CHARSET'] = 'iso-8859-1';
+ */
// Decodes a string to the internal encoding from the given charset
function charset_decode ($charset, $string) {
global $debug_mime;