kiteditor 1.0.11 → 1.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (289) hide show
  1. data/POST_INSTALL +21 -0
  2. data/{vendor → app}/assets/images/mercury/button.png +0 -0
  3. data/{vendor → app}/assets/images/mercury/close.png +0 -0
  4. data/app/assets/images/mercury/default-snippet.png +0 -0
  5. data/{vendor → app}/assets/images/mercury/loading-dark.gif +0 -0
  6. data/{vendor → app}/assets/images/mercury/loading-light.gif +0 -0
  7. data/{vendor → app}/assets/images/mercury/missing-image.png +0 -0
  8. data/{vendor → app}/assets/images/mercury/search-icon.png +0 -0
  9. data/{vendor → app}/assets/images/mercury/temp-logo.png +0 -0
  10. data/app/assets/images/mercury/toolbar/editable/buttons.png +0 -0
  11. data/app/assets/images/mercury/toolbar/primary/_expander.png +0 -0
  12. data/app/assets/images/mercury/toolbar/primary/_pressed.png +0 -0
  13. data/app/assets/images/mercury/toolbar/primary/action.png +0 -0
  14. data/app/assets/images/mercury/toolbar/primary/historypanel.png +0 -0
  15. data/app/assets/images/mercury/toolbar/primary/insertcharacter.png +0 -0
  16. data/app/assets/images/mercury/toolbar/primary/insertlink.png +0 -0
  17. data/app/assets/images/mercury/toolbar/primary/insertmedia.png +0 -0
  18. data/app/assets/images/mercury/toolbar/primary/inserttable.png +0 -0
  19. data/app/assets/images/mercury/toolbar/primary/inspectorpanel.png +0 -0
  20. data/app/assets/images/mercury/toolbar/primary/notespanel.png +0 -0
  21. data/app/assets/images/mercury/toolbar/primary/preview.png +0 -0
  22. data/app/assets/images/mercury/toolbar/primary/redo.png +0 -0
  23. data/app/assets/images/mercury/toolbar/primary/save.png +0 -0
  24. data/app/assets/images/mercury/toolbar/primary/snippetpanel.png +0 -0
  25. data/app/assets/images/mercury/toolbar/primary/tools.png +0 -0
  26. data/app/assets/images/mercury/toolbar/primary/undo.png +0 -0
  27. data/app/assets/images/mercury/toolbar/primary/user.png +0 -0
  28. data/app/assets/images/mercury/toolbar/snippets/buttons.png +0 -0
  29. data/{vendor/assets/javascripts/mercury/dependencies → app/assets/javascripts}/jquery-1.7.js +0 -0
  30. data/{vendor → app}/assets/javascripts/mercury.js +60 -87
  31. data/{vendor → app}/assets/javascripts/mercury/dependencies/jquery-ui-1.8.13.custom.js +0 -0
  32. data/{vendor → app}/assets/javascripts/mercury/dependencies/jquery.additions.js +103 -13
  33. data/{vendor → app}/assets/javascripts/mercury/dependencies/jquery.htmlClean.js +0 -0
  34. data/{vendor → app}/assets/javascripts/mercury/dependencies/liquidmetal.js +0 -0
  35. data/{vendor → app}/assets/javascripts/mercury/dependencies/showdown.js +0 -0
  36. data/{vendor → app}/assets/javascripts/mercury/dialog.js.coffee +0 -0
  37. data/{vendor → app}/assets/javascripts/mercury/dialogs/backcolor.js.coffee +0 -0
  38. data/{vendor → app}/assets/javascripts/mercury/dialogs/forecolor.js.coffee +1 -1
  39. data/{vendor → app}/assets/javascripts/mercury/dialogs/formatblock.js.coffee +0 -0
  40. data/{vendor → app}/assets/javascripts/mercury/dialogs/snippetpanel.js.coffee +1 -1
  41. data/{vendor → app}/assets/javascripts/mercury/dialogs/style.js.coffee +0 -0
  42. data/{vendor → app}/assets/javascripts/mercury/finalize.js.coffee +0 -0
  43. data/{vendor → app}/assets/javascripts/mercury/history_buffer.js.coffee +0 -0
  44. data/{vendor → app}/assets/javascripts/mercury/lightview.js.coffee +38 -17
  45. data/app/assets/javascripts/mercury/locales/ar.locale.js.coffee +201 -0
  46. data/app/assets/javascripts/mercury/locales/da.locale.js.coffee +208 -0
  47. data/{vendor → app}/assets/javascripts/mercury/locales/de.locale.js.coffee +4 -10
  48. data/{vendor → app}/assets/javascripts/mercury/locales/es.locale.js.coffee +3 -9
  49. data/{vendor → app}/assets/javascripts/mercury/locales/example.local.js.coffee +3 -5
  50. data/{vendor → app}/assets/javascripts/mercury/locales/fr.locale.js.coffee +3 -9
  51. data/app/assets/javascripts/mercury/locales/hu.locale.js.coffee +209 -0
  52. data/{vendor → app}/assets/javascripts/mercury/locales/it.locale.js.coffee +3 -9
  53. data/{vendor → app}/assets/javascripts/mercury/locales/ko.local.js.coffee +4 -10
  54. data/{vendor → app}/assets/javascripts/mercury/locales/nl.locale.js.coffee +3 -9
  55. data/app/assets/javascripts/mercury/locales/pl.locale.js.coffee +213 -0
  56. data/{vendor → app}/assets/javascripts/mercury/locales/pt.locale.js.coffee +3 -9
  57. data/app/assets/javascripts/mercury/locales/ru.locale.js.coffee +200 -0
  58. data/{vendor → app}/assets/javascripts/mercury/locales/sv.local.js.coffee +3 -9
  59. data/{vendor → app}/assets/javascripts/mercury/locales/swedish_chef.locale.js.coffee +3 -9
  60. data/app/assets/javascripts/mercury/locales/uk.locale.js.coffee +200 -0
  61. data/app/assets/javascripts/mercury/locales/zh.local.js.coffee +203 -0
  62. data/app/assets/javascripts/mercury/mercury-compiled.js +10720 -0
  63. data/{vendor → app}/assets/javascripts/mercury/mercury.js.coffee +10 -1
  64. data/{vendor → app}/assets/javascripts/mercury/modal.js.coffee +62 -40
  65. data/{vendor → app}/assets/javascripts/mercury/modals/htmleditor.js.coffee +1 -0
  66. data/{vendor → app}/assets/javascripts/mercury/modals/insertcharacter.js.coffee +1 -0
  67. data/app/assets/javascripts/mercury/modals/insertlink.js.coffee +152 -0
  68. data/app/assets/javascripts/mercury/modals/insertmedia.js.coffee +132 -0
  69. data/{vendor → app}/assets/javascripts/mercury/modals/insertsnippet.js.coffee +2 -0
  70. data/app/assets/javascripts/mercury/modals/inserttable.js.coffee +68 -0
  71. data/{vendor → app}/assets/javascripts/mercury/native_extensions.js.coffee +0 -6
  72. data/{vendor → app}/assets/javascripts/mercury/page_editor.js.coffee +84 -50
  73. data/{vendor → app}/assets/javascripts/mercury/palette.js.coffee +1 -1
  74. data/{vendor → app}/assets/javascripts/mercury/panel.js.coffee +3 -2
  75. data/{vendor → app}/assets/javascripts/mercury/plugins/save_as_xml/mercury/page_editor.js.coffee +2 -2
  76. data/{vendor → app}/assets/javascripts/mercury/plugins/save_as_xml/plugin.js +0 -0
  77. data/{vendor → app}/assets/javascripts/mercury/region.js.coffee +18 -17
  78. data/{vendor/assets/javascripts/mercury/regions/editable.js.coffee → app/assets/javascripts/mercury/regions/full.js.coffee} +41 -31
  79. data/app/assets/javascripts/mercury/regions/image.js.coffee +93 -0
  80. data/{vendor/assets/javascripts/mercury/regions/markupable.js.coffee → app/assets/javascripts/mercury/regions/markdown.js.coffee} +29 -24
  81. data/{vendor → app}/assets/javascripts/mercury/regions/simple.js.coffee +11 -54
  82. data/{vendor/assets/javascripts/mercury/regions/snippetable.js.coffee → app/assets/javascripts/mercury/regions/snippets.js.coffee} +10 -9
  83. data/{vendor → app}/assets/javascripts/mercury/select.js.coffee +1 -1
  84. data/app/assets/javascripts/mercury/snippet.js.coffee +136 -0
  85. data/{vendor → app}/assets/javascripts/mercury/snippet_toolbar.js.coffee +19 -6
  86. data/{vendor → app}/assets/javascripts/mercury/statusbar.js.coffee +0 -0
  87. data/{vendor → app}/assets/javascripts/mercury/support/history.js +0 -0
  88. data/{vendor → app}/assets/javascripts/mercury/table_editor.js.coffee +16 -0
  89. data/{vendor → app}/assets/javascripts/mercury/toolbar.button.js.coffee +45 -30
  90. data/{vendor → app}/assets/javascripts/mercury/toolbar.button_group.js.coffee +2 -2
  91. data/{vendor → app}/assets/javascripts/mercury/toolbar.expander.js.coffee +4 -4
  92. data/{vendor → app}/assets/javascripts/mercury/toolbar.js.coffee +10 -6
  93. data/{vendor → app}/assets/javascripts/mercury/tooltip.js.coffee +0 -0
  94. data/{vendor → app}/assets/javascripts/mercury/uploader.js.coffee +37 -19
  95. data/app/assets/stylesheets/_mercury-bootstrap-overrides.scss +61 -0
  96. data/app/assets/stylesheets/_mercury-sass.scss +33 -0
  97. data/{vendor → app}/assets/stylesheets/mercury.css +1 -5
  98. data/{vendor → app}/assets/stylesheets/mercury/all_images.css.erb +6 -2
  99. data/app/assets/stylesheets/mercury/bootstrap-ish.css +1367 -0
  100. data/app/assets/stylesheets/mercury/bootstrap-overrides.css +61 -0
  101. data/{vendor → app}/assets/stylesheets/mercury/dialog.css +21 -8
  102. data/{vendor → app}/assets/stylesheets/mercury/lightview.css +6 -56
  103. data/app/assets/stylesheets/mercury/mercury.css +43 -0
  104. data/{vendor → app}/assets/stylesheets/mercury/modal.css +15 -32
  105. data/{vendor → app}/assets/stylesheets/mercury/statusbar.css +0 -0
  106. data/{vendor → app}/assets/stylesheets/mercury/toolbar.css +4 -1
  107. data/{vendor → app}/assets/stylesheets/mercury/tooltip.css +0 -0
  108. data/{vendor → app}/assets/stylesheets/mercury/uploader.css +4 -4
  109. data/app/helpers/mercury_helper.rb +7 -0
  110. data/app/views/layouts/mercury.html.erb +10 -20
  111. data/app/views/layouts/mercury.html.haml +19 -0
  112. data/app/views/layouts/mercury.html.slim +19 -0
  113. data/app/views/mercury/modals/character.html +1 -1
  114. data/app/views/mercury/modals/htmleditor.html +3 -7
  115. data/app/views/mercury/modals/link.html +37 -51
  116. data/app/views/mercury/modals/media.html +102 -0
  117. data/app/views/mercury/modals/table.html +79 -73
  118. data/app/views/mercury/panels/snippets.html +6 -1
  119. data/app/views/mercury/snippets/example/options.html.erb +23 -27
  120. data/app/views/mercury/snippets/no_options/preview.html.erb +1 -0
  121. data/config/routes.rb +9 -0
  122. data/features/generators/authentication.feature +10 -0
  123. data/features/generators/images.feature +41 -0
  124. data/features/generators/install.feature +21 -0
  125. data/features/loading/loading.feature +5 -2
  126. data/features/loading/user_interface.feature +9 -7
  127. data/features/regions/{editable → full}/advanced_editing.feature +0 -0
  128. data/features/regions/full/basic_editing.feature +198 -0
  129. data/features/regions/{editable → full}/inserting_links.feature +20 -19
  130. data/features/regions/{editable → full}/inserting_media.feature +36 -18
  131. data/features/regions/{editable → full}/inserting_snippets.feature +28 -18
  132. data/features/regions/{editable → full}/inserting_special_characters.feature +2 -2
  133. data/features/regions/full/inserting_tables.feature +109 -0
  134. data/features/regions/{editable → full}/pasting.feature +0 -0
  135. data/features/regions/{editable → full}/uploading_images.feature +0 -0
  136. data/features/regions/{markupable → image}/uploading_images.feature +0 -0
  137. data/features/regions/{markupable → markdown}/advanced_editing.feature +0 -0
  138. data/features/regions/{markupable → markdown}/basic_editing.feature +0 -0
  139. data/features/regions/{markupable → markdown}/inserting_links.feature +0 -0
  140. data/features/regions/{markupable → markdown}/inserting_media.feature +0 -0
  141. data/features/regions/{markupable → markdown}/inserting_snippets.feature +0 -0
  142. data/features/regions/{markupable → markdown}/inserting_special_characters.feature +0 -0
  143. data/features/regions/{markupable → markdown}/inserting_tables.feature +0 -0
  144. data/features/regions/{snippetable/advanced_editing.feature → markdown/uploading_images.feature} +0 -0
  145. data/features/regions/simple/basic_editing.feature +5 -0
  146. data/features/regions/{snippetable/basic_editing.feature → snippets/advanced_editing.feature} +0 -0
  147. data/features/regions/{snippetable/inserting_snippets.feature → snippets/basic_editing.feature} +0 -0
  148. data/{vendor/assets/javascripts/mercury/locales/da.locale.js.coffee → features/regions/snippets/inserting_snippets.feature} +0 -0
  149. data/features/saving/saving.feature +8 -8
  150. data/features/step_definitions/custom_web_steps.rb +22 -0
  151. data/features/step_definitions/generator_steps.rb +23 -0
  152. data/features/step_definitions/mercury_steps.rb +1 -438
  153. data/features/support/aruba.rb +28 -0
  154. data/features/support/env.rb +11 -1
  155. data/features/support/selectors.rb +23 -0
  156. data/lib/generators/mercury/install/authentication/authentication_generator.rb +17 -0
  157. data/lib/generators/mercury/install/images/images_generator.rb +47 -0
  158. data/{app/models/mercury/image.rb → lib/generators/mercury/install/images/templates/ar_paperclip_image.rb} +7 -0
  159. data/{db/migrate/20110526035601_create_mercury_images.rb → lib/generators/mercury/install/images/templates/ar_paperclip_image_migration.rb} +0 -0
  160. data/{app/controllers/mercury → lib/generators/mercury/install/images/templates}/images_controller.rb +0 -0
  161. data/lib/generators/mercury/install/{templates → images/templates}/mongoid_paperclip_image.rb +0 -0
  162. data/lib/generators/mercury/install/install_generator.rb +12 -23
  163. data/lib/mercury-rails.rb +1 -2
  164. data/lib/mercury/authentication.rb +1 -0
  165. data/lib/mercury/cucumber/step_definitions.rb +13 -0
  166. data/lib/mercury/cucumber/step_definitions/mercury_steps.rb +408 -0
  167. data/{features → lib/mercury/cucumber}/support/mercury_contents.rb +3 -3
  168. data/{features → lib/mercury/cucumber}/support/mercury_selectors.rb +0 -20
  169. data/lib/mercury/engine.rb +19 -0
  170. data/lib/mercury/rails.rb +5 -0
  171. data/lib/mercury/version.rb +3 -0
  172. data/spec/dummy/Rakefile +7 -0
  173. data/spec/dummy/app/assets/javascripts/application.js +0 -0
  174. data/spec/dummy/app/assets/javascripts/prototype.js +6082 -0
  175. data/spec/dummy/app/assets/stylesheets/application.css.scss +110 -0
  176. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  177. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  178. data/spec/dummy/app/views/layouts/mercury.html.erb +28 -0
  179. data/spec/dummy/config.ru +4 -0
  180. data/spec/dummy/config/application.rb +58 -0
  181. data/spec/dummy/config/boot.rb +10 -0
  182. data/spec/dummy/config/database.yml +10 -0
  183. data/spec/dummy/config/environment.rb +5 -0
  184. data/spec/dummy/config/environments/development.rb +37 -0
  185. data/spec/dummy/config/environments/production.rb +67 -0
  186. data/spec/dummy/config/environments/test.rb +37 -0
  187. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  188. data/spec/dummy/config/initializers/inflections.rb +15 -0
  189. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  190. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  191. data/spec/dummy/config/initializers/session_store.rb +8 -0
  192. data/spec/dummy/config/initializers/teabag.rb +9 -0
  193. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  194. data/spec/dummy/config/locales/en.yml +5 -0
  195. data/spec/dummy/config/routes.rb +5 -0
  196. data/spec/dummy/db/.gitkeep +0 -0
  197. data/spec/dummy/public/500.html +25 -0
  198. data/spec/dummy/public/blank.html +1 -0
  199. data/spec/dummy/public/favicon.ico +0 -0
  200. data/spec/dummy/public/images/bunny.gif +0 -0
  201. data/spec/dummy/public/images/bunny2.jpg +0 -0
  202. data/spec/dummy/public/index.html +279 -0
  203. data/spec/dummy/script/rails +6 -0
  204. data/spec/javascripts/{templates → fixtures}/mercury/dialog.html +0 -0
  205. data/spec/javascripts/{templates → fixtures}/mercury/dialogs/backcolor.html +0 -0
  206. data/spec/javascripts/{templates → fixtures}/mercury/dialogs/forecolor.html +0 -0
  207. data/spec/javascripts/{templates → fixtures}/mercury/dialogs/formatblock.html +0 -0
  208. data/spec/javascripts/{templates → fixtures}/mercury/dialogs/snippetpanel.html +0 -0
  209. data/spec/javascripts/{templates → fixtures}/mercury/dialogs/style.html +0 -0
  210. data/spec/javascripts/{templates → fixtures}/mercury/lightview.html +0 -0
  211. data/spec/javascripts/{templates → fixtures}/mercury/modal.html +0 -0
  212. data/spec/javascripts/{templates → fixtures}/mercury/modals/htmleditor.html +0 -0
  213. data/spec/javascripts/{templates → fixtures}/mercury/modals/insertcharacter.html +0 -0
  214. data/spec/javascripts/fixtures/mercury/modals/insertlink.html +67 -0
  215. data/spec/javascripts/fixtures/mercury/modals/insertmedia.html +87 -0
  216. data/spec/javascripts/{templates → fixtures}/mercury/modals/insertsnippet.html +0 -0
  217. data/spec/javascripts/fixtures/mercury/modals/inserttable.html +73 -0
  218. data/spec/javascripts/{templates → fixtures}/mercury/page_editor.html +4 -4
  219. data/spec/javascripts/{templates → fixtures}/mercury/palette.html +0 -0
  220. data/spec/javascripts/{templates → fixtures}/mercury/panel.html +0 -0
  221. data/spec/javascripts/fixtures/mercury/region.html +6 -0
  222. data/spec/javascripts/fixtures/mercury/regions/full.html +1 -0
  223. data/spec/javascripts/fixtures/mercury/regions/image.html +1 -0
  224. data/spec/javascripts/fixtures/mercury/regions/markdown.html +1 -0
  225. data/spec/javascripts/fixtures/mercury/regions/simple.html +1 -0
  226. data/spec/javascripts/fixtures/mercury/regions/snippets.html +4 -0
  227. data/spec/javascripts/{templates → fixtures}/mercury/select.html +0 -0
  228. data/spec/javascripts/{templates → fixtures}/mercury/snippet.html +0 -0
  229. data/spec/javascripts/{templates → fixtures}/mercury/snippet_toolbar.html +0 -0
  230. data/spec/javascripts/{templates → fixtures}/mercury/statusbar.html +0 -0
  231. data/spec/javascripts/{templates → fixtures}/mercury/table_editor.html +0 -0
  232. data/spec/javascripts/{templates → fixtures}/mercury/toolbar.button.html +0 -0
  233. data/spec/javascripts/{templates → fixtures}/mercury/toolbar.button_group.html +0 -0
  234. data/spec/javascripts/{templates → fixtures}/mercury/toolbar.expander.html +0 -0
  235. data/spec/javascripts/{templates → fixtures}/mercury/toolbar.html +0 -0
  236. data/spec/javascripts/{templates → fixtures}/mercury/tooltip.html +0 -0
  237. data/spec/javascripts/{templates → fixtures}/mercury/uploader.html +0 -0
  238. data/spec/javascripts/mercury/{dialog_spec.js.coffee → dialog_spec.coffee} +11 -12
  239. data/spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee +2 -3
  240. data/spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee +3 -4
  241. data/spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee +2 -3
  242. data/spec/javascripts/mercury/dialogs/snippetpanel_spec.js.coffee +2 -3
  243. data/spec/javascripts/mercury/dialogs/style_spec.js.coffee +2 -3
  244. data/spec/javascripts/mercury/lightview_spec.js.coffee +180 -142
  245. data/spec/javascripts/mercury/mercury_spec.js.coffee +19 -13
  246. data/spec/javascripts/mercury/modal_spec.js.coffee +192 -148
  247. data/spec/javascripts/mercury/modals/htmleditor_spec.js.coffee +4 -5
  248. data/spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee +2 -3
  249. data/spec/javascripts/mercury/modals/insertlink_spec.js.coffee +107 -34
  250. data/spec/javascripts/mercury/modals/insertmedia_spec.js.coffee +106 -26
  251. data/spec/javascripts/mercury/modals/insertsnippet_spec.js.coffee +2 -3
  252. data/spec/javascripts/mercury/modals/inserttable_spec.js.coffee +50 -40
  253. data/spec/javascripts/mercury/page_editor_spec.js.coffee +124 -80
  254. data/spec/javascripts/mercury/palette_spec.js.coffee +4 -5
  255. data/spec/javascripts/mercury/panel_spec.js.coffee +9 -12
  256. data/spec/javascripts/mercury/region_spec.js.coffee +22 -17
  257. data/spec/javascripts/mercury/regions/{editable_spec.js.coffee → full_spec.js.coffee} +26 -28
  258. data/spec/javascripts/mercury/regions/image_spec.js.coffee +33 -0
  259. data/spec/javascripts/mercury/regions/{markupable_spec.js.coffee → markdown_spec.js.coffee} +32 -34
  260. data/spec/javascripts/mercury/regions/simple_spec.js.coffee +32 -0
  261. data/spec/javascripts/mercury/regions/{snippetable_spec.js.coffee → snippets_spec.js.coffee} +54 -55
  262. data/spec/javascripts/mercury/select_spec.js.coffee +4 -5
  263. data/spec/javascripts/mercury/snippet_spec.js.coffee +92 -16
  264. data/spec/javascripts/mercury/snippet_toolbar_spec.js.coffee +31 -16
  265. data/spec/javascripts/mercury/statusbar_spec.js.coffee +9 -10
  266. data/spec/javascripts/mercury/table_editor_spec.js.coffee +1 -2
  267. data/spec/javascripts/mercury/toolbar.button_group_spec.js.coffee +7 -9
  268. data/spec/javascripts/mercury/toolbar.button_spec.js.coffee +55 -26
  269. data/spec/javascripts/mercury/toolbar.expander_spec.js.coffee +13 -13
  270. data/spec/javascripts/mercury/toolbar_spec.js.coffee +43 -14
  271. data/spec/javascripts/mercury/tooltip_spec.js.coffee +1 -2
  272. data/spec/javascripts/mercury/uploader_spec.js.coffee +47 -33
  273. data/spec/javascripts/spec_helper.coffee +4 -0
  274. data/spec/javascripts/{spec_helper.js → support/event_simulation.js} +0 -2
  275. data/spec/teabag_env.rb +32 -0
  276. metadata +366 -196
  277. data/features/regions/editable/basic_editing.feature +0 -195
  278. data/features/regions/editable/inserting_tables.feature +0 -109
  279. data/spec/javascripts/templates/mercury/modals/insertlink.html +0 -30
  280. data/spec/javascripts/templates/mercury/modals/insertmedia.html +0 -35
  281. data/spec/javascripts/templates/mercury/modals/inserttable.html +0 -27
  282. data/spec/javascripts/templates/mercury/region.html +0 -2
  283. data/spec/javascripts/templates/mercury/regions/editable.html +0 -3
  284. data/spec/javascripts/templates/mercury/regions/snippetable.html +0 -4
  285. data/vendor/assets/javascripts/mercury/modals/inserttable.js.coffee +0 -54
  286. data/vendor/assets/javascripts/mercury_loader.js +0 -193
  287. data/vendor/assets/javascripts/mercury_overrides.js +0 -6
  288. data/vendor/assets/stylesheets/mercury/mercury.css +0 -151
  289. data/vendor/assets/stylesheets/mercury_overrides.css +0 -17
