rails_kindeditor-plus 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +5 -0
  3. data/Gemfile +6 -0
  4. data/README.md +523 -0
  5. data/Rakefile +2 -0
  6. data/app/assets/javascripts/kindeditor.js +1 -0
  7. data/app/controllers/kindeditor/assets_controller.rb +126 -0
  8. data/app/uploaders/kindeditor/asset_uploader.rb +91 -0
  9. data/app/uploaders/kindeditor/file_uploader.rb +10 -0
  10. data/app/uploaders/kindeditor/flash_uploader.rb +10 -0
  11. data/app/uploaders/kindeditor/image_uploader.rb +10 -0
  12. data/app/uploaders/kindeditor/media_uploader.rb +10 -0
  13. data/config/routes.rb +6 -0
  14. data/lib/generators/rails_kindeditor/install/USAGE +10 -0
  15. data/lib/generators/rails_kindeditor/install/install_generator.rb +23 -0
  16. data/lib/generators/rails_kindeditor/install/templates/application.js +17 -0
  17. data/lib/generators/rails_kindeditor/install/templates/rails_kindeditor.rb +29 -0
  18. data/lib/generators/rails_kindeditor/migration/USAGE +14 -0
  19. data/lib/generators/rails_kindeditor/migration/migration_generator.rb +36 -0
  20. data/lib/generators/rails_kindeditor/migration/templates/migration/migration.rb +17 -0
  21. data/lib/generators/rails_kindeditor/migration/templates/models/active_record/kindeditor/asset.rb +14 -0
  22. data/lib/generators/rails_kindeditor/migration/templates/models/active_record/kindeditor/file.rb +3 -0
  23. data/lib/generators/rails_kindeditor/migration/templates/models/active_record/kindeditor/flash.rb +3 -0
  24. data/lib/generators/rails_kindeditor/migration/templates/models/active_record/kindeditor/image.rb +3 -0
  25. data/lib/generators/rails_kindeditor/migration/templates/models/active_record/kindeditor/media.rb +3 -0
  26. data/lib/generators/rails_kindeditor/migration/templates/models/mongoid/kindeditor/asset.rb +27 -0
  27. data/lib/generators/rails_kindeditor/migration/templates/models/mongoid/kindeditor/file.rb +3 -0
  28. data/lib/generators/rails_kindeditor/migration/templates/models/mongoid/kindeditor/flash.rb +3 -0
  29. data/lib/generators/rails_kindeditor/migration/templates/models/mongoid/kindeditor/image.rb +3 -0
  30. data/lib/generators/rails_kindeditor/migration/templates/models/mongoid/kindeditor/media.rb +3 -0
  31. data/lib/rails_kindeditor.rb +61 -0
  32. data/lib/rails_kindeditor/active_record.rb +14 -0
  33. data/lib/rails_kindeditor/engine.rb +34 -0
  34. data/lib/rails_kindeditor/formtastic.rb +12 -0
  35. data/lib/rails_kindeditor/helper.rb +96 -0
  36. data/lib/rails_kindeditor/simple_form.rb +11 -0
  37. data/lib/rails_kindeditor/version.rb +4 -0
  38. data/lib/tasks/assets.rake +9 -0
  39. data/rails_kindeditor-plus.gemspec +24 -0
  40. data/screenshots/rails_kindeditor.png +0 -0
  41. data/screenshots/simple_mode.png +0 -0
  42. data/vendor/assets/javascripts/kindeditor/kindeditor.js +5963 -0
  43. data/vendor/assets/javascripts/kindeditor/lang/ar.js +233 -0
  44. data/vendor/assets/javascripts/kindeditor/lang/en.js +232 -0
  45. data/vendor/assets/javascripts/kindeditor/lang/ko.js +237 -0
  46. data/vendor/assets/javascripts/kindeditor/lang/zh_CN.js +237 -0
  47. data/vendor/assets/javascripts/kindeditor/lang/zh_TW.js +235 -0
  48. data/vendor/assets/javascripts/kindeditor/plugins/anchor/anchor.js +46 -0
  49. data/vendor/assets/javascripts/kindeditor/plugins/autoheight/autoheight.js +54 -0
  50. data/vendor/assets/javascripts/kindeditor/plugins/baidumap/baidumap.js +93 -0
  51. data/vendor/assets/javascripts/kindeditor/plugins/baidumap/index.html +83 -0
  52. data/vendor/assets/javascripts/kindeditor/plugins/baidumap/map.html +43 -0
  53. data/vendor/assets/javascripts/kindeditor/plugins/clearhtml/clearhtml.js +29 -0
  54. data/vendor/assets/javascripts/kindeditor/plugins/code/code.js +62 -0
  55. data/vendor/assets/javascripts/kindeditor/plugins/code/prettify.css +13 -0
  56. data/vendor/assets/javascripts/kindeditor/plugins/code/prettify.js +28 -0
  57. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/emoticons.js +129 -0
  58. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/0.gif +0 -0
  59. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/1.gif +0 -0
  60. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/10.gif +0 -0
  61. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/100.gif +0 -0
  62. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/101.gif +0 -0
  63. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/102.gif +0 -0
  64. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/103.gif +0 -0
  65. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/104.gif +0 -0
  66. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/105.gif +0 -0
  67. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/106.gif +0 -0
  68. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/107.gif +0 -0
  69. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/108.gif +0 -0
  70. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/109.gif +0 -0
  71. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/11.gif +0 -0
  72. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/110.gif +0 -0
  73. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/111.gif +0 -0
  74. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/112.gif +0 -0
  75. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/113.gif +0 -0
  76. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/114.gif +0 -0
  77. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/115.gif +0 -0
  78. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/116.gif +0 -0
  79. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/117.gif +0 -0
  80. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/118.gif +0 -0
  81. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/119.gif +0 -0
  82. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/12.gif +0 -0
  83. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/120.gif +0 -0
  84. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/121.gif +0 -0
  85. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/122.gif +0 -0
  86. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/123.gif +0 -0
  87. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/124.gif +0 -0
  88. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/125.gif +0 -0
  89. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/126.gif +0 -0
  90. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/127.gif +0 -0
  91. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/128.gif +0 -0
  92. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/129.gif +0 -0
  93. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/13.gif +0 -0
  94. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/130.gif +0 -0
  95. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/131.gif +0 -0
  96. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/132.gif +0 -0
  97. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/133.gif +0 -0
  98. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/134.gif +0 -0
  99. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/14.gif +0 -0
  100. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/15.gif +0 -0
  101. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/16.gif +0 -0
  102. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/17.gif +0 -0
  103. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/18.gif +0 -0
  104. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/19.gif +0 -0
  105. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/2.gif +0 -0
  106. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/20.gif +0 -0
  107. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/21.gif +0 -0
  108. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/22.gif +0 -0
  109. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/23.gif +0 -0
  110. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/24.gif +0 -0
  111. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/25.gif +0 -0
  112. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/26.gif +0 -0
  113. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/27.gif +0 -0
  114. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/28.gif +0 -0
  115. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/29.gif +0 -0
  116. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/3.gif +0 -0
  117. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/30.gif +0 -0
  118. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/31.gif +0 -0
  119. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/32.gif +0 -0
  120. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/33.gif +0 -0
  121. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/34.gif +0 -0
  122. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/35.gif +0 -0
  123. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/36.gif +0 -0
  124. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/37.gif +0 -0
  125. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/38.gif +0 -0
  126. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/39.gif +0 -0
  127. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/4.gif +0 -0
  128. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/40.gif +0 -0
  129. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/41.gif +0 -0
  130. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/42.gif +0 -0
  131. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/43.gif +0 -0
  132. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/44.gif +0 -0
  133. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/45.gif +0 -0
  134. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/46.gif +0 -0
  135. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/47.gif +0 -0
  136. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/48.gif +0 -0
  137. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/49.gif +0 -0
  138. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/5.gif +0 -0
  139. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/50.gif +0 -0
  140. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/51.gif +0 -0
  141. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/52.gif +0 -0
  142. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/53.gif +0 -0
  143. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/54.gif +0 -0
  144. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/55.gif +0 -0
  145. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/56.gif +0 -0
  146. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/57.gif +0 -0
  147. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/58.gif +0 -0
  148. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/59.gif +0 -0
  149. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/6.gif +0 -0
  150. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/60.gif +0 -0
  151. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/61.gif +0 -0
  152. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/62.gif +0 -0
  153. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/63.gif +0 -0
  154. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/64.gif +0 -0
  155. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/65.gif +0 -0
  156. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/66.gif +0 -0
  157. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/67.gif +0 -0
  158. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/68.gif +0 -0
  159. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/69.gif +0 -0
  160. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/7.gif +0 -0
  161. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/70.gif +0 -0
  162. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/71.gif +0 -0
  163. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/72.gif +0 -0
  164. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/73.gif +0 -0
  165. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/74.gif +0 -0
  166. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/75.gif +0 -0
  167. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/76.gif +0 -0
  168. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/77.gif +0 -0
  169. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/78.gif +0 -0
  170. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/79.gif +0 -0
  171. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/8.gif +0 -0
  172. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/80.gif +0 -0
  173. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/81.gif +0 -0
  174. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/82.gif +0 -0
  175. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/83.gif +0 -0
  176. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/84.gif +0 -0
  177. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/85.gif +0 -0
  178. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/86.gif +0 -0
  179. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/87.gif +0 -0
  180. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/88.gif +0 -0
  181. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/89.gif +0 -0
  182. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/9.gif +0 -0
  183. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/90.gif +0 -0
  184. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/91.gif +0 -0
  185. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/92.gif +0 -0
  186. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/93.gif +0 -0
  187. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/94.gif +0 -0
  188. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/95.gif +0 -0
  189. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/96.gif +0 -0
  190. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/97.gif +0 -0
  191. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/98.gif +0 -0
  192. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/99.gif +0 -0
  193. data/vendor/assets/javascripts/kindeditor/plugins/emoticons/images/static.gif +0 -0
  194. data/vendor/assets/javascripts/kindeditor/plugins/filemanager/filemanager.js +189 -0
  195. data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/file-16.gif +0 -0
  196. data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/file-64.gif +0 -0
  197. data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/folder-16.gif +0 -0
  198. data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/folder-64.gif +0 -0
  199. data/vendor/assets/javascripts/kindeditor/plugins/filemanager/images/go-up.gif +0 -0
  200. data/vendor/assets/javascripts/kindeditor/plugins/flash/flash.js +161 -0
  201. data/vendor/assets/javascripts/kindeditor/plugins/image/image.js +328 -0
  202. data/vendor/assets/javascripts/kindeditor/plugins/image/images/align_left.gif +0 -0
  203. data/vendor/assets/javascripts/kindeditor/plugins/image/images/align_right.gif +0 -0
  204. data/vendor/assets/javascripts/kindeditor/plugins/image/images/align_top.gif +0 -0
  205. data/vendor/assets/javascripts/kindeditor/plugins/image/images/refresh.png +0 -0
  206. data/vendor/assets/javascripts/kindeditor/plugins/insertfile/insertfile.js +144 -0
  207. data/vendor/assets/javascripts/kindeditor/plugins/lineheight/lineheight.js +38 -0
  208. data/vendor/assets/javascripts/kindeditor/plugins/link/link.js +66 -0
  209. data/vendor/assets/javascripts/kindeditor/plugins/map/map.html +57 -0
  210. data/vendor/assets/javascripts/kindeditor/plugins/map/map.js +137 -0
  211. data/vendor/assets/javascripts/kindeditor/plugins/media/media.js +170 -0
  212. data/vendor/assets/javascripts/kindeditor/plugins/multiimage/images/image.png +0 -0
  213. data/vendor/assets/javascripts/kindeditor/plugins/multiimage/images/select-files-en.png +0 -0
  214. data/vendor/assets/javascripts/kindeditor/plugins/multiimage/images/select-files-zh_CN.png +0 -0
  215. data/vendor/assets/javascripts/kindeditor/plugins/multiimage/images/swfupload.swf +0 -0
  216. data/vendor/assets/javascripts/kindeditor/plugins/multiimage/multiimage.js +1384 -0
  217. data/vendor/assets/javascripts/kindeditor/plugins/pagebreak/pagebreak.js +27 -0
  218. data/vendor/assets/javascripts/kindeditor/plugins/plainpaste/plainpaste.js +41 -0
  219. data/vendor/assets/javascripts/kindeditor/plugins/preview/preview.js +33 -0
  220. data/vendor/assets/javascripts/kindeditor/plugins/quickformat/quickformat.js +81 -0
  221. data/vendor/assets/javascripts/kindeditor/plugins/table/table.js +712 -0
  222. data/vendor/assets/javascripts/kindeditor/plugins/template/html/1.html +14 -0
  223. data/vendor/assets/javascripts/kindeditor/plugins/template/html/2.html +42 -0
  224. data/vendor/assets/javascripts/kindeditor/plugins/template/html/3.html +36 -0
  225. data/vendor/assets/javascripts/kindeditor/plugins/template/template.js +58 -0
  226. data/vendor/assets/javascripts/kindeditor/plugins/wordpaste/wordpaste.js +51 -0
  227. data/vendor/assets/javascripts/kindeditor/themes/common/anchor.gif +0 -0
  228. data/vendor/assets/javascripts/kindeditor/themes/common/blank.gif +0 -0
  229. data/vendor/assets/javascripts/kindeditor/themes/common/flash.gif +0 -0
  230. data/vendor/assets/javascripts/kindeditor/themes/common/loading.gif +0 -0
  231. data/vendor/assets/javascripts/kindeditor/themes/common/media.gif +0 -0
  232. data/vendor/assets/javascripts/kindeditor/themes/common/rm.gif +0 -0
  233. data/vendor/assets/javascripts/kindeditor/themes/default/background.png +0 -0
  234. data/vendor/assets/javascripts/kindeditor/themes/default/default.css +1149 -0
  235. data/vendor/assets/javascripts/kindeditor/themes/default/default.png +0 -0
  236. data/vendor/assets/javascripts/kindeditor/themes/qq/editor.gif +0 -0
  237. data/vendor/assets/javascripts/kindeditor/themes/qq/qq.css +143 -0
  238. data/vendor/assets/javascripts/kindeditor/themes/simple/simple.css +100 -0
  239. metadata +309 -0
