Incorporate Simplified Chinese translation

This commit is contained in:
Daniel Winzen
2016-11-26 09:08:22 +01:00
parent da99281a5d
commit 351aabc84b
2 changed files with 7 additions and 6 deletions

View File

@ -4043,7 +4043,8 @@ function load_lang(){
'es_ES' =>'Español (España)', 'es_ES' =>'Español (España)',
'fr' =>'Français', 'fr' =>'Français',
'id' =>'Bahasa Indonesia', 'id' =>'Bahasa Indonesia',
'ru' =>'Русский' 'ru' =>'Русский',
'zh_CN' =>'简体中文',
]; ];
if(isSet($_REQUEST['lang']) && isSet($L[$_REQUEST['lang']])){ if(isSet($_REQUEST['lang']) && isSet($L[$_REQUEST['lang']])){
$language=$_REQUEST['lang']; $language=$_REQUEST['lang'];

View File

@ -1,6 +1,6 @@
<?php <?php
/* /*
* LE CHAT-PHP - a PHP Chat based on LE CHAT - English translation * LE CHAT-PHP - a PHP Chat based on LE CHAT - Simplified Chinese translation
* *
* Copyright (C) 2015-2016 Daniel Winzen <d@winzen4.de> * Copyright (C) 2015-2016 Daniel Winzen <d@winzen4.de>
* *
@ -18,8 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
//Native language name: English //Native language name: 简体中文
$I=[ $T=[
'nodb' => '没有连接到数据库!', 'nodb' => '没有连接到数据库!',
'nodbsetup' => '没有连接到数据库,请创建一个数据库并编辑脚本并修改为用户名密码正确的数据库!', 'nodbsetup' => '没有连接到数据库,请创建一个数据库并编辑脚本并修改为用户名密码正确的数据库!',
'changelang' => '修改语言:', 'changelang' => '修改语言:',