]> git.wh0rd.org Git - tt-rss.git/commitdiff
enable fr_FR, zh_CN translations
authorAndrew Dolgov <fox@madoka.spb.ru>
Fri, 10 Aug 2007 10:23:42 +0000 (11:23 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Fri, 10 Aug 2007 10:23:42 +0000 (11:23 +0100)
functions.php

index 8e003e5a954a2d6897019080d4b32cc6a2166861..25a8913a3c4813449f51397b49734ae1cec20651 100644 (file)
@@ -15,7 +15,7 @@
                function startup_gettext() {
        
                        # Get locale from Accept-Language header
-                       $lang = al2gt(array("en_US", "ru_RU"), "text/html");
+                       $lang = al2gt(array("en_US", "ru_RU", "zh_CN", "fr_FR"), "text/html");
        
                        if ($lang) {
                                _setlocale(LC_MESSAGES, $lang);