add condition of assigning $lang['zh_CN']. ie. if it is not set yet.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44301 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Normann Lou 2007-11-05 23:54:20 +00:00
parent 54e223faca
commit e761a6de35

View File

@ -4,7 +4,7 @@ i18n::include_locale_file('sapphire', 'en_US');
global $lang; global $lang;
$lang['zh_CN'] = $lang['en_US']; if(!isset($lang['zh_CN'])) $lang['zh_CN'] = $lang['en_US'];
$lang['zh_CN']['ComplexTableField.ss']['DELETEROW'] = '删除此行'; $lang['zh_CN']['ComplexTableField.ss']['DELETEROW'] = '删除此行';
$lang['zh_CN']['ComplexTableField.ss']['DELETE'] = '删除'; $lang['zh_CN']['ComplexTableField.ss']['DELETE'] = '删除';