summernote-zh-TW.js 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. (function($) {
  2. $.extend($.summernote.lang, {
  3. 'zh-TW': {
  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: 'Drop image or Text',
  31. selectFromFiles: '從本機上傳',
  32. maximumFileSize: '文件大小最大值',
  33. maximumFileSizeError: '文件大小超出最大值。',
  34. url: '圖片網址',
  35. remove: '移除圖片',
  36. original: '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: 'Add row above',
  57. addRowBelow: 'Add row below',
  58. addColLeft: 'Add column left',
  59. addColRight: 'Add column right',
  60. delRow: 'Delete row',
  61. delCol: 'Delete column',
  62. delTable: 'Delete table'
  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': 'Insert Paragraph',
  118. 'undo': 'Undoes the last command',
  119. 'redo': 'Redoes the last command',
  120. 'tab': 'Tab',
  121. 'untab': 'Untab',
  122. 'bold': 'Set a bold style',
  123. 'italic': 'Set a italic style',
  124. 'underline': 'Set a underline style',
  125. 'strikethrough': 'Set a strikethrough style',
  126. 'removeFormat': 'Clean a style',
  127. 'justifyLeft': 'Set left align',
  128. 'justifyCenter': 'Set center align',
  129. 'justifyRight': 'Set right align',
  130. 'justifyFull': 'Set full align',
  131. 'insertUnorderedList': 'Toggle unordered list',
  132. 'insertOrderedList': 'Toggle ordered list',
  133. 'outdent': 'Outdent on current paragraph',
  134. 'indent': 'Indent on current paragraph',
  135. 'formatPara': 'Change current block\'s format as a paragraph(P tag)',
  136. 'formatH1': 'Change current block\'s format as H1',
  137. 'formatH2': 'Change current block\'s format as H2',
  138. 'formatH3': 'Change current block\'s format as H3',
  139. 'formatH4': 'Change current block\'s format as H4',
  140. 'formatH5': 'Change current block\'s format as H5',
  141. 'formatH6': 'Change current block\'s format as H6',
  142. 'insertHorizontalRule': 'Insert horizontal rule',
  143. 'linkDialog.show': 'Show Link Dialog'
  144. },
  145. history: {
  146. undo: '復原',
  147. redo: '取消復原'
  148. },
  149. specialChar: {
  150. specialChar: 'SPECIAL CHARACTERS',
  151. select: 'Select Special characters'
  152. }
  153. }
  154. });
  155. })(jQuery);