From 2f3446d0fef991a6005bca0196bf457f6cb60900 Mon Sep 17 00:00:00 2001 From: Normann Lou Date: Mon, 5 Nov 2007 23:55:01 +0000 Subject: [PATCH] add condition of assigning $lang['zh_CN']. ie. if it is not set yet. git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44302 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- lang/zh_CN.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/zh_CN.php b/lang/zh_CN.php index 524a4360..4a8fc92d 100644 --- a/lang/zh_CN.php +++ b/lang/zh_CN.php @@ -4,7 +4,7 @@ i18n::include_locale_file('cms', 'en_US'); global $lang; -$lang['zh_CN'] = $lang['en_US']; +if(!isset($lang['zh_CN'])) $lang['zh_CN'] = $lang['en_US']; $lang['zh_CN']['CMSMain']['CREATE'] = '创建'; $lang['zh_CN']['CMSMain']['REMOVEDFD'] = '从预备发布站删除'; @@ -224,7 +224,7 @@ $lang['zh_CN']['CMSLeft.ss']['GO'] = '执行'; $lang['zh_CN']['CMSLeft.ss']['SELECTPAGESDEL'] = '选择您想要删除的网页,然后点击下面的按钮'; $lang['zh_CN']['CMSLeft.ss']['DELPAGES'] = '删除所选网页'; $lang['zh_CN']['CMSMain_left.ss']['SEARCH'] = '搜索'; -$lang['zh_CN']['CMSMain_left.ss']['BATCHACTIONS'] = '批量行动'; +$lang['zh_CN']['CMSMain_left.ss']['BATCHACTIONS'] = '批量处理'; $lang['zh_CN']['CMSMain_left.ss']['ENABLEDRAGGING'] = '允许拖拽以重新排序'; $lang['zh_CN']['CMSMain_left.ss']['SEARCHTITLE'] = '搜索URL(路径),名称,菜单名称以及内容'; $lang['zh_CN']['CMSMain_left.ss']['EDITEDSINCE'] = '上一次被编辑';