rails_kindeditor 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (206) hide show
  1. data/README.rdoc +14 -99
  2. data/lib/generators/rails_kindeditor/install/install_generator.rb +2 -2
  3. data/lib/generators/rails_kindeditor/install/templates/kindeditor/kindeditor-min.js +165 -158
  4. data/lib/generators/rails_kindeditor/install/templates/kindeditor/lang/en.js +210 -208
  5. data/lib/generators/rails_kindeditor/install/templates/kindeditor/lang/zh_CN.js +214 -210
  6. data/lib/generators/rails_kindeditor/install/templates/kindeditor/lang/zh_TW.js +212 -210
  7. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/anchor/anchor.js +46 -0
  8. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/clearhtml/clearhtml.js +29 -28
  9. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/filemanager/filemanager.js +185 -189
  10. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/flash/flash.js +145 -128
  11. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/image/image.js +242 -226
  12. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/insertfile/insertfile.js +109 -104
  13. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/link/link.js +65 -59
  14. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/map/map.js +137 -135
  15. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/media/media.js +153 -136
  16. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/pagebreak/pagebreak.js +26 -26
  17. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/table/table.js +715 -661
  18. data/lib/generators/rails_kindeditor/install/templates/kindeditor/plugins/wordpaste/wordpaste.js +51 -57
  19. data/lib/generators/rails_kindeditor/install/templates/kindeditor/themes/common/anchor.gif +0 -0
  20. data/lib/generators/rails_kindeditor/install/templates/kindeditor/themes/default/default.css +980 -941
  21. data/lib/generators/rails_kindeditor/install/templates/kindeditor/themes/default/default.gif +0 -0
  22. data/lib/rails_kindeditor/helper.rb +9 -10
  23. data/lib/rails_kindeditor/version.rb +1 -1
  24. metadata +29 -231
  25. data/vendor/assets/javascripts/kindeditor.js +0 -158
  26. data/vendor/assets/javascripts/lang/en.js +0 -208
  27. data/vendor/assets/javascripts/lang/zh_CN.js +0 -210
  28. data/vendor/assets/javascripts/lang/zh_TW.js +0 -210
  29. data/vendor/assets/javascripts/plugins/clearhtml/clearhtml.js +0 -28
  30. data/vendor/assets/javascripts/plugins/code/code.js +0 -57
  31. data/vendor/assets/javascripts/plugins/code/prettify.css +0 -13
  32. data/vendor/assets/javascripts/plugins/code/prettify.js +0 -28
  33. data/vendor/assets/javascripts/plugins/emoticons/emoticons.js +0 -129
  34. data/vendor/assets/javascripts/plugins/emoticons/images/0.gif +0 -0
  35. data/vendor/assets/javascripts/plugins/emoticons/images/1.gif +0 -0
  36. data/vendor/assets/javascripts/plugins/emoticons/images/10.gif +0 -0
  37. data/vendor/assets/javascripts/plugins/emoticons/images/100.gif +0 -0
  38. data/vendor/assets/javascripts/plugins/emoticons/images/101.gif +0 -0
  39. data/vendor/assets/javascripts/plugins/emoticons/images/102.gif +0 -0
  40. data/vendor/assets/javascripts/plugins/emoticons/images/103.gif +0 -0
  41. data/vendor/assets/javascripts/plugins/emoticons/images/104.gif +0 -0
  42. data/vendor/assets/javascripts/plugins/emoticons/images/105.gif +0 -0
  43. data/vendor/assets/javascripts/plugins/emoticons/images/106.gif +0 -0
  44. data/vendor/assets/javascripts/plugins/emoticons/images/107.gif +0 -0
  45. data/vendor/assets/javascripts/plugins/emoticons/images/108.gif +0 -0
  46. data/vendor/assets/javascripts/plugins/emoticons/images/109.gif +0 -0
  47. data/vendor/assets/javascripts/plugins/emoticons/images/11.gif +0 -0
  48. data/vendor/assets/javascripts/plugins/emoticons/images/110.gif +0 -0
  49. data/vendor/assets/javascripts/plugins/emoticons/images/111.gif +0 -0
  50. data/vendor/assets/javascripts/plugins/emoticons/images/112.gif +0 -0
  51. data/vendor/assets/javascripts/plugins/emoticons/images/113.gif +0 -0
  52. data/vendor/assets/javascripts/plugins/emoticons/images/114.gif +0 -0
  53. data/vendor/assets/javascripts/plugins/emoticons/images/115.gif +0 -0
  54. data/vendor/assets/javascripts/plugins/emoticons/images/116.gif +0 -0
  55. data/vendor/assets/javascripts/plugins/emoticons/images/117.gif +0 -0
  56. data/vendor/assets/javascripts/plugins/emoticons/images/118.gif +0 -0
  57. data/vendor/assets/javascripts/plugins/emoticons/images/119.gif +0 -0
  58. data/vendor/assets/javascripts/plugins/emoticons/images/12.gif +0 -0
  59. data/vendor/assets/javascripts/plugins/emoticons/images/120.gif +0 -0
  60. data/vendor/assets/javascripts/plugins/emoticons/images/121.gif +0 -0
  61. data/vendor/assets/javascripts/plugins/emoticons/images/122.gif +0 -0
  62. data/vendor/assets/javascripts/plugins/emoticons/images/123.gif +0 -0
  63. data/vendor/assets/javascripts/plugins/emoticons/images/124.gif +0 -0
  64. data/vendor/assets/javascripts/plugins/emoticons/images/125.gif +0 -0
  65. data/vendor/assets/javascripts/plugins/emoticons/images/126.gif +0 -0
  66. data/vendor/assets/javascripts/plugins/emoticons/images/127.gif +0 -0
  67. data/vendor/assets/javascripts/plugins/emoticons/images/128.gif +0 -0
  68. data/vendor/assets/javascripts/plugins/emoticons/images/129.gif +0 -0
  69. data/vendor/assets/javascripts/plugins/emoticons/images/13.gif +0 -0
  70. data/vendor/assets/javascripts/plugins/emoticons/images/130.gif +0 -0
  71. data/vendor/assets/javascripts/plugins/emoticons/images/131.gif +0 -0
  72. data/vendor/assets/javascripts/plugins/emoticons/images/132.gif +0 -0
  73. data/vendor/assets/javascripts/plugins/emoticons/images/133.gif +0 -0
  74. data/vendor/assets/javascripts/plugins/emoticons/images/134.gif +0 -0
  75. data/vendor/assets/javascripts/plugins/emoticons/images/14.gif +0 -0
  76. data/vendor/assets/javascripts/plugins/emoticons/images/15.gif +0 -0
  77. data/vendor/assets/javascripts/plugins/emoticons/images/16.gif +0 -0
  78. data/vendor/assets/javascripts/plugins/emoticons/images/17.gif +0 -0
  79. data/vendor/assets/javascripts/plugins/emoticons/images/18.gif +0 -0
  80. data/vendor/assets/javascripts/plugins/emoticons/images/19.gif +0 -0
  81. data/vendor/assets/javascripts/plugins/emoticons/images/2.gif +0 -0
  82. data/vendor/assets/javascripts/plugins/emoticons/images/20.gif +0 -0
  83. data/vendor/assets/javascripts/plugins/emoticons/images/21.gif +0 -0
  84. data/vendor/assets/javascripts/plugins/emoticons/images/22.gif +0 -0
  85. data/vendor/assets/javascripts/plugins/emoticons/images/23.gif +0 -0
  86. data/vendor/assets/javascripts/plugins/emoticons/images/24.gif +0 -0
  87. data/vendor/assets/javascripts/plugins/emoticons/images/25.gif +0 -0
  88. data/vendor/assets/javascripts/plugins/emoticons/images/26.gif +0 -0
  89. data/vendor/assets/javascripts/plugins/emoticons/images/27.gif +0 -0
  90. data/vendor/assets/javascripts/plugins/emoticons/images/28.gif +0 -0
  91. data/vendor/assets/javascripts/plugins/emoticons/images/29.gif +0 -0
  92. data/vendor/assets/javascripts/plugins/emoticons/images/3.gif +0 -0
  93. data/vendor/assets/javascripts/plugins/emoticons/images/30.gif +0 -0
  94. data/vendor/assets/javascripts/plugins/emoticons/images/31.gif +0 -0
  95. data/vendor/assets/javascripts/plugins/emoticons/images/32.gif +0 -0
  96. data/vendor/assets/javascripts/plugins/emoticons/images/33.gif +0 -0
  97. data/vendor/assets/javascripts/plugins/emoticons/images/34.gif +0 -0
  98. data/vendor/assets/javascripts/plugins/emoticons/images/35.gif +0 -0
  99. data/vendor/assets/javascripts/plugins/emoticons/images/36.gif +0 -0
  100. data/vendor/assets/javascripts/plugins/emoticons/images/37.gif +0 -0
  101. data/vendor/assets/javascripts/plugins/emoticons/images/38.gif +0 -0
  102. data/vendor/assets/javascripts/plugins/emoticons/images/39.gif +0 -0
  103. data/vendor/assets/javascripts/plugins/emoticons/images/4.gif +0 -0
  104. data/vendor/assets/javascripts/plugins/emoticons/images/40.gif +0 -0
  105. data/vendor/assets/javascripts/plugins/emoticons/images/41.gif +0 -0
  106. data/vendor/assets/javascripts/plugins/emoticons/images/42.gif +0 -0
  107. data/vendor/assets/javascripts/plugins/emoticons/images/43.gif +0 -0
  108. data/vendor/assets/javascripts/plugins/emoticons/images/44.gif +0 -0
  109. data/vendor/assets/javascripts/plugins/emoticons/images/45.gif +0 -0
  110. data/vendor/assets/javascripts/plugins/emoticons/images/46.gif +0 -0
  111. data/vendor/assets/javascripts/plugins/emoticons/images/47.gif +0 -0
  112. data/vendor/assets/javascripts/plugins/emoticons/images/48.gif +0 -0
  113. data/vendor/assets/javascripts/plugins/emoticons/images/49.gif +0 -0
  114. data/vendor/assets/javascripts/plugins/emoticons/images/5.gif +0 -0
  115. data/vendor/assets/javascripts/plugins/emoticons/images/50.gif +0 -0
  116. data/vendor/assets/javascripts/plugins/emoticons/images/51.gif +0 -0
  117. data/vendor/assets/javascripts/plugins/emoticons/images/52.gif +0 -0
  118. data/vendor/assets/javascripts/plugins/emoticons/images/53.gif +0 -0
  119. data/vendor/assets/javascripts/plugins/emoticons/images/54.gif +0 -0
  120. data/vendor/assets/javascripts/plugins/emoticons/images/55.gif +0 -0
  121. data/vendor/assets/javascripts/plugins/emoticons/images/56.gif +0 -0
  122. data/vendor/assets/javascripts/plugins/emoticons/images/57.gif +0 -0
  123. data/vendor/assets/javascripts/plugins/emoticons/images/58.gif +0 -0
  124. data/vendor/assets/javascripts/plugins/emoticons/images/59.gif +0 -0
  125. data/vendor/assets/javascripts/plugins/emoticons/images/6.gif +0 -0
  126. data/vendor/assets/javascripts/plugins/emoticons/images/60.gif +0 -0
  127. data/vendor/assets/javascripts/plugins/emoticons/images/61.gif +0 -0
  128. data/vendor/assets/javascripts/plugins/emoticons/images/62.gif +0 -0
  129. data/vendor/assets/javascripts/plugins/emoticons/images/63.gif +0 -0
  130. data/vendor/assets/javascripts/plugins/emoticons/images/64.gif +0 -0
  131. data/vendor/assets/javascripts/plugins/emoticons/images/65.gif +0 -0
  132. data/vendor/assets/javascripts/plugins/emoticons/images/66.gif +0 -0
  133. data/vendor/assets/javascripts/plugins/emoticons/images/67.gif +0 -0
  134. data/vendor/assets/javascripts/plugins/emoticons/images/68.gif +0 -0
  135. data/vendor/assets/javascripts/plugins/emoticons/images/69.gif +0 -0
  136. data/vendor/assets/javascripts/plugins/emoticons/images/7.gif +0 -0
  137. data/vendor/assets/javascripts/plugins/emoticons/images/70.gif +0 -0
  138. data/vendor/assets/javascripts/plugins/emoticons/images/71.gif +0 -0
  139. data/vendor/assets/javascripts/plugins/emoticons/images/72.gif +0 -0
  140. data/vendor/assets/javascripts/plugins/emoticons/images/73.gif +0 -0
  141. data/vendor/assets/javascripts/plugins/emoticons/images/74.gif +0 -0
  142. data/vendor/assets/javascripts/plugins/emoticons/images/75.gif +0 -0
  143. data/vendor/assets/javascripts/plugins/emoticons/images/76.gif +0 -0
  144. data/vendor/assets/javascripts/plugins/emoticons/images/77.gif +0 -0
  145. data/vendor/assets/javascripts/plugins/emoticons/images/78.gif +0 -0
  146. data/vendor/assets/javascripts/plugins/emoticons/images/79.gif +0 -0
  147. data/vendor/assets/javascripts/plugins/emoticons/images/8.gif +0 -0
  148. data/vendor/assets/javascripts/plugins/emoticons/images/80.gif +0 -0
  149. data/vendor/assets/javascripts/plugins/emoticons/images/81.gif +0 -0
  150. data/vendor/assets/javascripts/plugins/emoticons/images/82.gif +0 -0
  151. data/vendor/assets/javascripts/plugins/emoticons/images/83.gif +0 -0
  152. data/vendor/assets/javascripts/plugins/emoticons/images/84.gif +0 -0
  153. data/vendor/assets/javascripts/plugins/emoticons/images/85.gif +0 -0
  154. data/vendor/assets/javascripts/plugins/emoticons/images/86.gif +0 -0
  155. data/vendor/assets/javascripts/plugins/emoticons/images/87.gif +0 -0
  156. data/vendor/assets/javascripts/plugins/emoticons/images/88.gif +0 -0
  157. data/vendor/assets/javascripts/plugins/emoticons/images/89.gif +0 -0
  158. data/vendor/assets/javascripts/plugins/emoticons/images/9.gif +0 -0
  159. data/vendor/assets/javascripts/plugins/emoticons/images/90.gif +0 -0
  160. data/vendor/assets/javascripts/plugins/emoticons/images/91.gif +0 -0
  161. data/vendor/assets/javascripts/plugins/emoticons/images/92.gif +0 -0
  162. data/vendor/assets/javascripts/plugins/emoticons/images/93.gif +0 -0
  163. data/vendor/assets/javascripts/plugins/emoticons/images/94.gif +0 -0
  164. data/vendor/assets/javascripts/plugins/emoticons/images/95.gif +0 -0
  165. data/vendor/assets/javascripts/plugins/emoticons/images/96.gif +0 -0
  166. data/vendor/assets/javascripts/plugins/emoticons/images/97.gif +0 -0
  167. data/vendor/assets/javascripts/plugins/emoticons/images/98.gif +0 -0
  168. data/vendor/assets/javascripts/plugins/emoticons/images/99.gif +0 -0
  169. data/vendor/assets/javascripts/plugins/emoticons/images/static.gif +0 -0
  170. data/vendor/assets/javascripts/plugins/filemanager/filemanager.js +0 -189
  171. data/vendor/assets/javascripts/plugins/filemanager/images/file-16.gif +0 -0
  172. data/vendor/assets/javascripts/plugins/filemanager/images/file-64.gif +0 -0
  173. data/vendor/assets/javascripts/plugins/filemanager/images/folder-16.gif +0 -0
  174. data/vendor/assets/javascripts/plugins/filemanager/images/folder-64.gif +0 -0
  175. data/vendor/assets/javascripts/plugins/filemanager/images/go-up.gif +0 -0
  176. data/vendor/assets/javascripts/plugins/flash/flash.js +0 -128
  177. data/vendor/assets/javascripts/plugins/image/image.js +0 -226
  178. data/vendor/assets/javascripts/plugins/image/images/align_left.gif +0 -0
  179. data/vendor/assets/javascripts/plugins/image/images/align_right.gif +0 -0
  180. data/vendor/assets/javascripts/plugins/image/images/align_top.gif +0 -0
  181. data/vendor/assets/javascripts/plugins/image/images/refresh.gif +0 -0
  182. data/vendor/assets/javascripts/plugins/insertfile/insertfile.js +0 -104
  183. data/vendor/assets/javascripts/plugins/lineheight/lineheight.js +0 -38
  184. data/vendor/assets/javascripts/plugins/link/link.js +0 -59
  185. data/vendor/assets/javascripts/plugins/map/map.html +0 -57
  186. data/vendor/assets/javascripts/plugins/map/map.js +0 -135
  187. data/vendor/assets/javascripts/plugins/media/media.js +0 -136
  188. data/vendor/assets/javascripts/plugins/pagebreak/pagebreak.js +0 -26
  189. data/vendor/assets/javascripts/plugins/plainpaste/plainpaste.js +0 -41
  190. data/vendor/assets/javascripts/plugins/preview/preview.js +0 -31
  191. data/vendor/assets/javascripts/plugins/quickformat/quickformat.js +0 -71
  192. data/vendor/assets/javascripts/plugins/table/table.js +0 -661
  193. data/vendor/assets/javascripts/plugins/template/html/1.html +0 -14
  194. data/vendor/assets/javascripts/plugins/template/html/2.html +0 -42
  195. data/vendor/assets/javascripts/plugins/template/html/3.html +0 -36
  196. data/vendor/assets/javascripts/plugins/template/template.js +0 -58
  197. data/vendor/assets/javascripts/plugins/wordpaste/wordpaste.js +0 -57
  198. data/vendor/assets/stylesheets/bg.gif +0 -0
  199. data/vendor/assets/stylesheets/default.gif +0 -0
  200. data/vendor/assets/stylesheets/kindeditor.css +0 -942
  201. data/vendor/assets/stylesheets/themes/common/blank.gif +0 -0
  202. data/vendor/assets/stylesheets/themes/common/flash.gif +0 -0
  203. data/vendor/assets/stylesheets/themes/common/loading.gif +0 -0
  204. data/vendor/assets/stylesheets/themes/common/media.gif +0 -0
  205. data/vendor/assets/stylesheets/themes/common/rm.gif +0 -0
  206. data/vendor/assets/stylesheets/themes/simple/simple.css +0 -148
@@ -1,208 +0,0 @@
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
-
10
- KindEditor.lang({
11
- source : 'Source',
12
- preview : 'Preview',
13
- undo : 'Undo(Ctrl+Z)',
14
- redo : 'Redo(Ctrl+Y)',
15
- cut : 'Cut(Ctrl+X)',
16
- copy : 'Copy(Ctrl+C)',
17
- paste : 'Paste(Ctrl+V)',
18
- plainpaste : 'Paste as plain text',
19
- wordpaste : 'Paste from Word',
20
- selectall : 'Select all',
21
- justifyleft : 'Align left',
22
- justifycenter : 'Align center',
23
- justifyright : 'Align right',
24
- justifyfull : 'Align full',
25
- insertorderedlist : 'Ordered list',
26
- insertunorderedlist : 'Unordered list',
27
- indent : 'Increase indent',
28
- outdent : 'Decrease indent',
29
- subscript : 'Subscript',
30
- superscript : 'Superscript',
31
- formatblock : 'Paragraph format',
32
- fontname : 'Font family',
33
- fontsize : 'Font size',
34
- forecolor : 'Text color',
35
- hilitecolor : 'Highlight color',
36
- bold : 'Bold(Ctrl+B)',
37
- italic : 'Italic(Ctrl+I)',
38
- underline : 'Underline(Ctrl+U)',
39
- strikethrough : 'Strikethrough',
40
- removeformat : 'Remove format',
41
- image : '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(Esc)',
51
- about : 'About',
52
- print : 'Print',
53
- filemanager : 'File Manager',
54
- code : 'Insert code',
55
- map : 'Google Maps',
56
- lineheight : 'Line height',
57
- clearhtml : 'Clear HTML code',
58
- pagebreak : 'Insert Page Break',
59
- quickformat : 'Quick Format',
60
- insertfile : 'Insert file',
61
- template : 'Insert Template',
62
- yes : 'OK',
63
- no : 'Cancel',
64
- close : 'Close',
65
- editImage : 'Image properties',
66
- deleteImage : 'Delete image',
67
- editFlash : 'Flash properties',
68
- deleteFlash : 'Delete flash',
69
- editMedia : 'Media properties',
70
- deleteMedia : 'Delete media',
71
- editLink : 'Link properties',
72
- deleteLink : 'Unlink',
73
- tableprop : 'Table properties',
74
- tablecellprop : 'Cell properties',
75
- tableinsert : 'Insert table',
76
- tabledelete : 'Delete table',
77
- tablecolinsertleft : 'Insert column left',
78
- tablecolinsertright : 'Insert column right',
79
- tablerowinsertabove : 'Insert row above',
80
- tablerowinsertbelow : 'Insert row below',
81
- tablerowmerge : 'Merge down',
82
- tablecolmerge : 'Merge right',
83
- tablerowsplit : 'Split row',
84
- tablecolsplit : 'Split column',
85
- tablecoldelete : 'Delete column',
86
- tablerowdelete : 'Delete row',
87
- noColor : 'Default',
88
- invalidImg : "Please type valid URL.\nAllowed file extension: jpg,gif,bmp,png",
89
- invalidMedia : "Please type valid URL.\nAllowed file extension: swf,flv,mp3,wav,wma,wmv,mid,avi,mpg,asf,rm,rmvb",
90
- invalidWidth : "The width must be number.",
91
- invalidHeight : "The height must be number.",
92
- invalidBorder : "The border must be number.",
93
- invalidUrl : "Please type valid URL.",
94
- invalidRows : 'Invalid rows.',
95
- invalidCols : 'Invalid columns.',
96
- invalidPadding : 'The padding must be number.',
97
- invalidSpacing : 'The spacing must be number.',
98
- invalidJson : 'Invalid JSON string.',
99
- uploadSuccess : 'Upload success.',
100
- cutError : 'Currently not supported by your browser, use keyboard shortcut(Ctrl+X) instead.',
101
- copyError : 'Currently not supported by your browser, use keyboard shortcut(Ctrl+C) instead.',
102
- pasteError : 'Currently not supported by your browser, use keyboard shortcut(Ctrl+V) instead.',
103
- 'plainpaste.comment' : 'Use keyboard shortcut(Ctrl+V) to paste the text into the window.',
104
- 'wordpaste.comment' : 'Use keyboard shortcut(Ctrl+V) to paste the text into the window.',
105
- 'link.url' : 'URL',
106
- 'link.linkType' : 'Target',
107
- 'link.newWindow' : 'New window',
108
- 'link.selfWindow' : 'Same window',
109
- 'flash.url' : 'URL',
110
- 'flash.width' : 'Width',
111
- 'flash.height' : 'Height',
112
- 'flash.upload' : 'Upload',
113
- 'flash.viewServer' : 'Browse',
114
- 'media.url' : 'URL',
115
- 'media.width' : 'Width',
116
- 'media.height' : 'Height',
117
- 'media.autostart' : 'Auto start',
118
- 'media.upload' : 'Upload',
119
- 'media.viewServer' : 'Browse',
120
- 'image.remoteImage' : 'Insert URL',
121
- 'image.localImage' : 'Upload',
122
- 'image.remoteUrl' : 'URL',
123
- 'image.localUrl' : 'File',
124
- 'image.size' : 'Size',
125
- 'image.width' : 'Width',
126
- 'image.height' : 'Height',
127
- 'image.resetSize' : 'Reset dimensions',
128
- 'image.align' : 'Align',
129
- 'image.defaultAlign' : 'Default',
130
- 'image.leftAlign' : 'Left',
131
- 'image.rightAlign' : 'Right',
132
- 'image.imgTitle' : 'Title',
133
- 'image.viewServer' : 'Browse',
134
- 'filemanager.emptyFolder' : 'Blank',
135
- 'filemanager.moveup' : 'Parent folder',
136
- 'filemanager.viewType' : 'Display: ',
137
- 'filemanager.viewImage' : 'Thumbnails',
138
- 'filemanager.listImage' : 'List',
139
- 'filemanager.orderType' : 'Sorting: ',
140
- 'filemanager.fileName' : 'By name',
141
- 'filemanager.fileSize' : 'By size',
142
- 'filemanager.fileType' : 'By type',
143
- 'insertfile.url' : 'URL',
144
- 'insertfile.title' : 'Title',
145
- 'insertfile.upload' : 'Upload',
146
- 'insertfile.viewServer' : 'Browse',
147
- 'table.cells' : 'Cells',
148
- 'table.rows' : 'Rows',
149
- 'table.cols' : 'Columns',
150
- 'table.size' : 'Dimensions',
151
- 'table.width' : 'Width',
152
- 'table.height' : 'Height',
153
- 'table.percent' : '%',
154
- 'table.px' : 'px',
155
- 'table.space' : 'Space',
156
- 'table.padding' : 'Padding',
157
- 'table.spacing' : 'Spacing',
158
- 'table.align' : 'Align',
159
- 'table.textAlign' : 'Horizontal',
160
- 'table.verticalAlign' : 'Vertical',
161
- 'table.alignDefault' : 'Default',
162
- 'table.alignLeft' : 'Left',
163
- 'table.alignCenter' : 'Center',
164
- 'table.alignRight' : 'Right',
165
- 'table.alignTop' : 'Top',
166
- 'table.alignMiddle' : 'Middle',
167
- 'table.alignBottom' : 'Bottom',
168
- 'table.alignBaseline' : 'Baseline',
169
- 'table.border' : 'Border',
170
- 'table.borderWidth' : 'Width',
171
- 'table.borderColor' : 'Color',
172
- 'table.backgroundColor' : 'Background',
173
- 'map.address' : 'Address: ',
174
- 'map.search' : 'Search',
175
- 'formatblock.formatBlock' : {
176
- h1 : 'Heading 1',
177
- h2 : 'Heading 2',
178
- h3 : 'Heading 3',
179
- h4 : 'Heading 4',
180
- p : 'Normal'
181
- },
182
- 'fontname.fontName' : {
183
- 'Arial' : 'Arial',
184
- 'Arial Black' : 'Arial Black',
185
- 'Comic Sans MS' : 'Comic Sans MS',
186
- 'Courier New' : 'Courier New',
187
- 'Garamond' : 'Garamond',
188
- 'Georgia' : 'Georgia',
189
- 'Tahoma' : 'Tahoma',
190
- 'Times New Roman' : 'Times New Roman',
191
- 'Trebuchet MS' : 'Trebuchet MS',
192
- 'Verdana' : 'Verdana'
193
- },
194
- 'lineheight.lineHeight' : [
195
- {'1' : 'Line height 1'},
196
- {'1.5' : 'Line height 1.5'},
197
- {'2' : 'Line height 2'},
198
- {'2.5' : 'Line height 2.5'},
199
- {'3' : 'Line height 3'}
200
- ],
201
- 'template.selectTemplate' : 'Template',
202
- 'template.replaceContent' : 'Replace current content',
203
- 'template.fileList' : {
204
- '1.html' : 'Image and Text',
205
- '2.html' : 'Table',
206
- '3.html' : 'List'
207
- }
208
- }, 'en');
@@ -1,210 +0,0 @@
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
-
10
- KindEditor.lang({
11
- source : 'HTML代码',
12
- preview : '预览',
13
- undo : '后退(Ctrl+Z)',
14
- redo : '前进(Ctrl+Y)',
15
- cut : '剪切(Ctrl+X)',
16
- copy : '复制(Ctrl+C)',
17
- paste : '粘贴(Ctrl+V)',
18
- plainpaste : '粘贴为无格式文本',
19
- wordpaste : '从Word粘贴',
20
- selectall : '全选(Ctrl+A)',
21
- justifyleft : '左对齐',
22
- justifycenter : '居中',
23
- justifyright : '右对齐',
24
- justifyfull : '两端对齐',
25
- insertorderedlist : '编号',
26
- insertunorderedlist : '项目符号',
27
- indent : '增加缩进',
28
- outdent : '减少缩进',
29
- subscript : '下标',
30
- superscript : '上标',
31
- formatblock : '段落',
32
- fontname : '字体',
33
- fontsize : '文字大小',
34
- forecolor : '文字颜色',
35
- hilitecolor : '文字背景',
36
- bold : '粗体(Ctrl+B)',
37
- italic : '斜体(Ctrl+I)',
38
- underline : '下划线(Ctrl+U)',
39
- strikethrough : '删除线',
40
- removeformat : '删除格式',
41
- image : '图片',
42
- flash : 'Flash',
43
- media : '视音频',
44
- table : '表格',
45
- tablecell : '单元格',
46
- hr : '插入横线',
47
- emoticons : '插入表情',
48
- link : '超级链接',
49
- unlink : '取消超级链接',
50
- fullscreen : '全屏显示(Esc)',
51
- about : '关于',
52
- print : '打印(Ctrl+P)',
53
- filemanager : '浏览服务器',
54
- code : '插入程序代码',
55
- map : 'Google地图',
56
- lineheight : '行距',
57
- clearhtml : '清理HTML代码',
58
- pagebreak : '插入分页符',
59
- quickformat : '一键排版',
60
- insertfile : '插入文件',
61
- template : '插入模板',
62
- yes : '确定',
63
- no : '取消',
64
- close : '关闭',
65
- editImage : '图片属性',
66
- deleteImage : '删除图片',
67
- editFlash : 'Flash属性',
68
- deleteFlash : '删除Flash',
69
- editMedia : '视音频属性',
70
- deleteMedia : '删除视音频',
71
- editLink : '超级链接属性',
72
- deleteLink : '取消超级链接',
73
- tableprop : '表格属性',
74
- tablecellprop : '单元格属性',
75
- tableinsert : '插入表格',
76
- tabledelete : '删除表格',
77
- tablecolinsertleft : '左侧插入列',
78
- tablecolinsertright : '右侧插入列',
79
- tablerowinsertabove : '上方插入行',
80
- tablerowinsertbelow : '下方插入行',
81
- tablerowmerge : '向下合并单元格',
82
- tablecolmerge : '向右合并单元格',
83
- tablerowsplit : '拆分行',
84
- tablecolsplit : '拆分列',
85
- tablecoldelete : '删除列',
86
- tablerowdelete : '删除行',
87
- noColor : '无颜色',
88
- invalidImg : "请输入有效的URL地址。\n只允许jpg,gif,bmp,png格式。",
89
- invalidMedia : "请输入有效的URL地址。\n只允许swf,flv,mp3,wav,wma,wmv,mid,avi,mpg,asf,rm,rmvb格式。",
90
- invalidWidth : "宽度必须为数字。",
91
- invalidHeight : "高度必须为数字。",
92
- invalidBorder : "边框必须为数字。",
93
- invalidUrl : "请输入有效的URL地址。",
94
- invalidRows : '行数为必选项,只允许输入大于0的数字。',
95
- invalidCols : '列数为必选项,只允许输入大于0的数字。',
96
- invalidPadding : '边距必须为数字。',
97
- invalidSpacing : '间距必须为数字。',
98
- invalidJson : '服务器发生故障。',
99
- uploadSuccess : '上传成功。',
100
- cutError : '您的浏览器安全设置不允许使用剪切操作,请使用快捷键(Ctrl+X)来完成。',
101
- copyError : '您的浏览器安全设置不允许使用复制操作,请使用快捷键(Ctrl+C)来完成。',
102
- pasteError : '您的浏览器安全设置不允许使用粘贴操作,请使用快捷键(Ctrl+V)来完成。',
103
- 'plainpaste.comment' : '请使用快捷键(Ctrl+V)把内容粘贴到下面的方框里。',
104
- 'wordpaste.comment' : '请使用快捷键(Ctrl+V)把内容粘贴到下面的方框里。',
105
- 'link.url' : 'URL',
106
- 'link.linkType' : '打开类型',
107
- 'link.newWindow' : '新窗口',
108
- 'link.selfWindow' : '当前窗口',
109
- 'flash.url' : 'URL',
110
- 'flash.width' : '宽度',
111
- 'flash.height' : '高度',
112
- 'flash.upload' : '上传',
113
- 'flash.viewServer' : '浏览',
114
- 'media.url' : 'URL',
115
- 'media.width' : '宽度',
116
- 'media.height' : '高度',
117
- 'media.autostart' : '自动播放',
118
- 'media.upload' : '上传',
119
- 'media.viewServer' : '浏览',
120
- 'image.remoteImage' : '远程图片',
121
- 'image.localImage' : '本地上传',
122
- 'image.remoteUrl' : '图片地址',
123
- 'image.localUrl' : '图片地址',
124
- 'image.size' : '图片大小',
125
- 'image.width' : '宽',
126
- 'image.height' : '高',
127
- 'image.resetSize' : '重置大小',
128
- 'image.align' : '对齐方式',
129
- 'image.defaultAlign' : '默认方式',
130
- 'image.leftAlign' : '左对齐',
131
- 'image.rightAlign' : '右对齐',
132
- 'image.imgTitle' : '图片说明',
133
- 'image.viewServer' : '浏览...',
134
- 'filemanager.emptyFolder' : '空文件夹',
135
- 'filemanager.moveup' : '移到上一级文件夹',
136
- 'filemanager.viewType' : '显示方式:',
137
- 'filemanager.viewImage' : '缩略图',
138
- 'filemanager.listImage' : '详细信息',
139
- 'filemanager.orderType' : '排序方式:',
140
- 'filemanager.fileName' : '名称',
141
- 'filemanager.fileSize' : '大小',
142
- 'filemanager.fileType' : '类型',
143
- 'insertfile.url' : 'URL',
144
- 'insertfile.title' : '文件说明',
145
- 'insertfile.upload' : '上传',
146
- 'insertfile.viewServer' : '浏览',
147
- 'table.cells' : '单元格数',
148
- 'table.rows' : '行数',
149
- 'table.cols' : '列数',
150
- 'table.size' : '大小',
151
- 'table.width' : '宽度',
152
- 'table.height' : '高度',
153
- 'table.percent' : '%',
154
- 'table.px' : 'px',
155
- 'table.space' : '边距间距',
156
- 'table.padding' : '边距',
157
- 'table.spacing' : '间距',
158
- 'table.align' : '对齐方式',
159
- 'table.textAlign' : '水平对齐',
160
- 'table.verticalAlign' : '垂直对齐',
161
- 'table.alignDefault' : '默认',
162
- 'table.alignLeft' : '左对齐',
163
- 'table.alignCenter' : '居中',
164
- 'table.alignRight' : '右对齐',
165
- 'table.alignTop' : '顶部',
166
- 'table.alignMiddle' : '中部',
167
- 'table.alignBottom' : '底部',
168
- 'table.alignBaseline' : '基线',
169
- 'table.border' : '边框',
170
- 'table.borderWidth' : '边框',
171
- 'table.borderColor' : '颜色',
172
- 'table.backgroundColor' : '背景颜色',
173
- 'map.address' : '地址: ',
174
- 'map.search' : '搜索',
175
- 'formatblock.formatBlock' : {
176
- h1 : '标题 1',
177
- h2 : '标题 2',
178
- h3 : '标题 3',
179
- h4 : '标题 4',
180
- p : '正 文'
181
- },
182
- 'fontname.fontName' : {
183
- 'SimSun' : '宋体',
184
- 'NSimSun' : '新宋体',
185
- 'FangSong_GB2312' : '仿宋_GB2312',
186
- 'KaiTi_GB2312' : '楷体_GB2312',
187
- 'SimHei' : '黑体',
188
- 'Microsoft YaHei' : '微软雅黑',
189
- 'Arial' : 'Arial',
190
- 'Arial Black' : 'Arial Black',
191
- 'Times New Roman' : 'Times New Roman',
192
- 'Courier New' : 'Courier New',
193
- 'Tahoma' : 'Tahoma',
194
- 'Verdana' : 'Verdana'
195
- },
196
- 'lineheight.lineHeight' : [
197
- {'1' : '单倍行距'},
198
- {'1.5' : '1.5倍行距'},
199
- {'2' : '2倍行距'},
200
- {'2.5' : '2.5倍行距'},
201
- {'3' : '3倍行距'}
202
- ],
203
- 'template.selectTemplate' : '可选模板',
204
- 'template.replaceContent' : '替换当前内容',
205
- 'template.fileList' : {
206
- '1.html' : '图片和文字',
207
- '2.html' : '表格',
208
- '3.html' : '项目编号'
209
- }
210
- }, 'zh_CN');
@@ -1,210 +0,0 @@
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
-
10
- KindEditor.lang({
11
- source : '原始碼',
12
- preview : '預覽',
13
- undo : '復原(Ctrl+Z)',
14
- redo : '重複(Ctrl+Y)',
15
- cut : '剪下(Ctrl+X)',
16
- copy : '複製(Ctrl+C)',
17
- paste : '貼上(Ctrl+V)',
18
- plainpaste : '貼為純文字格式',
19
- wordpaste : '自Word貼上',
20
- selectall : '全選(Ctrl+A)',
21
- justifyleft : '靠左對齊',
22
- justifycenter : '置中',
23
- justifyright : '靠右對齊',
24
- justifyfull : '左右對齊',
25
- insertorderedlist : '編號清單',
26
- insertunorderedlist : '項目清單',
27
- indent : '增加縮排',
28
- outdent : '減少縮排',
29
- subscript : '下標',
30
- superscript : '上標',
31
- formatblock : '標題',
32
- fontname : '字體',
33
- fontsize : '文字大小',
34
- forecolor : '文字顏色',
35
- hilitecolor : '背景顏色',
36
- bold : '粗體(Ctrl+B)',
37
- italic : '斜體(Ctrl+I)',
38
- underline : '底線(Ctrl+U)',
39
- strikethrough : '刪除線',
40
- removeformat : '清除格式',
41
- image : '影像',
42
- flash : 'Flash',
43
- media : '多媒體',
44
- table : '表格',
45
- hr : '插入水平線',
46
- emoticons : '插入表情',
47
- link : '超連結',
48
- unlink : '移除超連結',
49
- fullscreen : '最大化',
50
- about : '關於',
51
- print : '列印(Ctrl+P)',
52
- fileManager : '瀏覽伺服器',
53
- code : '插入程式代碼',
54
- map : 'Google地圖',
55
- lineheight : '行距',
56
- clearhtml : '清理HTML代碼',
57
- pagebreak : '插入分頁符號',
58
- quickformat : '快速排版',
59
- insertfile : '插入文件',
60
- template : '插入樣板',
61
- yes : '確定',
62
- no : '取消',
63
- close : '關閉',
64
- editImage : '影像屬性',
65
- deleteImage : '刪除影像',
66
- editFlash : 'Flash屬性',
67
- deleteFlash : '删除Flash',
68
- editMedia : '多媒體屬性',
69
- deleteMedia : '删除多媒體',
70
- editLink : '超連結屬性',
71
- deleteLink : '移除超連結',
72
- tableprop : '表格屬性',
73
- tablecellprop : '儲存格屬性',
74
- tableinsert : '插入表格',
75
- tabledelete : '刪除表格',
76
- tablecolinsertleft : '向左插入列',
77
- tablecolinsertright : '向右插入列',
78
- tablerowinsertabove : '向上插入欄',
79
- tablerowinsertbelow : '下方插入欄',
80
- tablerowmerge : '向下合併單元格',
81
- tablecolmerge : '向右合併單元格',
82
- tablerowsplit : '分割欄',
83
- tablecolsplit : '分割列',
84
- tablecoldelete : '删除列',
85
- tablerowdelete : '删除欄',
86
- noColor : '自動',
87
- invalidImg : "請輸入有效的URL。\n只允許jpg,gif,bmp,png格式。",
88
- invalidMedia : "請輸入有效的URL。\n只允許swf,flv,mp3,wav,wma,wmv,mid,avi,mpg,asf,rm,rmvb格式。",
89
- invalidWidth : "寬度必須是數字。",
90
- invalidHeight : "高度必須是數字。",
91
- invalidBorder : "邊框必須是數字。",
92
- invalidUrl : "請輸入有效的URL。",
93
- invalidRows : '欄數是必須輸入項目,只允許輸入大於0的數字。',
94
- invalidCols : '列數是必須輸入項目,只允許輸入大於0的數字。',
95
- invalidPadding : '內距必須是數字。',
96
- invalidSpacing : '間距必須是數字。',
97
- invalidBorder : '边框必须为数字。',
98
- pleaseInput : "請輸入內容。",
99
- invalidJson : '伺服器發生故障。',
100
- cutError : '您的瀏覽器安全設置不允許使用剪下操作,請使用快捷鍵(Ctrl+X)完成。',
101
- copyError : '您的瀏覽器安全設置不允許使用剪下操作,請使用快捷鍵(Ctrl+C)完成。',
102
- pasteError : '您的瀏覽器安全設置不允許使用剪下操作,請使用快捷鍵(Ctrl+V)完成。',
103
- 'plainpaste.comment' : '請使用快捷鍵(Ctrl+V)把內容貼到下方區域裡。',
104
- 'wordpaste.comment' : '請使用快捷鍵(Ctrl+V)把內容貼到下方區域裡。',
105
- 'link.url' : 'URL',
106
- 'link.linkType' : '打開類型',
107
- 'link.newWindow' : '新窗口',
108
- 'link.selfWindow' : '本頁窗口',
109
- 'flash.url' : 'URL',
110
- 'flash.width' : '寬度',
111
- 'flash.height' : '高度',
112
- 'flash.upload' : '上傳',
113
- 'flash.viewServer' : '瀏覽',
114
- 'media.url' : 'URL',
115
- 'media.width' : '寬度',
116
- 'media.height' : '高度',
117
- 'media.autostart' : '自動播放',
118
- 'media.upload' : '上傳',
119
- 'media.viewServer' : '瀏覽',
120
- 'image.remoteImage' : '影像URL',
121
- 'image.localImage' : '上傳影像',
122
- 'image.remoteUrl' : '影像URL',
123
- 'image.localUrl' : '影像URL',
124
- 'image.size' : '影像大小',
125
- 'image.width' : '寬度',
126
- 'image.height' : '高度',
127
- 'image.resetSize' : '原始大小',
128
- 'image.align' : '對齊方式',
129
- 'image.defaultAlign' : '未設定',
130
- 'image.leftAlign' : '向左對齊',
131
- 'image.rightAlign' : '向右對齊',
132
- 'image.imgTitle' : '影像說明',
133
- 'image.viewServer' : '瀏覽...',
134
- 'filemanager.emptyFolder' : '空文件夾',
135
- 'filemanager.moveup' : '至上一級文件夾',
136
- 'filemanager.viewType' : '顯示方式:',
137
- 'filemanager.viewImage' : '縮略圖',
138
- 'filemanager.listImage' : '詳細信息',
139
- 'filemanager.orderType' : '排序方式:',
140
- 'filemanager.fileName' : '名稱',
141
- 'filemanager.fileSize' : '大小',
142
- 'filemanager.fileType' : '類型',
143
- 'insertfile.url' : 'URL',
144
- 'insertfile.title' : '文件說明',
145
- 'insertfile.upload' : '上傳',
146
- 'insertfile.viewServer' : '瀏覽',
147
- 'table.cells' : '儲存格數',
148
- 'table.rows' : '欄數',
149
- 'table.cols' : '列數',
150
- 'table.size' : '表格大小',
151
- 'table.width' : '寬度',
152
- 'table.height' : '高度',
153
- 'table.percent' : '%',
154
- 'table.px' : 'px',
155
- 'table.space' : '內距間距',
156
- 'table.padding' : '內距',
157
- 'table.spacing' : '間距',
158
- 'table.align' : '對齊方式',
159
- 'table.textAlign' : '水平對齊',
160
- 'table.verticalAlign' : '垂直對齊',
161
- 'table.alignDefault' : '未設定',
162
- 'table.alignLeft' : '向左對齊',
163
- 'table.alignCenter' : '置中',
164
- 'table.alignRight' : '向右對齊',
165
- 'table.alignTop' : '靠上',
166
- 'table.alignMiddle' : '置中',
167
- 'table.alignBottom' : '靠下',
168
- 'table.alignBaseline' : '基線',
169
- 'table.border' : '表格邊框',
170
- 'table.borderWidth' : '邊框',
171
- 'table.borderColor' : '顏色',
172
- 'table.backgroundColor' : '背景顏色',
173
- 'map.address' : '住所: ',
174
- 'map.search' : '尋找',
175
- 'formatblock.formatBlock' : {
176
- h1 : '標題 1',
177
- h2 : '標題 2',
178
- h3 : '標題 3',
179
- h4 : '標題 4',
180
- p : '一般'
181
- },
182
- 'fontname.fontName' : {
183
- 'MingLiU' : '細明體',
184
- 'PMingLiU' : '新細明體',
185
- 'DFKai-SB' : '標楷體',
186
- 'SimSun' : '宋體',
187
- 'NSimSun' : '新宋體',
188
- 'FangSong' : '仿宋體',
189
- 'Arial' : 'Arial',
190
- 'Arial Black' : 'Arial Black',
191
- 'Times New Roman' : 'Times New Roman',
192
- 'Courier New' : 'Courier New',
193
- 'Tahoma' : 'Tahoma',
194
- 'Verdana' : 'Verdana'
195
- },
196
- 'lineheight.lineHeight' : [
197
- {'1' : '单倍行距'},
198
- {'1.5' : '1.5倍行距'},
199
- {'2' : '2倍行距'},
200
- {'2.5' : '2.5倍行距'},
201
- {'3' : '3倍行距'}
202
- ],
203
- 'template.selectTemplate' : '可選樣板',
204
- 'template.replaceContent' : '取代當前內容',
205
- 'template.fileList' : {
206
- '1.html' : '影像和文字',
207
- '2.html' : '表格',
208
- '3.html' : '项目清單'
209
- }
210
- }, 'zh_TW');