@@ -74,6 +74,8 @@ Mercury.I18n['sv'] =
74
74
  "Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PageEditor misslyckades att ladda: %s\n\nVänligen försök att ladda om sidan."
75
75
  "Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "Regionstyp är felaktigt formaterad, ingen datatyp angavs, eller \"%s\" är okänt för \"%s\" regionen."
76
76
  "Mercury was unable to save to the url: %s": "Mercury kunde inte spara till adressen: %s"
77
+ "invalid": "ogiltig"
78
+ "can't be blank": "kan inte vara tomt"
77
79
  # Confirmations
78
80
  "You have unsaved changes. Are you sure you want to leave without saving them first?": "Du har osparade ändringar. Är du säker på att du vill lämna sidan utan att spara dem först?"
79
81
 
@@ -110,10 +112,6 @@ Mercury.I18n['sv'] =
110
112
  "Size: %s": "Storlek: %s"
111
113
  "Type: %s": "Typ: %s"
112
114
 
113
- # Inserting Media
114
- "Error: The provided youtube share url was invalid.": "Fel: Den angivna delningsadressen för Youtube är felaktig."
115
- "Error: The provided vimeo url was invalid.": "Fel: Den angivna Vimeo-adressen är felaktig."
116
-
117
115
  # Statusbar
118
116
  "Path:": "Sökväg:"
