Fixed issue #16842: Add Canadian French language to TYPO3 core
authorStanislas Rolland <typo3@sjbr.ca>
Sun, 26 Dec 2010 19:53:18 +0000 (19:53 +0000)
committerStanislas Rolland <typo3@sjbr.ca>
Sun, 26 Dec 2010 19:53:18 +0000 (19:53 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9899 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_cs.php
t3lib/config_default.php
t3lib/stddb/tbl_be.php
typo3/sysext/setup/mod/locallang.xml

index 328bfa1..5db12af 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-26  Stanislas Rolland  <typo3@sjbr.ca>
+
+       * Fixed issue #16842: Add Canadian French language to TYPO3 core
+
 2010-12-26  Tobias Liebig  <mail_typo3@etobi.de>
 
        * Fixed bug #16661: include TSRef changes (4.4) for t3editor code completion (thanks to Christian Kartnig)
index ef0007f..9c561c4 100644 (file)
@@ -514,6 +514,7 @@ class t3lib_cs {
                'ge' => 'utf-8',
                'ga' => '',
                'km' => 'utf-8',
+               'qc' => '',
        );
 
                // TYPO3 specific: Array with the iso names used for each system language in TYPO3:
@@ -532,6 +533,7 @@ class t3lib_cs {
                'kr' => 'ko',
                'ua' => 'uk',
                'jp' => 'ja',
+               'qc' => 'fr_CA',
                'vn' => 'vi',
        );
 
index da7db7f..9c28b5b 100644 (file)
@@ -508,7 +508,7 @@ define('TYPO3_extTableDef_script', $typo_db_extTableDef_script);
        //              - Update 'setup' extension labels (sysext/setup/mod/locallang.xml)
        //              - Using translation server? Create new user with username = "language key", member of "translator" group, set to "language key" language.
        // Thats it! Use extension "llxmltranslate" to begin translation. Language pack is automatically created in "typo3conf/l10n/[language key]/"
-define('TYPO3_languages', 'default|dk|de|no|it|fr|es|nl|cz|pl|si|fi|tr|se|pt|ru|ro|ch|sk|lt|is|hr|hu|gl|th|gr|hk|eu|bg|br|et|ar|he|ua|lv|jp|vn|ca|ba|kr|eo|my|hi|fo|fa|sr|sq|ge|ga|km');
+define('TYPO3_languages', 'default|dk|de|no|it|fr|es|nl|cz|pl|si|fi|tr|se|pt|ru|ro|ch|sk|lt|is|hr|hu|gl|th|gr|hk|eu|bg|br|et|ar|he|ua|lv|jp|vn|ca|ba|kr|eo|my|hi|fo|fa|sr|sq|ge|ga|km|qc');
 
        // Unsetting the configured values. Use of these are deprecated.
 unset($typo_db);
index d4b3b54..7b6fe95 100644 (file)
@@ -305,6 +305,7 @@ $TCA['be_users'] = array(
                                        array('Faroese', 'fo'),
                                        array('Finnish', 'fi'),
                                        array('French', 'fr'),
+                                       array('French (Canada)', 'qc'),
                                        array('Galician', 'ga'),
                                        array('Georgian', 'ge'),
                                        array('German', 'de'),
index 2745687..47c1f2e 100755 (executable)
@@ -58,6 +58,7 @@
                        <label index="lang_ge">Georgian</label>
                        <label index="lang_ga">Galician</label>
                        <label index="lang_km">Khmer</label>
+                       <label index="lang_qc">French (Canada)</label>
                        <label index="default">Default</label>
                        <label index="simulate">Simulate backend user</label>
                        <label index="opening">Startup</label>