summernote-zh-CN.js 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. (function($) {
  2. $.extend($.summernote.lang, {
  3. 'zh-CN': {
  4. font: {
  5. bold: '粗体',
  6. italic: '斜体',
  7. underline: '下划线',
  8. clear: '清除格式',
  9. height: '行高',
  10. name: '字体',
  11. strikethrough: '删除线',
  12. subscript: '下标',
  13. superscript: '上标',
  14. size: '字号'
  15. },
  16. image: {
  17. image: '图片',
  18. insert: '插入图片',
  19. resizeFull: '缩放至 100%',
  20. resizeHalf: '缩放至 50%',
  21. resizeQuarter: '缩放至 25%',
  22. floatLeft: '靠左浮动',
  23. floatRight: '靠右浮动',
  24. floatNone: '取消浮动',
  25. shapeRounded: '形状: 圆角',
  26. shapeCircle: '形状: 圆',
  27. shapeThumbnail: '形状: 缩略图',
  28. shapeNone: '形状: 无',
  29. dragImageHere: '将图片拖拽至此处',
  30. dropImage: '拖拽图片或文本',
  31. selectFromFiles: '从本地上传',
  32. maximumFileSize: '文件大小最大值',
  33. maximumFileSizeError: '文件大小超出最大值。',
  34. url: '图片地址',
  35. remove: '移除图片',
  36. original: '原始图片'
  37. },
  38. video: {
  39. video: '视频',
  40. videoLink: '视频链接',
  41. insert: '插入视频',
  42. url: '视频地址',
  43. providers: '(优酷, 腾讯, Instagram, DailyMotion, Youtube等)'
  44. },
  45. link: {
  46. link: '链接',
  47. insert: '插入链接',
  48. unlink: '去除链接',
  49. edit: '编辑链接',
  50. textToDisplay: '显示文本',
  51. url: '链接地址',
  52. openInNewWindow: '在新窗口打开'
  53. },
  54. table: {
  55. table: '表格',
  56. addRowAbove: '在上方插入行',
  57. addRowBelow: '在下方插入行',
  58. addColLeft: '在左侧插入列',
  59. addColRight: '在右侧插入列',
  60. delRow: '删除行',
  61. delCol: '删除列',
  62. delTable: '删除表格'
  63. },
  64. hr: {
  65. insert: '水平线'
  66. },
  67. style: {
  68. style: '样式',
  69. p: '普通',
  70. blockquote: '引用',
  71. pre: '代码',
  72. h1: '标题 1',
  73. h2: '标题 2',
  74. h3: '标题 3',
  75. h4: '标题 4',
  76. h5: '标题 5',
  77. h6: '标题 6'
  78. },
  79. lists: {
  80. unordered: '无序列表',
  81. ordered: '有序列表'
  82. },
  83. options: {
  84. help: '帮助',
  85. fullscreen: '全屏',
  86. codeview: '源代码'
  87. },
  88. paragraph: {
  89. paragraph: '段落',
  90. outdent: '减少缩进',
  91. indent: '增加缩进',
  92. left: '左对齐',
  93. center: '居中对齐',
  94. right: '右对齐',
  95. justify: '两端对齐'
  96. },
  97. color: {
  98. recent: '最近使用',
  99. more: '更多',
  100. background: '背景',
  101. foreground: '前景',
  102. transparent: '透明',
  103. setTransparent: '透明',
  104. reset: '重置',
  105. resetToDefault: '默认'
  106. },
  107. shortcut: {
  108. shortcuts: '快捷键',
  109. close: '关闭',
  110. textFormatting: '文本格式',
  111. action: '动作',
  112. paragraphFormatting: '段落格式',
  113. documentStyle: '文档样式',
  114. extraKeys: '额外按键'
  115. },
  116. help: {
  117. insertParagraph: '插入段落',
  118. undo: '撤销',
  119. redo: '重做',
  120. tab: '增加缩进',
  121. untab: '减少缩进',
  122. bold: '粗体',
  123. italic: '斜体',
  124. underline: '下划线',
  125. strikethrough: '删除线',
  126. removeFormat: '清除格式',
  127. justifyLeft: '左对齐',
  128. justifyCenter: '居中对齐',
  129. justifyRight: '右对齐',
  130. justifyFull: '两端对齐',
  131. insertUnorderedList: '无序列表',
  132. insertOrderedList: '有序列表',
  133. outdent: '减少缩进',
  134. indent: '增加缩进',
  135. formatPara: '设置选中内容样式为 普通',
  136. formatH1: '设置选中内容样式为 标题1',
  137. formatH2: '设置选中内容样式为 标题2',
  138. formatH3: '设置选中内容样式为 标题3',
  139. formatH4: '设置选中内容样式为 标题4',
  140. formatH5: '设置选中内容样式为 标题5',
  141. formatH6: '设置选中内容样式为 标题6',
  142. insertHorizontalRule: '插入水平线',
  143. 'linkDialog.show': '显示链接对话框'
  144. },
  145. history: {
  146. undo: '撤销',
  147. redo: '重做'
  148. },
  149. specialChar: {
  150. specialChar: '特殊字符',
  151. select: '选取特殊字符'
  152. }
  153. }
  154. });
  155. })(jQuery);