119
117
 
@@ -136,12 +134,11 @@ Mercury.I18n['sv'] =
136
134
  "Popup Window (javascript new window popup)": "Popupfönster (javascript nytt fönster)"
137
135
  "Popup Width": "Bredd för popup"
138
136
  "Popup Height": "Höjd för popup"
139
- "Insert Link": "Infoga länk"
140
137
 
141
138
  # Insert Media Modal (media.html)
142
139
  "Images": "Bilder"
143
140
  "Videos": "Video"
144
- "YouTube Share URL": "YouTube delnings-URL"
141
+ "YouTube URL": "YouTube-URL"
145
142
  "Vimeo URL": "Vimeo-URL"
146
143
  "Alignment": "Justering"
147
144
  "None": "Ingen"
@@ -164,11 +161,8 @@ Mercury.I18n['sv'] =
164
161
  "Columns": "Kolumner"
165
162
  "Row Span": "Rad-vidd"
166
163
  "Column Span": "Kolumn-vidd"
167
- "Options": "Inställningar"
168
- "Alignment": "Justering"
169
164
  "Border": "Ram"
170
165
  "Spacing": "Mellanrum"
171
- "Insert Table": "Infoga tabell"
172
166
 
173
167
  # HTML Editor Modal (htmleditor.html)
