summernote-zh-CN.js 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. (function ($) {
  2. $.extend($.summernote.lang, {
  3. 'zh-CN': {
  4. font: {
  5. bold: '粗体',
  6. italic: '斜体',
  7. underline: '下划线',
  8. strikethrough: '删除线',
  9. clear: '清除格式',
  10. height: '行高',
  11. name: '字体',
  12. size: '字号'
  13. },
  14. image: {
  15. image: '图片',
  16. insert: '插入图片',
  17. resizeFull: '调整至 100%',
  18. resizeHalf: '调整至 50%',
  19. resizeQuarter: '调整至 25%',
  20. floatLeft: '左浮动',
  21. floatRight: '右浮动',
  22. floatNone: '不浮动',
  23. dragImageHere: '将图片拖至此处',
  24. selectFromFiles: '从本地上传',
  25. url: '图片地址'
  26. },
  27. link: {
  28. link: '链接',
  29. insert: '插入链接',
  30. unlink: '去除链接',
  31. edit: '编辑链接',
  32. textToDisplay: '显示文本',
  33. url: '链接地址',
  34. openInNewWindow: '在新窗口打开'
  35. },
  36. video: {
  37. video: '视频',
  38. videoLink: '视频链接',
  39. insert: '插入视频',
  40. url: '视频地址',
  41. providers: '(优酷, Instagram, DailyMotion, Youtube等)'
  42. },
  43. table: {
  44. table: '表格'
  45. },
  46. hr: {
  47. insert: '水平线'
  48. },
  49. style: {
  50. style: '样式',
  51. normal: '普通',
  52. blockquote: '引用',
  53. pre: '代码',
  54. h1: '标题 1',
  55. h2: '标题 2',
  56. h3: '标题 3',
  57. h4: '标题 4',
  58. h5: '标题 5',
  59. h6: '标题 6'
  60. },
  61. lists: {
  62. unordered: '无序列表',
  63. ordered: '有序列表'
  64. },
  65. options: {
  66. help: '帮助',
  67. fullscreen: '全屏',
  68. codeview: '源代码'
  69. },
  70. paragraph: {
  71. paragraph: '段落',
  72. outdent: '减少缩进',
  73. indent: '增加缩进',
  74. left: '左对齐',
  75. center: '居中对齐',
  76. right: '右对齐',
  77. justify: '两端对齐'
  78. },
  79. color: {
  80. recent: '最近使用',
  81. more: '更多',
  82. background: '背景',
  83. foreground: '前景',
  84. transparent: '透明',
  85. setTransparent: '透明',
  86. reset: '重置',
  87. resetToDefault: '默认'
  88. },
  89. shortcut: {
  90. shortcuts: '快捷键',
  91. close: '关闭',
  92. textFormatting: '文本格式',
  93. action: '动作',
  94. paragraphFormatting: '段落格式',
  95. documentStyle: '文档样式'
  96. },
  97. history: {
  98. undo: '撤销',
  99. redo: '重做'
  100. }
  101. }
  102. });
  103. })(jQuery);