114 lines
2.9 KiB
JavaScript
114 lines
2.9 KiB
JavaScript
(function ($) {
|
|
$.extend($.summernote.lang, {
|
|
'zh-CN': {
|
|
font: {
|
|
bold: '粗体',
|
|
italic: '斜体',
|
|
underline: '下划线',
|
|
clear: '清除格式',
|
|
height: '行高',
|
|
name: '字体',
|
|
strikethrough: '删除线',
|
|
subscript: '下标',
|
|
superscript: '上标',
|
|
size: '字号'
|
|
},
|
|
image: {
|
|
image: '图片',
|
|
insert: '插入图片',
|
|
resizeFull: '缩放至 100%',
|
|
resizeHalf: '缩放至 50%',
|
|
resizeQuarter: '缩放至 25%',
|
|
floatLeft: '靠左浮动',
|
|
floatRight: '靠右浮动',
|
|
floatNone: '取消浮动',
|
|
shapeRounded: '形状: 圆角',
|
|
shapeCircle: '形状: 圆',
|
|
shapeThumbnail: '形状: 缩略图',
|
|
shapeNone: '形状: 无',
|
|
dragImageHere: '将图片拖拽至此处',
|
|
selectFromFiles: '从本地上传',
|
|
maximumFileSize: '文件大小最大值',
|
|
maximumFileSizeError: '文件大小超出最大值。',
|
|
url: '图片地址',
|
|
remove: '移除图片'
|
|
},
|
|
video: {
|
|
video: '视频',
|
|
videoLink: '视频链接',
|
|
insert: '插入视频',
|
|
url: '视频地址',
|
|
providers: '(优酷, Instagram, DailyMotion, Youtube等)'
|
|
},
|
|
link: {
|
|
link: '链接',
|
|
insert: '插入链接',
|
|
unlink: '去除链接',
|
|
edit: '编辑链接',
|
|
textToDisplay: '显示文本',
|
|
url: '链接地址',
|
|
openInNewWindow: '在新窗口打开'
|
|
},
|
|
table: {
|
|
table: '表格'
|
|
},
|
|
hr: {
|
|
insert: '水平线'
|
|
},
|
|
style: {
|
|
style: '样式',
|
|
p: '普通',
|
|
blockquote: '引用',
|
|
pre: '代码',
|
|
h1: '标题 1',
|
|
h2: '标题 2',
|
|
h3: '标题 3',
|
|
h4: '标题 4',
|
|
h5: '标题 5',
|
|
h6: '标题 6'
|
|
},
|
|
lists: {
|
|
unordered: '无序列表',
|
|
ordered: '有序列表'
|
|
},
|
|
options: {
|
|
help: '帮助',
|
|
fullscreen: '全屏',
|
|
codeview: '源代码'
|
|
},
|
|
paragraph: {
|
|
paragraph: '段落',
|
|
outdent: '减少缩进',
|
|
indent: '增加缩进',
|
|
left: '左对齐',
|
|
center: '居中对齐',
|
|
right: '右对齐',
|
|
justify: '两端对齐'
|
|
},
|
|
color: {
|
|
recent: '最近使用',
|
|
more: '更多',
|
|
background: '背景',
|
|
foreground: '前景',
|
|
transparent: '透明',
|
|
setTransparent: '透明',
|
|
reset: '重置',
|
|
resetToDefault: '默认'
|
|
},
|
|
shortcut: {
|
|
shortcuts: '快捷键',
|
|
close: '关闭',
|
|
textFormatting: '文本格式',
|
|
action: '动作',
|
|
paragraphFormatting: '段落格式',
|
|
documentStyle: '文档样式',
|
|
extraKeys: '额外按键'
|
|
},
|
|
history: {
|
|
undo: '撤销',
|
|
redo: '重做'
|
|
}
|
|
}
|
|
});
|
|
})(jQuery);
|