174
168
  "HTML Editor": "HTML-redigerare"
@@ -74,6 +74,8 @@ Mercury.I18n['swedish_chef'] =
74
74
  "Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PegeEdeetur feeeled tu lued: %s\n\nPleese-a try reffresheeng."
75
75
  "Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "Regeeun type-a is melffurmed, nu deta-type-a prufeeded, oor \"%s\" is unknoon fur zee \"%s\" regeeun."
76
76
  "Mercury was unable to save to the url: %s": "Mercury ves uneble-a tu sefe-a tu zee url: %s"
77
+ "invalid": "infeleed"
78
+ "can't be blank": "cun't be-a blunk"
77
79
  # Confirmations
78
80
  "You have unsaved changes. Are you sure you want to leave without saving them first?": "Yuoo hefe-a unsefed chunges. Ere-a yuoo soore-a yuoo vunt tu leefe-a veethuoot sefeeng zeem furst?"
79
81
 
@@ -110,10 +112,6 @@ Mercury.I18n['swedish_chef'] =
110
112
  "Size: %s": "Seeze-a: %s"
111
113
  "Type: %s": "Type-a: %s"
112
114
 
113
- # Inserting Media
114
- "Error: The provided youtube share url was invalid.": "Irrur: Zee prufeeded youtube shere-a url ves infeleed."
115
- "Error: The provided vimeo url was invalid.": "Irrur: Zee prufeeded vimeo url ves infeleed."
116
-
117
115
  # Statusbar
