Commit 655a52c4 authored by Kasper Skårhøj's avatar Kasper Skårhøj
Browse files

* Added Latvian, Japanese and Vietnamese languages


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@230 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 0955418b
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.
......
......@@ -254,6 +254,9 @@ class t3lib_cs {
'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>
*/
*/
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;
......
......@@ -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
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);
......
......@@ -306,6 +306,9 @@ $TCA['be_users'] = Array (
Array('Arabic', 'ar'),
Array('Hebrew', 'he'),
Array('Ukrainian', 'ua'),
Array('Latvian', 'lv'),
Array('Japanese', 'jp'),
Array('Vietnamese', 'vn'),
)
)
),
......
<?php
/**
* Core language labels (jp - Japanese)
* TYPO3 CVS ID: $Id$
*/
$LOCAL_LANG['jp'] = Array (
);
?>
\ No newline at end of file
<?php
/**
* Core language labels (lv - Latvian)
* TYPO3 CVS ID: $Id$
*/
$LOCAL_LANG['lv'] = Array (
);
?>
\ No newline at end of file
<?php
/**
* Core language labels (vn - Vietnamese)
* TYPO3 CVS ID: $Id$
*/
$LOCAL_LANG['vn'] = Array (
);
?>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment