Fixed bug #10104: IRRE - Controll icons in header of newly created child elements...
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_cs.php
index c518e98..ca78121 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *
-*  (c) 2003-2007 Kasper Skaarhoj (kasperYYYY@typo3.com)
+*  (c) 2003-2008 Kasper Skaarhoj (kasperYYYY@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the Typo3 project. The Typo3 project is
@@ -264,6 +264,8 @@ class t3lib_cs {
                'fi' => 'west_european',        // Finish
                'fo' => 'west_european',        // Faroese
                'fr' => 'west_european',        // French
+               'ga' => 'west_european',        // Galician
+               'ge' => 'unicode',                      // Georgian
                'gr' => 'greek',
                'he' => 'hebrew',               // Hebrew (since 1998)
                'hi' => 'unicode',              // Hindi
@@ -287,6 +289,7 @@ class t3lib_cs {
                'sl' => 'east_european',        // Slovenian
                'sr' => 'cyrillic',             // Serbian
                'sv' => 'west_european',        // Swedish
+               'sq' => 'albanian',             // Albanian
                'th' => 'thai',
                'uk' => 'cyrillic',             // Ukranian
                'vi' => 'vietnamese',
@@ -316,6 +319,8 @@ class t3lib_cs {
                'frb' => 'west_european',       // French (Belgian)
                'frc' => 'west_european',       // French (Canadian)
                'frs' => 'west_european',       // French (Swiss)
+               'geo' => 'unicode',                     // Georgian
+               'glg' => 'west_european',       // Galician
                'ell' => 'greek',
                'heb' => 'hebrew',
                'hin' => 'unicode',     // Hindi
@@ -345,10 +350,12 @@ class t3lib_cs {
                'esm' => 'west_european',       // Spanish (Mexican)
                'esn' => 'west_european',       // Spanish (internat. sort)
                'sve' => 'west_european',       // Swedish
+               'sqi' => 'albanian',            // Albanian
                'tha' => 'thai',
                'trk' => 'turkish',
                'ukr' => 'cyrillic',    // Ukrainian
                        // English language names
+               'albanian' => 'albanian',
                'arabic' => 'arabic',
                'basque' => 'west_european',
                'bosnian' => 'east_european',
@@ -366,6 +373,7 @@ class t3lib_cs {
                'finnish' => 'west_european',
                'french' => 'west_european',
                'galician' => 'west_european',
+               'georgian' => 'unicode',
                'german' => 'west_european',
                'greek' => 'greek',
                'greenlandic' => 'west_european',
@@ -414,6 +422,7 @@ class t3lib_cs {
                'trad_chinese' => 'big5',
                'vietnamese' => '',
                'unicode' => 'utf-8',
+               'albanian' => 'utf-8'
        );
 
                // mapping of language (family) names to charsets on Windows
@@ -435,6 +444,8 @@ class t3lib_cs {
                'japanese' => 'shift_jis',
                'simpl_chinese' => 'gb2312',
                'trad_chinese' => 'big5',
+               'albanian' => 'windows-1250',
+               'unicode' => 'utf-8'
        );
 
                // mapping of locale names to charsets
@@ -495,7 +506,10 @@ class t3lib_cs {
                'hi' => 'utf-8',
                'fo' => 'utf-8',
                'fa' => 'utf-8',
-               'sr' => 'utf-8'
+               'sr' => 'utf-8',
+               'sq' => 'utf-8',
+               'ge' => 'utf-8',
+               'ga' => '',
        );
 
                // TYPO3 specific: Array with the iso names used for each system language in TYPO3:
@@ -564,7 +578,7 @@ class t3lib_cs {
                if (isset($this->lang_to_script[$language]))    $script = $this->lang_to_script[$language];
 
                if (TYPO3_OS == 'WIN')  {
-                       $cs = $this->script_to_charset_windows[$script] ? $this->script_to_charset_windows[$script] : 'window-1252';
+                       $cs = $this->script_to_charset_windows[$script] ? $this->script_to_charset_windows[$script] : 'windows-1252';
                } else {
                        $cs = $this->script_to_charset_unix[$script] ? $this->script_to_charset_unix[$script] : 'iso-8859-1';
                }
@@ -2093,4 +2107,5 @@ class t3lib_cs {
 if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_cs.php'])       {
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_cs.php']);
 }
-?>
+
+?>
\ No newline at end of file