118
116
  "Path:": "Pet:"
119
117
 
@@ -136,12 +134,11 @@ Mercury.I18n['swedish_chef'] =
136
134
  "Popup Window (javascript new window popup)": "Pupoop Veendoo (jefescreept noo veendoo pupoop)"
137
135
  "Popup Width": "Pupoop Veedt"
138
136
  "Popup Height": "Pupoop Heeeght"
139
- "Insert Link": "Insert Leenk"
140
137
 
141
138
  # Insert Media Modal (media.html)
142
139
  "Images": "Imeges"
143
140
  "Videos": "Feedeus"
144
- "YouTube Share URL": "YouTube Shere-a URL"
141
+ "YouTube URL": "YouTube URL"
145
142
  "Vimeo URL": "Vimeo URL"
146
143
  "Alignment": "Eleegnment"
147
144
  "None": "Nune-a"
@@ -164,11 +161,8 @@ Mercury.I18n['swedish_chef'] =
164
161
  "Columns": "Culoomns"
165
162
  "Row Span": "Roo Spun"
166
163
  "Column Span": "Culoomn Spun"
167
- "Options": "Oopshuns"
168
- "Alignment": "Eleegnment"
169
164
  "Border": "Burder"
170
165
  "Spacing": "Speceeng"
171
- "Insert Table": "Insert Teble-a"
172
166
 
173
167
  # HTML Editor Modal (htmleditor.html)
174
168
  "HTML Editor": "HTML Ideetur"
@@ -0,0 +1,200 @@
1
+ Mercury.I18n['uk'] =
2
+ # ## Javascript Strings
3
+
4
+ # ### Default Configuration
5
+ "Save": "Зберегти"
6
+   "Save this page": "Зберегти сторінку"
7
+   "Preview": "Попередній перегляд"
8
+   "Preview this page": "Попередній перегляд сторінки"
9
+   "Undo": "Скасувати"
10
+   "Undo your last action": "Відмінити останню дію"
11
+   "Redo": "Повернути"
12
+   "Redo your last action": "Повернути останню дію"
13
+   "Link": "Посилання"
14
+   "Insert Link": "Вставити посилання"
15
+   "Media": "Медіа"
16
+   "Insert Media (images and videos)": "Вставити медіа (зображення і відео)"
17
+   "Table": "Таблиця"
18
+   "Insert Table": "Вставити таблицю"
19
+   "Character": "Символ"
20
+   "Special Characters": "Спеціальні символи"
21
+   "Snippet": "Сніпет"
22
+   "Snippet Panel": "Сніпет-панель"
23
+   "History": "Історія"
24
+   "Page Version History": "Історія версій сторінки"
25
+   "Notes": "Примітки"
26
+   "Page Notes": "Примітки до сторінки"
27
+   "Style": "Стиль"
28
+   "Block Format": "Формат"
29
+   "Background Color": "Колір фону"
30
+   "Text Color": "Колір тексту"
31
+   "Bold": "Жирний"
32
+   "Italicize": "Курсив"
33
+   "Overline": "Надчеркнутий"
34
+   "Strikethrough": "Закреслений"
35
+   "Underline": "Підкреслений"
36
+   "Subscript": "Індекс"
37
+   "Superscript": "Верхній індекс"
38
+   "Align Left": "Вирівнювання по лівому краю"
39
+   "Center": "Вирівнювання по центру"
40
+   "Align Right": "Вирівнювання по правому краю"
41
+   "Justify Full": "По ширині"
42
+   "Unordered List": "Ненумерованний список"
43
+   "Numbered List": "Нумерований список"
44
+   "Decrease Indentation": "Зменшити відступ"
45
+   "Increase Indentation": "Збільшити отсутп"
46
+   "Insert Table Row": "Вставити рядок таблиці"
47
+   "Insert a table row before the cursor": "Вставити рядок в таблицю перед курсором"
48
+   "Insert a table row after the cursor": "Вставити рядок в таблицю після курсору"
49
+   "Delete Table Row": "Видалити рядок з таблиці"
50
+   "Delete this table row": "Видалити цей рядок з таблиці"
51
+   "Insert Table Column": "Вставити колонку в таблицю"
52
+   "Insert a table column before the cursor": "Вставити колонку в таблицю перед курсором"
53
+   "Insert a table column after the cursor": "Вставити колонку в таблицю після курсору"
54
+   "Delete Table Column": "Видалити колонку таблиці"
55
+   "Delete this table column": "Видалити цю колонку таблиці"
56
+   "Increase Cell Columns": "Об'єднати суміжні комірки у стовпчиках на 1 комірку"
57
+   "Decrease Cell Columns": "Роз'єднати суміжні комірки у стовпчиках на 1 комірку"
58
+   "Increase Cell Rows": "Об'єднати суміжні комірки в рядках на 1 комірку"
59
+   "Decrease Cell Rows": "Роз'єднати суміжні комірки в рядках на 1 комірку"
60
+   "Horizontal Rule": "Горизонтальна лінія"
61
+   "Insert a horizontal rule": "Вставити горизонтальну лінію"
62
+   "Remove Formatting": "Очистити форматування"
63
+   "Remove formatting for the selection": "Очистити форматування вибраного"
64
+   "Edit HTML": "Редагувати HTML"
65
+   "Edit the HTML content": "Редагувати HTML-вміст"
66
+   "Edit Snippet Settings": "Редагувати налаштування сніпета"
67
+   "Remove Snippet": "Видалити сніпет"
68
+
69
+ # ### General
70
+ # Error Messages
71
+ "Mercury.Regions.%s is unsupported in this client. Supported browsers are %s.": "Mercury.Regions.%s не підтримуються в цьому клієнті. Підтримувані браузери: %s."
72
+ "Mercury.PageEditor can only be instantiated once.": "Тільки один екземпляр Mercury.PageEditor може бути запущений в один час."
73
+ "Opera isn't a fully supported browser, your results may not be optimal.": "Opera не є повністю підтримуваним браузером, Ваша робота може бути не оптимальною."
74
+ "Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Помилка завантаження Mercury.PageEditor: %s\n\nБудь ласка, спробуйте оновити сторінку."
75
+ "Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "Невідомий тип області, тип даних не був переданий, або \"%s\" невідомий для \"%s\" області."
76
+ "Mercury was unable to save to the url: %s": "Mercury не вдалося зберегти в url: %s"
77
+ "invalid": "невірне значення"
78
+ "can't be blank": "не може бути пустим"
79
+ # Confirmations
80
+ "You have unsaved changes. Are you sure you want to leave without saving them first?": "У Вас є незбережені зміни. Ви впевнені, що хочете вийти без попереднього збереження?"
81
+
82
+ # ### Toolbar / Buttons
83
+ # Error Messages
84
+ "Unknown button type \"%s\" used for the \"%s\" button.": "Невідомий тип кнопки \"%s\" використаний для \"%s\" кнопки."
85
+ "Unknown button structure -- please provide an array, object, or string for \"%s\".": "Невідома структура кпопка, будь ласка надайте масив, об'єкт або рядок для \"%s\"."
86
+
87
+ # ### Modals / Dialogs / Etc.
88
+ # Error Messages
89
+ "Mercury was unable to load %s for the \"%s\" dialog.": "Mercury не вдалося завантажити %s для \"%s\" діалогового вікна."
90
+ "Mercury was unable to load %s for the lightview.": "Mercury не вдалося завантажити %s для lightview."
91
+ "Mercury was unable to load %s for the modal.": "Mercury не вдалося завантажити %s для модального вікна."
92
+
93
+ # ### Snippets
94
+ # Error Messages
95
+ "Error loading the preview for the \"%s\" snippet.": "Помилка завантаження попереднього перегляду для \"%s\" сніпета."
96
+ # Misc
97
+ "Snippet Options": "Налаштування сніпета"
98
+
99
+ # ### Uploader
100
+ # Error Messages
101
+ "Unable to process response:% s": "Неможливо обробити відповідь: %s"
102
+ "Error: Unable to upload the file": "Помилка: неможливо завантажити файл"
103
+ "Malformed response from server": "Неправильна відповідь сервера"
104
+ "Too large": "Занадто розмір великий"
105
+ "Unsupported format": "Непідтримуваний формат"
106
+ # Statuses
107
+ "Processing ...": "Обробка ..."
108
+ "Uploading ...": "Завантаження ..."
109
+ "Aborted": "Перервано"
110
+ "Successfully uploaded ...": "Завантаження пройшло успішно ..."
111
+ "Name: %s": "Ім'я: %s"
112
+ "Size: %s": "Розмір: %s"
113
+ "Type: %s": "Тип: %s"
114
+
115
+ # Statusbar
116
+ "Path:": "Шлях:"
117
+
118
+
119
+ # ## HTML / Template Strings
120
+
121
+ # ### Modals
122
+ # Insert Link Modal (link.html)
123
+ "Link Content": "Назва посилання"
124
+ "Standard Links": "Стандартні посилання"
125
+ "URL": "URL"
126
+ "Index / Bookmark Links": "Індекс / закладки"
127
+ "Existing Links": "Існуючі посилання"
128
+ "Bookmark": "Закладка"
129
+ "Options": "Настройки"
130
+ "Link Target": "Target посилання"
131
+ "Self (the same window or tab)": "Це вікно або вкладка (self)"
132
+ "Blank (a new window or tab)": "Нове вікно або вкладка (blank)"
133
+ "Top (removes any frames)": "Видаляє всі Фрейм (top)"
134
+ "Popup Window (javascript new window popup)": "Випливаюче вікно (нове javascript popup вікно)"
135
+ "Popup Width": "Ширина випливаючого вікна"
136
+ "Popup Height": "Висота випливаючого вікна"
137
+
138
+ # Insert Media Modal (media.html)
139
+ "Images": "Зображення"
140
+ "Videos": "Відео"
141
+ "YouTube URL": "YouTube-URL"
142
+ "Vimeo URL": "Vimeo-URL"
143
+ "Alignment": "Вирівнювання"
144
+ "None": "Стандартне"
145
+ "Left": "По лівому краю"
146
+ "Right": "По правому краю"
147
+ "Top": "По верхньому краю"
148
+ "Middle": "По центру"
149
+ "Bottom": "По нижньому краю"
150
+ "Absolute Middle": "По центру, абсолютне"
151
+ "Absolute Bottom": "По нижньому краю, абсолютне"
152
+ "Width": "Ширина"
153
+ "Height": "Висота"
154
+ "Insert Media": "Вставити Медіа"
155
+
156
+ # Insert Table Modal (table.html)
157
+ "Rows": "Рядки"
158
+ "Add Before": "Вставити перед"
159
+ "Add After": "Вставити після"
160
+ "Remove": "Видалити"
161
+ "Columns": "Колонки"
162
+ "Row Span": "Об'єднання суміжних комірок в стовпці"
163
+ "Column Span": "Об'єднання суміжних комірок в рядку"
164
+ "Border": "Рамка"
165
+ "Spacing": "Відстань між комірками"
166
+
167
+ # HTML Editor Modal (htmleditor.html)
168
+ "HTML Editor": "HTML-редактор"
169
+ "Save and Replace": "Зберегти і замінити"
170
+
171
+ # ### Dialogs / Etc.
172
+ # Color Palettes (forecolor.html, backcolor.html)
173
+ "Last Color Picked": "Останній вибраний колір"
174
+
175
+ # Block Format Select (formatblock.html)
176
+ "Heading 1": "Заголовок 1"
177
+ "Heading 2": "Заголовок 2"
178
+ "Heading 3": "Заголовок 3"
179
+ "Heading 4": "Заголовок 4"
180
+ "Heading 5": "Заголовок 5"
181
+ "Heading 6": "Заголовок 6"
182
+ "Paragraph": "Абзац"
183
+ "Blockquote": "Цитата"
184
+ "Formatted": "Форматований"
185
+
186
+ # About Mercury Panel (about.html)
187
+ "Project Home": "Домашня сторінка проекту"
188
+ "Project Source": "Вихідний код проекту"
189
+
190
+ # ### Demo / Placeholder / Defaults
191
+ "The history panel is expected to be implemented with a server back end. Since this is a demo, we didn't include it.": "Панель історії сторінки повинна використовуватися на серверній стороні. Так як це демо, ми не використали цю панель."
192
+
193
+ "The notes panel is expected to be implemented with a server back end. Since this is a demo, we didn't include it.": "Панель заміток повинна використовуватися на серверній стороні. Так як це демо, ми не використали цю панель."
194
+
195
+ "Snippet Name": "Назва сніпета"
196
+ "A one or two line long description of what this snippet does.": "Один-два рядки опису того, що робить сніпет."
197
+
198
+ "First Name": "Ім'я"
199
+ "Favorite Beer": "Улюблене пиво"
200
+ "Insert Snippet": "Вставити сніпет"
@@ -0,0 +1,203 @@
1
+ Mercury.I18n['zh'] =
2
+
3
+ _CN_:
4
+ # ## Javascript Strings
5
+
6
+ # ### Default Configuration
7
+ "Save": "保存"
8
+ "Save this page": "保存本页"
9
+ "Preview": "预览"
10
+ "Preview this page": "预览本页"
11
+ "Undo": "撤销"
12
+ "Undo your last action": "撤销上一个操作"
13
+ "Redo": "重做"
14
+ "Redo your last action": "重做上一个操作"
15
+ "Link": "链接"
16
+ "Insert Link": "插入链接"
17
+ "Media": "多媒体"
18
+ "Insert Media (images and videos)": "插入多媒体(图片、视频)"
19
+ "Table": "表格"
20
+ "Insert Table": "插入表格"
21
+ "Character": "符号"
22
+ "Special Characters": "特殊符号"
23
+ "Snippet": "小片段"
24
+ "Snippet Panel": "小片段面板"
25
+ "History": "历史"
26
+ "Page Version History": "本页历史版本"
27
+ "Notes": "备忘"
28
+ "Page Notes": "本页备忘"
29
+ "Style": "样式"
30
+ "Block Format": "段落格式"
31
+ "Background Color": "背景颜色"
32
+ "Text Color": "文本颜色"
33
+ "Bold": "加粗"
34
+ "Italicize": "斜体"
35
+ "Overline": "上划线"
36
+ "Strikethrough": "删除线"
37
+ "Underline": "下划线"
38
+ "Subscript": "下标"
39
+ "Superscript": "上标"
40
+ "Align Left": "左对齐"
41
+ "Center": "居中"
42
+ "Align Right": "右对齐"
43
+ "Justify Full": "两端对齐"
44
+ "Unordered List": "无序列表"
45
+ "Numbered List": "有序列表"
46
+ "Decrease Indentation": "减小缩进"
47
+ "Increase Indentation": "增大缩进"
48
+ "Insert Table Row": "插入行"
49
+ "Insert a table row before the cursor": "在光标上方插入行"
50
+ "Insert a table row after the cursor": "在光标下方插入行"
51
+ "Delete Table Row": "删除行"
52
+ "Delete this table row": "删除本行"
53
+ "Insert Table Column": "插入列"
54
+ "Insert a table column before the cursor": "在光标左边插入列"
55
+ "Insert a table column after the cursor": "在光标右边插入列"
56
+ "Delete Table Column": "删除列"
57
+ "Delete this table column": "删除本列"
58
+ "Increase Cell Columns": "增加列数"
59
+ "Decrease Cell Columns": "减少列数"
60
+ "Increase Cell Rows": "增加行数"
61
+ "Decrease Cell Rows": "减少行数"
62
+ "Horizontal Rule": "分割线"
63
+ "Insert a horizontal rule": "插入分割线"
64
+ "Remove Formatting": "清除格式"
65
+ "Remove formatting for the selection": "清楚选中部分格式"
66
+ "Edit HTML": "编辑源代码(HTML)"
67
+ "Edit the HTML content": "编辑源代码 HTML 内容"
68
+ "Edit Snippet Settings": "编辑小片段设置"
69
+ "Remove Snippet": "删除小片段"
70
+
71
+ # ### General
72
+ # Error Messages
73
+ "Mercury.Regions.%s is unsupported in this client. Supported browsers are %s.": "您的浏览器不支持 Mercury.Regions.%s,支持的浏览器包括:%s。"
74
+ "Mercury.PageEditor can only be instantiated once.": "Mercury.PageEditor 只能被实例化一次。"
75
+ "Opera isn't a fully supported browser, your results may not be optimal.": "Mercury 编辑器不完全支持 Opera 浏览器,您显示的内容可能并不完美。"
76
+ "Mercury.PageEditor failed to load: %s\n\nPlease try refreshing.": "Mercury.PageEditor 载入失败:%s\n\n请尝试刷新一下本页。"
77
+ "Region type is malformed, no data-type provided, or \"%s\" is unknown for the \"%s\" region.": "地区不正确,没有提供数据类型,或“%s”不在“%s”区域中。"
78
+ "Mercury was unable to save to the url: %s": "Mercury 无法保存至这一 URL:%s"
79
+ "invalid": "无效"
80
+ "can't be blank": "不能为空"
81
+ # Confirmations
82
+ "You have unsaved changes. Are you sure you want to leave without saving them first?": "您还有未保存的修改,确定要放弃修改并离开吗?"
83
+
84
+ # ### Toolbar / Buttons
85
+ # Error Messages
86
+ "Unknown button type \"%s\" used for the \"%s\" button.": "未知的按钮类型“%s”被用于“%s”按钮。"
87
+ "Unknown button structure -- please provide an array, object, or string for \"%s\".": "未知的按钮结构——请给“%s”提供一个序列、对象或字符串。"
88
+
89
+ # ### Modals / Dialogs / Etc.
90
+ # Error Messages
91
+ "Mercury was unable to load %s for the \"%s\" dialog.": "Mercury 编辑器无法载入 %s 至“%s”对话框。"
92
+ "Mercury was unable to load %s for the lightview.": "Mercury 编辑器无法载入 %s 至弹出区域。"
93
+ "Mercury was unable to load %s for the modal.": "Mercury 编辑器无法载入 %s 至弹出框。"
94
+
95
+ # ### Snippets
96
+ # Error Messages
97
+ "Error loading the preview for the \"%s\" snippet.": "载入“%s”小片段预览时出错。"
98
+ # Misc
99
+ "Snippet Options": "小片段选项"
100
+
101
+ # ### Uploader
102
+ # Error Messages
103
+ "Unable to process response: %s": "无法处理相应:%s"
104
+ "Error: Unable to upload the file": "错误:无法上传文件"
105
+ "Malformed response from server": "服务器响应格式有误"
106
+ "Too large": "上传文件过大"
107
+ "Unsupported format": "格式不受支持"
108
+ # Statuses
109
+ "Processing...": "处理中……"
110
+ "Uploading...": "上传中……"
111
+ "Aborted": "已中止"
112
+ "Successfully uploaded...": "上传成功……"
113
+ "Name: %s": "文件名:%s"
114
+ "Size: %s": "文件大小:%s"
115
+ "Type: %s": "文件类型:%s"
116
+
117
+ # Statusbar
118
+ "Path:": "路径:"
119
+
120
+
121
+ # ## HTML / Template Strings
122
+
123
+ # ### Modals
124
+ # Insert Link Modal (link.html)
125
+ "Link Content": "链接显示内容"
126
+ "Standard Links": "普通链接"
127
+ "URL": "网址"
128
+ "Index / Bookmark Links": "索引、书签链接"
129
+ "Existing Links": "已有链接"
130
+ "Bookmark": "书签"
131
+ "Options": "选项"
132
+ "Link Target": "链接目标窗口"
133
+ "Self (the same window or tab)": "本窗口中打开"
134
+ "Blank (a new window or tab)": "新窗口(或标签)中打开"
135
+ "Top (removes any frames)": "外层窗口中打开(去除帧框)"
136
+ "Popup Window (javascript new window popup)": "弹出窗口"
137
+ "Popup Width": "弹出窗口宽度"
138
+ "Popup Height": "弹出窗口高度"
139
+
140
+ # Insert Media Modal (media.html)
141
+ "Images": "图片"
142
+ "Videos": "视频"
143
+ "YouTube URL": "YouTube 分享链接"
144
+ "Vimeo URL": "Vimeo 分享链接"
145
+ "Alignment": "对齐方式"
146
+ "None": "默认"
147
+ "Left": "左对齐"
148
+ "Right": "右对齐"
149
+ "Top": "顶对齐"
150
+ "Middle": "中对齐"
151
+ "Bottom": "底对齐"
152
+ "Absolute Middle": "绝对中对齐"
153
+ "Absolute Bottom": "绝对底对齐"
154
+ "Width": "宽度"
155
+ "Height": "高度"
156
+ "Insert Media": "插入多媒体"
157
+
158
+ # Insert Table Modal (table.html)
159
+ "Rows": "行"
160
+ "Add Before": "前方插入"
161
+ "Add After": "后方插入"
162
+ "Remove": "删除"
163
+ "Columns": "列"
164
+ "Row Span": "行跨度"
165
+ "Column Span": "列跨度"
166
+ "Border": "边框线宽度"
167
+ "Spacing": "单元格间距"
168
+
169
+ # HTML Editor Modal (htmleditor.html)
170
+ "HTML Editor": "HTML 编辑器"
171
+ "Save and Replace": "保存并替换"
172
+
173
+ # ### Dialogs / Etc.
174
+ # Color Palettes (forecolor.html, backcolor.html)
175
+ "Last Color Picked": "上次选中的颜色"
176
+
177
+ # Block Format Select (formatblock.html)
178
+ "Heading 1": "标题 1"
179
+ "Heading 2": "标题 2"
180
+ "Heading 3": "标题 3"
181
+ "Heading 4": "标题 4"
182
+ "Heading 5": "标题 5"
183
+ "Heading 6": "标题 6"
184
+ "Paragraph": "段落"
185
+ "Blockquote": "大段引用"
186
+ "Formatted": "预格式化"
187
+
188
+ # About Mercury Panel (about.html)
189
+ "Project Home": "项目主页"
190
+ "Project Source": "项目源代码"
191
+
192
+ # ### Demo / Placeholder / Defaults
193
+ "The history panel is expected to be implemented with a server back end. Since this is a demo, we didn't include it.": "本历史面板需要与服务器后端共同实现。因为这是一个演示,所以我们没有加入这一功能。"
194
+
195
+ "The notes panel is expected to be implemented with a server back end. Since this is a demo, we didn't include it.": "本备忘面板需要与服务器后端共同实现。因为这是一个演示,所以我们没有加入这一功能。"
196
+
197
+ "Snippet Name": "小片段名称"
198
+ "A one or two line long description of what this snippet does.": "用一两行描述一下这个小片段的功能"
199
+
200
+ "First Name": "名字"
201
+ "Favorite Beer": "最喜欢的啤酒"
202
+ "Insert Snippet": "插入小片段"
203
+