Commit 6ce229fd authored by campaign's avatar campaign

添加主题菜单的中文说明

parent c450681d
......@@ -45,6 +45,10 @@ KityMinder.LANG[ 'zh-cn' ] = {
'appendsiblingnode': '插入同级节点',
'appendchildnode': '插入子节点',
'removenode': '删除节点'
},
'layout':{
'default':'左右展开',
'bottom':'向下展开'
}
};
\ No newline at end of file
......@@ -17,6 +17,9 @@ KM.registerToolbarUI( 'switchlayout', function ( name ) {
return null;
}
utils.each(options.items,function(i,item){
options.items[i] = me.getLang('layout')[item];
});
//实例化
$combox = $.kmuibuttoncombobox( options ).css( 'zIndex', me.getOptions( 'zIndex' ) + 1 );
comboboxWidget = $combox.kmui();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment