From 2b2fb9840f3e66750825cdeb172523a0d8c7e7cb Mon Sep 17 00:00:00 2001 From: Yagami Date: Wed, 16 Jan 2019 16:52:18 +0800 Subject: [PATCH] * Fix chat lang. --- xuanxuan/module/chat/ext/lang/en/xuanxuan.php | 40 +++++++++++++------ 1 file changed, 27 insertions(+), 13 deletions(-) diff --git a/xuanxuan/module/chat/ext/lang/en/xuanxuan.php b/xuanxuan/module/chat/ext/lang/en/xuanxuan.php index c115071f16..e4675a6808 100644 --- a/xuanxuan/module/chat/ext/lang/en/xuanxuan.php +++ b/xuanxuan/module/chat/ext/lang/en/xuanxuan.php @@ -1,7 +1,8 @@ chat->common = 'Xuanxuan'; $lang->chat->turnon = 'On'; -$lang->chat->help = 'Help'; +$lang->chat->downloadXXD = 'Download XXD'; +$lang->chat->help = 'Help'; $lang->chat->settings = 'Settings'; $lang->chat->turnonList = array(); @@ -10,7 +11,7 @@ $lang->chat->turnonList[0] = 'Off'; $lang->chat->status = 'Status'; $lang->chat->xxdServer = 'Zentao Server'; -$lang->chat->downloadXXD = 'Download Xuanxuan Server'; +$lang->chat->downloadXXD = 'Download XXD'; $lang->chat->listenIP = 'Listen IP'; $lang->chat->chatPort = 'Chat Port'; $lang->chat->uploadFileSize = 'File Size'; @@ -28,14 +29,12 @@ $lang->chat->createTodo = 'Create Todo'; $lang->chat->statusList[1] = 'Enable'; $lang->chat->statusList[0] = 'Disable'; -$lang->chat->httpsOptions[1] = 'Enable'; -$lang->chat->httpsOptions[0] = 'Disable'; - -$lang->chat->xxdServerTip = 'Zentao server address contains protocol and host and port,such as http://192.168.1.35 or http://pms.zentao.com. that can not be 127.0.0.1.'; -$lang->chat->xxdServerEmpty = 'Zentao server address is empty.'; -$lang->chat->xxdServerError = 'Zentao server address can not be 127.0.0.1.'; +$lang->chat->xxdServerTip = 'XXD server address contains protocol and host and port,such as http://192.168.1.35 or http://pms.zentao.com. that can not be 127.0.0.1.'; +$lang->chat->xxdServerEmpty = 'XXD server address is empty.'; +$lang->chat->xxdServerError = 'XXD server address can not be 127.0.0.1.'; $lang->chat->xxdSchemeError = 'Server address should started with http:// or https://.'; $lang->chat->xxdPortError = 'Server address should contain valid port and the default is 11443.'; +$lang->chat->zentaoClient = 'ZenTao Client is added!'; $lang->chat->xxClientConfirm = 'Click to download new zentao client!'; $lang->chat->xxServerConfirm = 'Click to download new zentao client server!'; $lang->chat->info = "ZenTao client is powered by Xuan, a secure and open source Instant Messenger by Nature Easy Soft. It is a self-hosted and cross-platform tool with numerous plug-ins and robust features. In Xuan, you can code your own plug-ins. Click HERE for more."; @@ -47,12 +46,27 @@ $lang->chat->xxd->chatPort = 'Chat Port'; $lang->chat->xxd->commonPort = 'Common Port'; $lang->chat->xxd->isHttps = 'Ishttps'; $lang->chat->xxd->uploadFileSize = 'File Size'; +$lang->chat->xxd->maxOnlineUser = 'Max. Online'; $lang->chat->xxd->sslcrt = 'SSL Crt'; $lang->chat->xxd->sslkey = 'SSL Key'; -$lang->chat->xxd->max = 'Max'; +$lang->chat->xxd->max = 'Max.'; -$lang->chat->osList['win_i386'] = 'Windows 32位'; -$lang->chat->osList['win_x86_64'] = 'Windows 64位'; -$lang->chat->osList['linux_i386'] = 'Linux 32位'; -$lang->chat->osList['linux_x86_64'] = 'Linux 64位'; +$lang->chat->httpsOptions[1] = 'On'; +$lang->chat->httpsOptions[0] = 'Off'; + +$lang->chat->placeholder = new stdclass(); +$lang->chat->placeholder->xxd = new stdclass(); +$lang->chat->placeholder->xxd->ip = 'Listen the IP of the server. Enter 0.0.0.0 if it is not set.'; +$lang->chat->placeholder->xxd->chatPort = 'Port for communications with the client.'; +$lang->chat->placeholder->xxd->commonPort = 'Common port for client user login authentication and file upload/download.'; +$lang->chat->placeholder->xxd->isHttps = 'Use HTTPS'; +$lang->chat->placeholder->xxd->uploadFileSize = 'File size for the uploaded.'; +$lang->chat->placeholder->xxd->maxOnlineUser = 'Maximum number of users online.'; +$lang->chat->placeholder->xxd->sslcrt = 'Copy and paste certificate here.'; +$lang->chat->placeholder->xxd->sslkey = 'Copy and paste key here.'; + +$lang->chat->osList['win_i386'] = 'Windows 32-bit'; +$lang->chat->osList['win_x86_64'] = 'Windows 64-bit'; +$lang->chat->osList['linux_i386'] = 'Linux 32-bit'; +$lang->chat->osList['linux_x86_64'] = 'Linux 64-bit'; $lang->chat->osList['darwin_x86_64'] = 'macOS';