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)',
'fr' =>'Français',
'id' =>'Bahasa Indonesia',
'ru' =>'Русский'
'ru' =>'Русский',
'zh_CN' =>'简体中文',
];
if(isSet($_REQUEST['lang']) && isSet($L[$_REQUEST['lang']])){
$language=$_REQUEST['lang'];

View File

@ -1,6 +1,6 @@
<?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>
*
@ -18,8 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
//Native language name: English
$I=[
//Native language name: 简体中文
$T=[
'nodb' => '没有连接到数据库!',
'nodbsetup' => '没有连接到数据库,请创建一个数据库并编辑脚本并修改为用户名密码正确的数据库!',
'changelang' => '修改语言:',