diff --git a/upload/source/admincp/admincp_index.php b/upload/source/admincp/admincp_index.php index 649c56c6d5dba7833b1b4044988161d7d794409a..1719ee669a39473ba0cf250211f70c043e1d11f1 100644 --- a/upload/source/admincp/admincp_index.php +++ b/upload/source/admincp/admincp_index.php @@ -230,7 +230,7 @@ if(isfounder()) { } } -showtableheader('运行环境检测', 'fixpadding'); +showtableheader('detect_environment', 'fixpadding'); $env_ok = true; $now_ver_gd = function_exists('gd_info')? gd_info() : false; $now_ver = array('PHP' => constant('PHP_VERSION'), 'MySQL' => helper_dbtool::dbversion(), 'gethostbyname' => function_exists('gethostbyname'), 'file_get_contents' => function_exists('file_get_contents'), 'xml_parser_create' => function_exists('xml_parser_create'), @@ -287,9 +287,9 @@ showtablerow('', array(), array( showtablefooter(); showformfooter(); -showtableheader('Discuz! 开源贡献者', 'fixpadding'); +showtableheader('contributors', 'fixpadding'); showtablerow('', array('', 'class="td21" style="text-align:right;"'), - 'Click Here To See Them' + '' . cplang('contributors_see') . '' ); showtablefooter(); @@ -315,9 +315,9 @@ foreach ($newversion['newversion']['downlist'] as $key => $value){ showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallfont"'), array( cplang('home_check_newversion'), - ($newversion['newversion']['release'] ? ($newversion['newversion']['release'] != DISCUZ_RELEASE ? '' : '').'Discuz! '.$newversion['newversion']['version'].' R'.$newversion['newversion']['release'].' '.strtoupper(CHARSET).' '.($newversion['newversion']['release'] != DISCUZ_RELEASE ? '' : '') : '你的服务器无法检测新版,请点击查看新版'). - ' [ 刷新 ]  

'. - (!empty($downlist) ? implode('、', $downlist).($newversion['newversion']['qqqun'] ? '  |  QQ群:'.$newversion['newversion']['qqqun'].'' : '') : '最新版打包下载 | QQ群:73'.'21'.'03'.'690') + ($newversion['newversion']['release'] ? ($newversion['newversion']['release'] != DISCUZ_RELEASE ? '' : '').'Discuz! '.$newversion['newversion']['version'].' R'.$newversion['newversion']['release'].' '.strtoupper(CHARSET).' '.($newversion['newversion']['release'] != DISCUZ_RELEASE ? '' : '') : ''.cplang('detect_environment_error').''). + ' [ '.cplang('refresh').' ]  

'. + (!empty($downlist) ? implode('、', $downlist).($newversion['newversion']['qqqun'] ? '  |  '.cplang('qq_group').$newversion['newversion']['qqqun'].'' : '') : ''.cplang('download_latest').' | '.cplang('qq_group').'73'.'21'.'03'.'690') )); showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallfont"'), array( @@ -350,7 +350,7 @@ showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallf )); showtablefooter(); -showtableheader('Discuz! 动态', 'fixpadding left" style="width : 48%; margin-left: 2%; clear: none;', '', '3'); +showtableheader('discuz_news', 'fixpadding left" style="width : 48%; margin-left: 2%; clear: none;', '', '3'); if(!empty($newversion['news'])){ $newversion['news'] = dhtmlspecialchars($newversion['news']); foreach ($newversion['news'] as $v){ @@ -361,11 +361,11 @@ if(!empty($newversion['news'])){ } } else { showtablerow('', array('', 'class="td21" style="text-align:right;"'), array( - '暂未获取到动态,请登录 Discuz! 社区 查看。', + ''.cplang('log_in_to_update').'', '', )); showtablerow('', array('', 'class="td21" style="text-align:right;"'), array( - 'Discuz! X3.4 最新版本下载', + ''.cplang('download_latest').'', '', )); } @@ -376,11 +376,11 @@ echo '
'; showtableheader('home_dev', 'fixpadding'); showtablerow('', array('class="vtop td24 lineheight"'), array( cplang('home_dev_copyright'), - '腾讯云计算(北京)有限责任公司' + ''.cplang('org_name').'' )); showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallfont team"'), array( cplang('home_dev_manager'), - '戴志康 (Kevin \'Crossday\' Day)' + ''.cplang('dev_manager').'' )); showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight smallfont team"'), array( cplang('home_dev_team'), @@ -430,11 +430,11 @@ showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight team"' )); showtablerow('', array('class="vtop td24 lineheight"', 'class="lineheight"'), array( cplang('home_dev_links'), - 'Discuz! 应用讨论区, - 公司网站, - 购买授权, - 讨论区, - Discuz! 应用中心, + ''.cplang('app_discussion').', + '.cplang('org_site').', + '.cplang('purchase_service').', + '.cplang('discussion_area').', + '.cplang('app_center').', Discuz! X Git ')); showtablefooter(); diff --git a/upload/source/language/lang_admincp.php b/upload/source/language/lang_admincp.php index 5ad11c8f532ffd3811672d5b493998058ace125b..caadf18b8d08a0996c9d1bcdd570e656cca31ed4 100644 --- a/upload/source/language/lang_admincp.php +++ b/upload/source/language/lang_admincp.php @@ -7111,6 +7111,22 @@ url.rewrite-once = ( {caddy} ', + 'detect_environment' => '运行环境检测', + 'contributors' => 'Discuz! 开源贡献者', + 'contributors_see' => 'Click Here To See Them', + 'detect_environment_error' => '你的服务器无法检测新版,请点击查看新版', + 'refresh' => '刷新', + 'qq_group' => 'QQ群:', + 'discuz_news' => 'Discuz! 动态', + 'log_in_to_update' => '暂未获取到动态,请登录 Discuz! 社区 查看。', + 'download_latest' => 'Discuz! X3.4 最新版本下载', + 'org_name' => '腾讯云计算(北京)有限责任公司', + 'dev_manager' => '戴志康 (Kevin \'Crossday\' Day)', + 'app_discussion' => 'Discuz! 应用讨论区', + 'org_site' => '公司网站', + 'purchase_service' => '购买授权', + 'discussion_area' => '讨论区', + 'app_center' => 'Discuz! 应用中心', ); $adminextend = array();