From 31e3daa4c8d1bf5f4684227cbf133df92504d611 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 6 Nov 2014 03:07:00 +0000 Subject: [PATCH] * change lang. --- lib/phpmailer/language/phpmailer.lang-zh-cn.php | 4 ++-- module/mail/lang/en.php | 2 +- module/mail/lang/zh-cn.php | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/phpmailer/language/phpmailer.lang-zh-cn.php b/lib/phpmailer/language/phpmailer.lang-zh-cn.php index e8030ed256..36db92c7af 100644 --- a/lib/phpmailer/language/phpmailer.lang-zh-cn.php +++ b/lib/phpmailer/language/phpmailer.lang-zh-cn.php @@ -5,8 +5,8 @@ * @author liqwei */ -$PHPMAILER_LANG['authenticate'] = 'SMTP 错误:登录失败。\n请检查您设置的用户名密码是否正确。\n有的系统登录用户名是完整的邮箱地址。'; -$PHPMAILER_LANG['connect_host'] = 'SMTP 错误:无法连接到 SMTP 主机,请确认禅道机器:\n1. 能ping通smtp服务器。如果不能ping通,请查看网络状态,或查看域名解析是否正确,或联系网管;\n2. 使用telnet 命令能够连接到smtp的发信端口;\n3. 如果上述步骤都是通的,windows请检查防火墙和杀毒软件设置,linux请关闭selnux或者执行"setsebool httpd_can_sendmail true"允许apache可以发信。'; +$PHPMAILER_LANG['authenticate'] = "SMTP 错误:登录失败。\n请检查您设置的用户名密码是否正确。\n有的系统登录用户名是完整的邮箱地址。"; +$PHPMAILER_LANG['connect_host'] = "SMTP 错误:无法连接到 SMTP 主机,请确认禅道机器:\n1. 能ping通smtp服务器。如果不能ping通,请查看网络状态,或查看域名解析是否正确,或联系网管;\n2. 使用telnet 命令能够连接到smtp的发信端口;\n3. 如果上述步骤都是通的,windows请检查防火墙和杀毒软件设置,linux请关闭selnux或者执行\"setsebool httpd_can_sendmail true\"允许apache可以发信。"; $PHPMAILER_LANG['data_not_accepted'] = 'SMTP 错误:数据不被接受。'; //$P$PHPMAILER_LANG['empty_message'] = 'Message body empty'; $PHPMAILER_LANG['encoding'] = '未知编码: '; diff --git a/module/mail/lang/en.php b/module/mail/lang/en.php index 4e36960ffc..633a8b2dd9 100755 --- a/module/mail/lang/en.php +++ b/module/mail/lang/en.php @@ -44,4 +44,4 @@ $lang->mail->sendmailTips = 'Tips: system will not send mail to current user.' $lang->mail->needConfigure = "I can not find the configuration, please configure it first."; $lang->mail->nofsocket = 'The fsocket correlation function is disabled, not letter! Please enlarge the setting of allow_url_fopen to On in php.ini and open the extension of openssl. Restart apache.'; $lang->mail->noOpenssl = 'Please open the extension of openssl when use tls. Restart apache.'; -$lang->mail->noCurl = 'Please open the extension of curl when use tls. Restart apache.'; +$lang->mail->noCurl = 'Please open the extension of curl when use tls and ssl. Restart apache.'; diff --git a/module/mail/lang/zh-cn.php b/module/mail/lang/zh-cn.php index 2ac418af35..49fc836cad 100755 --- a/module/mail/lang/zh-cn.php +++ b/module/mail/lang/zh-cn.php @@ -43,5 +43,4 @@ $lang->mail->successSended = '成功发送!'; $lang->mail->sendmailTips = '提示:系统不会为当前操作者发信。'; $lang->mail->needConfigure = '无法找到邮件配置信息,请先配置邮件发送参数。'; $lang->mail->nofsocket = 'fsocket相关函数被禁用,不能发信!请在php.ini中修改allow_url_fopen为On,打开openssl扩展。 保存并重新启动apache。'; -$lang->mail->noOpenssl = 'tls加密,请打开openssl扩展。 保存并重新启动apache。'; -$lang->mail->noCurl = 'tls加密,请打开curl扩展。 保存并重新启动apache。'; +$lang->mail->noOpenssl = 'ssl和tls加密,请打开openssl扩展。 保存并重新启动apache。';