* Added Latvian, Japanese and Vietnamese languages
authorKasper Skårhøj <kasper@typo3.org>
Mon, 26 Apr 2004 12:09:20 +0000 (12:09 +0000)
committerKasper Skårhøj <kasper@typo3.org>
Mon, 26 Apr 2004 12:09:20 +0000 (12:09 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@230 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_cs.php
t3lib/config_default.php
t3lib/stddb/tbl_be.php
typo3/sysext/lang/locallang_core.jp.php [new file with mode: 0644]
typo3/sysext/lang/locallang_core.lv.php [new file with mode: 0644]
typo3/sysext/lang/locallang_core.vn.php [new file with mode: 0644]

index a48f2fe..70cc9b3 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-04-26  Kasper Skårhøj,,,  <kasper@typo3.com>
+
+       * Added Latvian, Japanese and Vietnamese languages
+
 2004-04-24  Kasper Skårhøj,,,  <kasper@typo3.com>
 
        * Added to TypoScript object browser that the title text of the object links contains information about in which lines in the TypoScript body code that a certain object path is set, cleared, copied.
 2004-04-24  Kasper Skårhøj,,,  <kasper@typo3.com>
 
        * Added to TypoScript object browser that the title text of the object links contains information about in which lines in the TypoScript body code that a certain object path is set, cleared, copied.
index 386d2ec..340f6c1 100755 (executable)
@@ -254,6 +254,9 @@ class t3lib_cs {
                'ar' => 'iso-8859-6',
                'he' => 'utf-8',
                'ua' => 'windows-1251',
                'ar' => 'iso-8859-6',
                'he' => 'utf-8',
                'ua' => 'windows-1251',
+               'lv' => 'utf-8',
+               'jp' => 'shift-jis',
+               'vn' => 'utf-8',
        );
 
        /**
        );
 
        /**
@@ -897,14 +900,14 @@ class t3lib_cs {
         * @return      string          the shortened string
         * @see substr(), mb_strimwidth()
         * @author      Martin Kutschker <martin.t.kutschker@blackbox.net>
         * @return      string          the shortened string
         * @see substr(), mb_strimwidth()
         * @author      Martin Kutschker <martin.t.kutschker@blackbox.net>
-        */     
+        */
        function crop($charset,$string,$len,$crop='')   {
                if ($len == 0)  return $crop;
 
                if ($charset == 'utf-8')        {
                        $i = $this->utf8_char2byte_pos($string,$len);
                } elseif ($this->eucBasedSets[$charset])        {
        function crop($charset,$string,$len,$crop='')   {
                if ($len == 0)  return $crop;
 
                if ($charset == 'utf-8')        {
                        $i = $this->utf8_char2byte_pos($string,$len);
                } elseif ($this->eucBasedSets[$charset])        {
-                       $i = $this->euc_char2byte_pos($string,$len,$charset);           
+                       $i = $this->euc_char2byte_pos($string,$len,$charset);
                } else {
                        if ($len > 0)   {
                                $i = $len;
                } else {
                        if ($len > 0)   {
                                $i = $len;
index a75f5f6..6cc79a5 100755 (executable)
@@ -217,7 +217,7 @@ define('TYPO3_extTableDef_script', $typo_db_extTableDef_script);
        //              - Kickstarter wizard (ext/extrep_wizard/pi/class.tx_extrepwizard.php)
        //              - Add new file: sysext/lang/locallang_core.[lang_key].php
        //              - Add character encoding for lang key in t3lib/class.t3lib_cs.php
        //              - Kickstarter wizard (ext/extrep_wizard/pi/class.tx_extrepwizard.php)
        //              - Add new file: sysext/lang/locallang_core.[lang_key].php
        //              - Add character encoding for lang key in t3lib/class.t3lib_cs.php
-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');
+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');
 
        // Unsetting the configured values. Use of these are depreciated.
 unset($typo_db);
 
        // Unsetting the configured values. Use of these are depreciated.
 unset($typo_db);
index 672f3b1..5899360 100755 (executable)
@@ -306,6 +306,9 @@ $TCA['be_users'] = Array (
                                        Array('Arabic', 'ar'),
                                        Array('Hebrew', 'he'),
                                        Array('Ukrainian', 'ua'),
                                        Array('Arabic', 'ar'),
                                        Array('Hebrew', 'he'),
                                        Array('Ukrainian', 'ua'),
+                                       Array('Latvian', 'lv'),
+                                       Array('Japanese', 'jp'),
+                                       Array('Vietnamese', 'vn'),
                                )
                        )
                ),
                                )
                        )
                ),
diff --git a/typo3/sysext/lang/locallang_core.jp.php b/typo3/sysext/lang/locallang_core.jp.php
new file mode 100644 (file)
index 0000000..b8bd1f7
--- /dev/null
@@ -0,0 +1,10 @@
+<?php
+/**
+ * Core language labels (jp - Japanese)
+ * TYPO3 CVS ID: $Id$
+ */
+
+$LOCAL_LANG['jp'] = Array (
+
+);
+?>
\ No newline at end of file
diff --git a/typo3/sysext/lang/locallang_core.lv.php b/typo3/sysext/lang/locallang_core.lv.php
new file mode 100644 (file)
index 0000000..5132cd2
--- /dev/null
@@ -0,0 +1,10 @@
+<?php
+/**
+ * Core language labels (lv  - Latvian)
+ * TYPO3 CVS ID: $Id$
+ */
+
+$LOCAL_LANG['lv'] = Array (
+
+);
+?>
\ No newline at end of file
diff --git a/typo3/sysext/lang/locallang_core.vn.php b/typo3/sysext/lang/locallang_core.vn.php
new file mode 100644 (file)
index 0000000..bad1c78
--- /dev/null
@@ -0,0 +1,10 @@
+<?php
+/**
+ * Core language labels (vn - Vietnamese)
+ * TYPO3 CVS ID: $Id$
+ */
+
+$LOCAL_LANG['vn'] = Array (
+
+);
+?>
\ No newline at end of file