@@ -0,0 +1,233 @@
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
+ * Arabic Translation By daif alotaibi (http://daif.net/)
9
+ *******************************************************************************/
10
+
11
+ KindEditor.lang({
12
+ source : 'عرض المصدر',
13
+ preview : 'معاينة الصفحة',
14
+ undo : 'تراجع(Ctrl+Z)',
15
+ redo : 'إعادة التراجع(Ctrl+Y)',
16
+ cut : 'قص(Ctrl+X)',
17
+ copy : 'نسخ(Ctrl+C)',
18
+ paste : 'لصق(Ctrl+V)',
19
+ plainpaste : 'لصق كنص عادي',
20
+ wordpaste : 'لصق من مايكروسفت ورد',
21
+ selectall : 'تحديد الكل',
22
+ justifyleft : 'محاذاه لليسار',
23
+ justifycenter : 'محاذاه للوسط',
24
+ justifyright : 'محاذاه لليمين',
25
+ justifyfull : 'محاذاه تلقائية',
26
+ insertorderedlist : 'قائمة مرقمه',
27
+ insertunorderedlist : 'قائمة نقطية',
28
+ indent : 'إزاحه النص',
29
+ outdent : 'إلغاء الازاحة',
30
+ subscript : 'أسفل النص',
31
+ superscript : 'أعلى النص',
32
+ formatblock : 'Paragraph format',
33
+ fontname : 'نوع الخط',
34
+ fontsize : 'حجم الخط',
35
+ forecolor : 'لون النص',
36
+ hilitecolor : 'لون خلفية النص',
37
+ bold : 'عريض(Ctrl+B)',
38
+ italic : 'مائل(Ctrl+I)',
39
+ underline : 'خط تحت النص(Ctrl+U)',
40
+ strikethrough : 'خط على النص',
41
+ removeformat : 'إزالة التنسيق',
42
+ image : 'إدراج صورة',
43
+ multiimage : 'Multi image',
44
+ flash : 'إدراج فلاش',
45
+ media : 'إدراج وسائط متعددة',
46
+ table : 'إدراج جدول',
47
+ tablecell : 'خلية',
48
+ hr : 'إدراج خط أفقي',
49
+ emoticons : 'إدراج وجه ضاحك',
50
+ link : 'رابط',
51
+ unlink : 'إزالة الرابط',
52
+ fullscreen : 'محرر ملئ الشاشة',
53
+ about : 'حول',
54
+ print : 'طباعة',
55
+ filemanager : 'مدير الملفات',
56
+ code : 'إدراج نص برمجي',
57
+ map : 'خرائط قووقل',
58
+ baidumap : 'خرائط قووقل',
59
+ lineheight : 'إرتفاع السطر',
60
+ clearhtml : 'مسح كود HTML',
61
+ pagebreak : 'إدراج فاصل صفحات',
62
+ quickformat : 'تنسيق سريع',
63
+ insertfile : 'إدراج ملف',
64
+ template : 'إدراج قالب',
65
+ anchor : 'رابط',
66
+ yes : 'موافق',
67
+ no : 'إلغاء',
68
+ close : 'إغلاق',
69
+ editImage : 'خصائص الصورة',
70
+ deleteImage : 'حذفالصورة',
71
+ editFlash : 'خصائص الفلاش',
72
+ deleteFlash : 'حذف الفلاش',
73
+ editMedia : 'خصائص الوسائط',
74
+ deleteMedia : 'حذف الوسائط',
75
+ editLink : 'خصائص الرابط',
76
+ deleteLink : 'إزالة الرابط',
77
+ tableprop : 'خصائص الجدول',
78
+ tablecellprop : 'خصائص الخلية',
79
+ tableinsert : 'إدراج جدول',
80
+ tabledelete : 'حذف جدول',
81
+ tablecolinsertleft : 'إدراج عمود لليسار',
82
+ tablecolinsertright : 'إدراج عمود لليسار',
83
+ tablerowinsertabove : 'إدراج صف للأعلى',
84
+ tablerowinsertbelow : 'إدراج صف للأسفل',
85
+ tablerowmerge : 'دمج للأسفل',
86
+ tablecolmerge : 'دمج لليمين',
87
+ tablerowsplit : 'تقسم الصف',
88
+ tablecolsplit : 'تقسيم العمود',
89
+ tablecoldelete : 'حذف العمود',
90
+ tablerowdelete : 'حذف الصف',
91
+ noColor : 'إفتراضي',
92
+ pleaseSelectFile : 'Please select file.',
93
+ invalidImg : "الرجاء إدخال رابط صحيح.\nالملفات المسموح بها: jpg,gif,bmp,png",
94
+ invalidMedia : "الرجاء إدخال رابط صحيح.\nالملفات المسموح بها: swf,flv,mp3,wav,wma,wmv,mid,avi,mpg,asf,rm,rmvb",
95
+ invalidWidth : "العرض يجب أن يكون رقم.",
96
+ invalidHeight : "الإرتفاع يجب أن يكون رقم.",
97
+ invalidBorder : "عرض الحد يجب أن يكون رقم.",
98
+ invalidUrl : "الرجاء إدخال رابط حيح.",
99
+ invalidRows : 'صفوف غير صحيح.',
100
+ invalidCols : 'أعمدة غير صحيحة.',
101
+ invalidPadding : 'The padding must be number.',
102
+ invalidSpacing : 'The spacing must be number.',
103
+ invalidJson : 'Invalid JSON string.',
104
+ uploadSuccess : 'تم رفع الملف بنجاح.',
105
+ cutError : 'حاليا غير مدعومة من المتصفح, إستخدم إختصار لوحة المفاتيح (Ctrl+X).',
106
+ copyError : 'حاليا غير مدعومة من المتصفح, إستخدم إختصار لوحة المفاتيح (Ctrl+C).',
107
+ pasteError : 'حاليا غير مدعومة من المتصفح, إستخدم إختصار لوحة المفاتيح (Ctrl+V).',
108
+ ajaxLoading : 'Loading ...',
109
+ uploadLoading : 'Uploading ...',
110
+ uploadError : 'Upload Error',
111
+ 'plainpaste.comment' : 'إستخدم إختصار لوحة المفاتيح (Ctrl+V) للصق داخل النافذة.',
112
+ 'wordpaste.comment' : 'إستخدم إختصار لوحة المفاتيح (Ctrl+V) للصق داخل النافذة.',
113
+ 'code.pleaseInput' : 'Please input code.',
114
+ 'link.url' : 'الرابط',
115
+ 'link.linkType' : 'الهدف',
116
+ 'link.newWindow' : 'نافذة جديدة',
117
+ 'link.selfWindow' : 'نفس النافذة',
118
+ 'flash.url' : 'الرابط',
119
+ 'flash.width' : 'العرض',
120
+ 'flash.height' : 'الإرتفاع',
121
+ 'flash.upload' : 'رفع',
122
+ 'flash.viewServer' : 'أستعراض',
123
+ 'media.url' : 'الرابط',
124
+ 'media.width' : 'العرض',
125
+ 'media.height' : 'الإرتفاع',
126
+ 'media.autostart' : 'تشغيل تلقائي',
127
+ 'media.upload' : 'رفع',
128
+ 'media.viewServer' : 'أستعراض',
129
+ 'image.remoteImage' : 'إدراج الرابط',
130
+ 'image.localImage' : 'رفع',
131
+ 'image.remoteUrl' : 'الرابط',
132
+ 'image.localUrl' : 'الملف',
133
+ 'image.size' : 'الحجم',
134
+ 'image.width' : 'العرض',
135
+ 'image.height' : 'الإرتفاع',
136
+ 'image.resetSize' : 'إستعادة الأبعاد',
137
+ 'image.align' : 'محاذاة',
138
+ 'image.defaultAlign' : 'الإفتراضي',
139
+ 'image.leftAlign' : 'اليسار',
140
+ 'image.rightAlign' : 'اليمين',
141
+ 'image.imgTitle' : 'العنوان',
142
+ 'image.upload' : 'أستعراض',
143
+ 'image.viewServer' : 'أستعراض',
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' : 'فارغ',
156
+ 'filemanager.moveup' : 'المجلد الأب',
157
+ 'filemanager.viewType' : 'العرض: ',
158
+ 'filemanager.viewImage' : 'مصغرات',
159
+ 'filemanager.listImage' : 'قائمة',
160
+ 'filemanager.orderType' : 'الترتيب: ',
161
+ 'filemanager.fileName' : 'بالإسم',
162
+ 'filemanager.fileSize' : 'بالحجم',
163
+ 'filemanager.fileType' : 'بالنوع',
164
+ 'insertfile.url' : 'الرابط',
165
+ 'insertfile.title' : 'العنوان',
166
+ 'insertfile.upload' : 'رفع',
167
+ 'insertfile.viewServer' : 'أستعراض',
168
+ 'table.cells' : 'خلايا',
169
+ 'table.rows' : 'صفوف',
170
+ 'table.cols' : 'أعمدة',
171
+ 'table.size' : 'الأبعاد',
172
+ 'table.width' : 'العرض',
173
+ 'table.height' : 'الإرتفاع',
174
+ 'table.percent' : '%',
175
+ 'table.px' : 'px',
176
+ 'table.space' : 'الخارج',
177
+ 'table.padding' : 'الداخل',
178
+ 'table.spacing' : 'الفراغات',
179
+ 'table.align' : 'محاذاه',
180
+ 'table.textAlign' : 'افقى',
181
+ 'table.verticalAlign' : 'رأسي',
182
+ 'table.alignDefault' : 'إفتراضي',
183
+ 'table.alignLeft' : 'يسار',
184
+ 'table.alignCenter' : 'وسط',
185
+ 'table.alignRight' : 'يمين',
186
+ 'table.alignTop' : 'أعلى',
187
+ 'table.alignMiddle' : 'منتصف',
188
+ 'table.alignBottom' : 'أسفل',
189
+ 'table.alignBaseline' : 'Baseline',
190
+ 'table.border' : 'الحدود',
191
+ 'table.borderWidth' : 'العرض',
192
+ 'table.borderColor' : 'اللون',
193
+ 'table.backgroundColor' : 'الخلفية',
194
+ 'map.address' : 'العنوان: ',
195
+ 'map.search' : 'بحث',
196
+ 'baidumap.address' : 'العنوان: ',
197
+ 'baidumap.search' : 'بحث',
198
+ 'baidumap.insertDynamicMap' : 'Dynamic Map',
199
+ 'anchor.name' : 'إسم الرابط',
200
+ 'formatblock.formatBlock' : {
201
+ h1 : 'عنوان 1',
202
+ h2 : 'عنوان 2',
203
+ h3 : 'عنوان 3',
204
+ h4 : 'عنوان 4',
205
+ p : 'عادي'
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' : 'إرتفاع السطر 1'},
221
+ {'1.5' : 'إرتفاع السطر 1.5'},
222
+ {'2' : 'إرتفاع السطر 2'},
223
+ {'2.5' : 'إرتفاع السطر 2.5'},
224
+ {'3' : 'إرتفاع السطر 3'}
225
+ ],
226
+ 'template.selectTemplate' : 'قالب',
227
+ 'template.replaceContent' : 'إستبدال المحتوى الحالي',
228
+ 'template.fileList' : {
229
+ '1.html' : 'صورة ونص',
230
+ '2.html' : 'جدول',
231
+ '3.html' : 'قائمة'
232
+ }
233
+ }, 'ar');
@@ -0,0 +1,232 @@
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
+ multiimage : 'Multi image',
43
+ flash : 'Flash',
44
+ media : 'Embeded media',
45
+ table : 'Table',
46
+ tablecell : 'Cell',
47
+ hr : 'Insert horizontal line',
48
+ emoticons : 'Insert emoticon',
49
+ link : 'Link',
50
+ unlink : 'Unlink',
51
+ fullscreen : 'Toggle fullscreen mode',
52
+ about : 'About',
53
+ print : 'Print',
54
+ filemanager : 'File Manager',
55
+ code : 'Insert code',
56
+ map : 'Google Maps',
57
+ baidumap : 'Baidu Maps',
58
+ lineheight : 'Line height',
59
+ clearhtml : 'Clear HTML code',
60
+ pagebreak : 'Insert Page Break',
61
+ quickformat : 'Quick Format',
62
+ insertfile : 'Insert file',
63
+ template : 'Insert Template',
64
+ anchor : 'Anchor',
65
+ yes : 'OK',
66
+ no : 'Cancel',
67
+ close : 'Close',
68
+ editImage : 'Image properties',
69
+ deleteImage : 'Delete image',
70
+ editFlash : 'Flash properties',
71
+ deleteFlash : 'Delete flash',
72
+ editMedia : 'Media properties',
73
+ deleteMedia : 'Delete media',
74
+ editLink : 'Link properties',
75
+ deleteLink : 'Unlink',
76
+ tableprop : 'Table properties',
77
+ tablecellprop : 'Cell properties',
78
+ tableinsert : 'Insert table',
79
+ tabledelete : 'Delete table',
80
+ tablecolinsertleft : 'Insert column left',
81
+ tablecolinsertright : 'Insert column right',
82
+ tablerowinsertabove : 'Insert row above',
83
+ tablerowinsertbelow : 'Insert row below',
84
+ tablerowmerge : 'Merge down',
85
+ tablecolmerge : 'Merge right',
86
+ tablerowsplit : 'Split row',
87
+ tablecolsplit : 'Split column',
88
+ tablecoldelete : 'Delete column',
89
+ tablerowdelete : 'Delete row',
90
+ noColor : 'Default',
91
+ pleaseSelectFile : 'Please select file.',
92
+ invalidImg : "Please type valid URL.\nAllowed file extension: jpg,gif,bmp,png",
93
+ invalidMedia : "Please type valid URL.\nAllowed file extension: swf,flv,mp3,wav,wma,wmv,mid,avi,mpg,asf,rm,rmvb",
94
+ invalidWidth : "The width must be number.",
95
+ invalidHeight : "The height must be number.",
96
+ invalidBorder : "The border must be number.",
97
+ invalidUrl : "Please type valid URL.",
98
+ invalidRows : 'Invalid rows.',
99
+ invalidCols : 'Invalid columns.',
100
+ invalidPadding : 'The padding must be number.',
101
+ invalidSpacing : 'The spacing must be number.',
102
+ invalidJson : 'Invalid JSON string.',
103
+ uploadSuccess : 'Upload success.',
104
+ cutError : 'Currently not supported by your browser, use keyboard shortcut(Ctrl+X) instead.',
105
+ copyError : 'Currently not supported by your browser, use keyboard shortcut(Ctrl+C) instead.',
106
+ pasteError : 'Currently not supported by your browser, use keyboard shortcut(Ctrl+V) instead.',
107
+ ajaxLoading : 'Loading ...',
108
+ uploadLoading : 'Uploading ...',
109
+ uploadError : 'Upload Error',
110
+ 'plainpaste.comment' : 'Use keyboard shortcut(Ctrl+V) to paste the text into the window.',
111
+ 'wordpaste.comment' : 'Use keyboard shortcut(Ctrl+V) to paste the text into the window.',
112
+ 'code.pleaseInput' : 'Please input code.',
113
+ 'link.url' : 'URL',
114
+ 'link.linkType' : 'Target',
115
+ 'link.newWindow' : 'New window',
116
+ 'link.selfWindow' : 'Same window',
117
+ 'flash.url' : 'URL',
118
+ 'flash.width' : 'Width',
119
+ 'flash.height' : 'Height',
120
+ 'flash.upload' : 'Upload',
121
+ 'flash.viewServer' : 'Browse',
122
+ 'media.url' : 'URL',
123
+ 'media.width' : 'Width',
124
+ 'media.height' : 'Height',
125
+ 'media.autostart' : 'Auto start',
126
+ 'media.upload' : 'Upload',
127
+ 'media.viewServer' : 'Browse',
128
+ 'image.remoteImage' : 'Insert URL',
129
+ 'image.localImage' : 'Upload',
130
+ 'image.remoteUrl' : 'URL',
131
+ 'image.localUrl' : 'File',
132
+ 'image.size' : 'Size',
133
+ 'image.width' : 'Width',
134
+ 'image.height' : 'Height',
135
+ 'image.resetSize' : 'Reset dimensions',
136
+ 'image.align' : 'Align',
137
+ 'image.defaultAlign' : 'Default',
138
+ 'image.leftAlign' : 'Left',
139
+ 'image.rightAlign' : 'Right',
140
+ 'image.imgTitle' : 'Title',
141
+ 'image.upload' : 'Browse',
142
+ 'image.viewServer' : 'Browse',
143
+ 'multiimage.uploadDesc' : 'Allows users to upload <%=uploadLimit%> images, single image size not exceeding <%=sizeLimit%>',
144
+ 'multiimage.startUpload' : 'Start upload',
145
+ 'multiimage.clearAll' : 'Clear all',
146
+ 'multiimage.insertAll' : 'Insert all',
147
+ 'multiimage.queueLimitExceeded' : 'Queue limit exceeded.',
148
+ 'multiimage.fileExceedsSizeLimit' : 'File exceeds size limit.',
149
+ 'multiimage.zeroByteFile' : 'Zero byte file.',
150
+ 'multiimage.invalidFiletype' : 'Invalid file type.',
151
+ 'multiimage.unknownError' : 'Unknown upload error.',
152
+ 'multiimage.pending' : 'Pending ...',
153
+ 'multiimage.uploadError' : 'Upload error',
154
+ 'filemanager.emptyFolder' : 'Blank',
155
+ 'filemanager.moveup' : 'Parent folder',
156
+ 'filemanager.viewType' : 'Display: ',
157
+ 'filemanager.viewImage' : 'Thumbnails',
158
+ 'filemanager.listImage' : 'List',
159
+ 'filemanager.orderType' : 'Sorting: ',
160
+ 'filemanager.fileName' : 'By name',
161
+ 'filemanager.fileSize' : 'By size',
162
+ 'filemanager.fileType' : 'By type',
163
+ 'insertfile.url' : 'URL',
164
+ 'insertfile.title' : 'Title',
165
+ 'insertfile.upload' : 'Upload',
166
+ 'insertfile.viewServer' : 'Browse',
167
+ 'table.cells' : 'Cells',
168
+ 'table.rows' : 'Rows',
169
+ 'table.cols' : 'Columns',
170
+ 'table.size' : 'Dimensions',
171
+ 'table.width' : 'Width',
172
+ 'table.height' : 'Height',
173
+ 'table.percent' : '%',
174
+ 'table.px' : 'px',
175
+ 'table.space' : 'Space',
176
+ 'table.padding' : 'Padding',
177
+ 'table.spacing' : 'Spacing',
178
+ 'table.align' : 'Align',
179
+ 'table.textAlign' : 'Horizontal',
180
+ 'table.verticalAlign' : 'Vertical',
181
+ 'table.alignDefault' : 'Default',
182
+ 'table.alignLeft' : 'Left',
183
+ 'table.alignCenter' : 'Center',
184
+ 'table.alignRight' : 'Right',
185
+ 'table.alignTop' : 'Top',
186
+ 'table.alignMiddle' : 'Middle',
187
+ 'table.alignBottom' : 'Bottom',
188
+ 'table.alignBaseline' : 'Baseline',
189
+ 'table.border' : 'Border',
190
+ 'table.borderWidth' : 'Width',
191
+ 'table.borderColor' : 'Color',
192
+ 'table.backgroundColor' : 'Background',
193
+ 'map.address' : 'Address: ',
194
+ 'map.search' : 'Search',
195
+ 'baidumap.address' : 'Address: ',
196
+ 'baidumap.search' : 'Search',
197
+ 'baidumap.insertDynamicMap' : 'Dynamic Map',
198
+ 'anchor.name' : 'Anchor name',
199
+ 'formatblock.formatBlock' : {
200
+ h1 : 'Heading 1',
201
+ h2 : 'Heading 2',
202
+ h3 : 'Heading 3',
203
+ h4 : 'Heading 4',
204
+ p : 'Normal'
205
+ },
206
+ 'fontname.fontName' : {
207
+ 'Arial' : 'Arial',
208
+ 'Arial Black' : 'Arial Black',
209
+ 'Comic Sans MS' : 'Comic Sans MS',
210
+ 'Courier New' : 'Courier New',
211
+ 'Garamond' : 'Garamond',
212
+ 'Georgia' : 'Georgia',
213
+ 'Tahoma' : 'Tahoma',
214
+ 'Times New Roman' : 'Times New Roman',
215
+ 'Trebuchet MS' : 'Trebuchet MS',
216
+ 'Verdana' : 'Verdana'
217
+ },
218
+ 'lineheight.lineHeight' : [
219
+ {'1' : 'Line height 1'},
220
+ {'1.5' : 'Line height 1.5'},
221
+ {'2' : 'Line height 2'},
222
+ {'2.5' : 'Line height 2.5'},
223
+ {'3' : 'Line height 3'}
224
+ ],
225
+ 'template.selectTemplate' : 'Template',
226
+ 'template.replaceContent' : 'Replace current content',
227
+ 'template.fileList' : {
228
+ '1.html' : 'Image and Text',
229
+ '2.html' : 'Table',
230
+ '3.html' : 'List'
231
+ }
232
+ }, 'en');