mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
54e223faca
commit
e761a6de35
@ -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'] = '删除';
|
||||||
|
Loading…
Reference in New Issue
Block a user