Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
6ce229fd
Commit
6ce229fd
authored
Mar 19, 2014
by
campaign
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加主题菜单的中文说明
parent
c450681d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
zh-cn.js
lang/zh-cn/zh-cn.js
+4
-0
layout.js
src/adapter/layout.js
+3
-0
No files found.
lang/zh-cn/zh-cn.js
View file @
6ce229fd
...
@@ -45,6 +45,10 @@ KityMinder.LANG[ 'zh-cn' ] = {
...
@@ -45,6 +45,10 @@ KityMinder.LANG[ 'zh-cn' ] = {
'appendsiblingnode'
:
'插入同级节点'
,
'appendsiblingnode'
:
'插入同级节点'
,
'appendchildnode'
:
'插入子节点'
,
'appendchildnode'
:
'插入子节点'
,
'removenode'
:
'删除节点'
'removenode'
:
'删除节点'
},
'layout'
:{
'default'
:
'左右展开'
,
'bottom'
:
'向下展开'
}
}
};
};
\ No newline at end of file
src/adapter/layout.js
View file @
6ce229fd
...
@@ -17,6 +17,9 @@ KM.registerToolbarUI( 'switchlayout', function ( name ) {
...
@@ -17,6 +17,9 @@ KM.registerToolbarUI( 'switchlayout', function ( name ) {
return
null
;
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
);
$combox
=
$
.
kmuibuttoncombobox
(
options
).
css
(
'zIndex'
,
me
.
getOptions
(
'zIndex'
)
+
1
);
comboboxWidget
=
$combox
.
kmui
();
comboboxWidget
=
$combox
.
kmui
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment