en.js 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. /*******************************************************************************
  2. * KindEditor - WYSIWYG HTML Editor for Internet
  3. * Copyright (C) 2006-2011 kindsoft.net
  4. *
  5. * @author Roddy <luolonghao@gmail.com>
  6. * @site http://www.kindsoft.net/
  7. * @licence http://www.kindsoft.net/license.php
  8. *******************************************************************************/
  9. KindEditor.lang({
  10. source: 'Source',
  11. preview: 'Preview',
  12. undo: 'Undo(Ctrl+Z)',
  13. redo: 'Redo(Ctrl+Y)',
  14. cut: 'Cut(Ctrl+X)',
  15. copy: 'Copy(Ctrl+C)',
  16. paste: 'Paste(Ctrl+V)',
  17. plainpaste: 'Paste as plain text',
  18. wordpaste: 'Paste from Word',
  19. selectall: 'Select all',
  20. justifyleft: 'Align left',
  21. justifycenter: 'Align center',
  22. justifyright: 'Align right',
  23. justifyfull: 'Align full',
  24. insertorderedlist: 'Ordered list',
  25. insertunorderedlist: 'Unordered list',
  26. indent: 'Increase indent',
  27. outdent: 'Decrease indent',
  28. subscript: 'Subscript',
  29. superscript: 'Superscript',
  30. formatblock: 'Paragraph format',
  31. fontname: 'Font family',
  32. fontsize: 'Font size',
  33. forecolor: 'Text color',
  34. hilitecolor: 'Highlight color',
  35. bold: 'Bold(Ctrl+B)',
  36. italic: 'Italic(Ctrl+I)',
  37. underline: 'Underline(Ctrl+U)',
  38. strikethrough: 'Strikethrough',
  39. removeformat: 'Remove format',
  40. image: 'Image',
  41. multiimage: 'Multi image',
  42. flash: 'Flash',
  43. media: 'Embeded media',
  44. table: 'Table',
  45. tablecell: 'Cell',
  46. hr: 'Insert horizontal line',
  47. emoticons: 'Insert emoticon',
  48. link: 'Link',
  49. unlink: 'Unlink',
  50. fullscreen: 'Toggle fullscreen mode',
  51. about: 'About',
  52. print: 'Print',
  53. filemanager: 'File Manager',
  54. code: 'Insert code',
  55. map: 'Google Maps',
  56. baidumap: 'Baidu Maps',
  57. lineheight: 'Line height',
  58. clearhtml: 'Clear HTML code',
  59. pagebreak: 'Insert Page Break',
  60. quickformat: 'Quick Format',
  61. insertfile: 'Insert file',
  62. template: 'Insert Template',
  63. anchor: 'Anchor',
  64. yes: 'OK',
  65. no: 'Cancel',
  66. close: 'Close',
  67. editImage: 'Image properties',
  68. deleteImage: 'Delete image',
  69. editFlash: 'Flash properties',
  70. deleteFlash: 'Delete flash',
  71. editMedia: 'Media properties',
  72. deleteMedia: 'Delete media',
  73. editLink: 'Link properties',
  74. deleteLink: 'Unlink',
  75. editAnchor: 'Anchor properties',
  76. deleteAnchor: 'Delete Anchor',
  77. tableprop: 'Table properties',
  78. tablecellprop: 'Cell properties',
  79. tableinsert: 'Insert table',
  80. tabledelete: 'Delete table',
  81. tablecolinsertleft: 'Insert column left',
  82. tablecolinsertright: 'Insert column right',
  83. tablerowinsertabove: 'Insert row above',
  84. tablerowinsertbelow: 'Insert row below',
  85. tablerowmerge: 'Merge down',
  86. tablecolmerge: 'Merge right',
  87. tablerowsplit: 'Split row',
  88. tablecolsplit: 'Split column',
  89. tablecoldelete: 'Delete column',
  90. tablerowdelete: 'Delete row',
  91. noColor: 'Default',
  92. pleaseSelectFile: 'Please select file.',
  93. invalidImg: "Please type valid URL.\nAllowed file extension: jpg,gif,bmp,png",
  94. invalidMedia: "Please type valid URL.\nAllowed file extension: swf,flv,mp3,wav,wma,wmv,mid,avi,mpg,asf,rm,rmvb",
  95. invalidWidth: "The width must be number.",
  96. invalidHeight: "The height must be number.",
  97. invalidBorder: "The border must be number.",
  98. invalidUrl: "Please type valid URL.",
  99. invalidRows: 'Invalid rows.',
  100. invalidCols: 'Invalid columns.',
  101. invalidPadding: 'The padding must be number.',
  102. invalidSpacing: 'The spacing must be number.',
  103. invalidJson: 'Invalid JSON string.',
  104. uploadSuccess: 'Upload success.',
  105. cutError: 'Currently not supported by your browser, use keyboard shortcut(Ctrl+X) instead.',
  106. copyError: 'Currently not supported by your browser, use keyboard shortcut(Ctrl+C) instead.',
  107. pasteError: 'Currently not supported by your browser, use keyboard shortcut(Ctrl+V) instead.',
  108. ajaxLoading: 'Loading ...',
  109. uploadLoading: 'Uploading ...',
  110. uploadError: 'Upload Error',
  111. 'plainpaste.comment': 'Use keyboard shortcut(Ctrl+V) to paste the text into the window.',
  112. 'wordpaste.comment': 'Use keyboard shortcut(Ctrl+V) to paste the text into the window.',
  113. 'code.pleaseInput': 'Please input code.',
  114. 'link.url': 'URL',
  115. 'link.linkType': 'Target',
  116. 'link.newWindow': 'New window',
  117. 'link.selfWindow': 'Same window',
  118. 'flash.url': 'URL',
  119. 'flash.width': 'Width',
  120. 'flash.height': 'Height',
  121. 'flash.upload': 'Upload',
  122. 'flash.viewServer': 'Browse',
  123. 'media.url': 'URL',
  124. 'media.width': 'Width',
  125. 'media.height': 'Height',
  126. 'media.autostart': 'Auto start',
  127. 'media.upload': 'Upload',
  128. 'media.viewServer': 'Browse',
  129. 'image.remoteImage': 'Insert URL',
  130. 'image.localImage': 'Upload',
  131. 'image.remoteUrl': 'URL',
  132. 'image.localUrl': 'File',
  133. 'image.size': 'Size',
  134. 'image.width': 'Width',
  135. 'image.height': 'Height',
  136. 'image.resetSize': 'Reset dimensions',
  137. 'image.align': 'Align',
  138. 'image.defaultAlign': 'Default',
  139. 'image.leftAlign': 'Left',
  140. 'image.rightAlign': 'Right',
  141. 'image.imgTitle': 'Title',
  142. 'image.upload': 'Browse',
  143. 'image.viewServer': 'Browse',
  144. 'multiimage.uploadDesc': 'Allows users to upload <%=uploadLimit%> images, single image size not exceeding <%=sizeLimit%>',
  145. 'multiimage.startUpload': 'Start upload',
  146. 'multiimage.clearAll': 'Clear all',
  147. 'multiimage.insertAll': 'Insert all',
  148. 'multiimage.queueLimitExceeded': 'Queue limit exceeded.',
  149. 'multiimage.fileExceedsSizeLimit': 'File exceeds size limit.',
  150. 'multiimage.zeroByteFile': 'Zero byte file.',
  151. 'multiimage.invalidFiletype': 'Invalid file type.',
  152. 'multiimage.unknownError': 'Unknown upload error.',
  153. 'multiimage.pending': 'Pending ...',
  154. 'multiimage.uploadError': 'Upload error',
  155. 'filemanager.emptyFolder': 'Blank',
  156. 'filemanager.moveup': 'Parent folder',
  157. 'filemanager.viewType': 'Display: ',
  158. 'filemanager.viewImage': 'Thumbnails',
  159. 'filemanager.listImage': 'List',
  160. 'filemanager.orderType': 'Sorting: ',
  161. 'filemanager.fileName': 'By name',
  162. 'filemanager.fileSize': 'By size',
  163. 'filemanager.fileType': 'By type',
  164. 'insertfile.url': 'URL',
  165. 'insertfile.title': 'Title',
  166. 'insertfile.upload': 'Upload',
  167. 'insertfile.viewServer': 'Browse',
  168. 'table.cells': 'Cells',
  169. 'table.rows': 'Rows',
  170. 'table.cols': 'Columns',
  171. 'table.size': 'Dimensions',
  172. 'table.width': 'Width',
  173. 'table.height': 'Height',
  174. 'table.percent': '%',
  175. 'table.px': 'px',
  176. 'table.space': 'Space',
  177. 'table.padding': 'Padding',
  178. 'table.spacing': 'Spacing',
  179. 'table.align': 'Align',
  180. 'table.textAlign': 'Horizontal',
  181. 'table.verticalAlign': 'Vertical',
  182. 'table.alignDefault': 'Default',
  183. 'table.alignLeft': 'Left',
  184. 'table.alignCenter': 'Center',
  185. 'table.alignRight': 'Right',
  186. 'table.alignTop': 'Top',
  187. 'table.alignMiddle': 'Middle',
  188. 'table.alignBottom': 'Bottom',
  189. 'table.alignBaseline': 'Baseline',
  190. 'table.border': 'Border',
  191. 'table.borderWidth': 'Width',
  192. 'table.borderColor': 'Color',
  193. 'table.backgroundColor': 'Background',
  194. 'map.address': 'Address: ',
  195. 'map.search': 'Search',
  196. 'baidumap.address': 'Address: ',
  197. 'baidumap.search': 'Search',
  198. 'baidumap.insertDynamicMap': 'Dynamic Map',
  199. 'anchor.name': 'Anchor name',
  200. 'formatblock.formatBlock': {
  201. h1: 'Heading 1',
  202. h2: 'Heading 2',
  203. h3: 'Heading 3',
  204. h4: 'Heading 4',
  205. p: 'Normal'
  206. },
  207. 'fontname.fontName': {
  208. 'Arial': 'Arial',
  209. 'Arial Black': 'Arial Black',
  210. 'Comic Sans MS': 'Comic Sans MS',
  211. 'Courier New': 'Courier New',
  212. 'Garamond': 'Garamond',
  213. 'Georgia': 'Georgia',
  214. 'Tahoma': 'Tahoma',
  215. 'Times New Roman': 'Times New Roman',
  216. 'Trebuchet MS': 'Trebuchet MS',
  217. 'Verdana': 'Verdana'
  218. },
  219. 'lineheight.lineHeight': [
  220. {'1': 'Line height 1'},
  221. {'1.5': 'Line height 1.5'},
  222. {'2': 'Line height 2'},
  223. {'2.5': 'Line height 2.5'},
  224. {'3': 'Line height 3'}
  225. ],
  226. 'template.selectTemplate': 'Template',
  227. 'template.replaceContent': 'Replace current content',
  228. 'template.fileList': {
  229. '1.html': 'Image and Text',
  230. '2.html': 'Table',
  231. '3.html': 'List'
  232. }
  233. }, 'en');
  234. KindEditor.each(KindEditor.options.items, function (i, name) {
  235. if (name == 'baidumap') {
  236. KindEditor.options.items[i] = 'map';
  237. }
  238. });
  239. KindEditor.options.langType = 'en';