locomotivecms 3.0.0.pre.alpha.3 → 3.0.0.pre.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (361) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +15 -8
  3. data/app/api/locomotive/api.rb +1 -0
  4. data/app/api/locomotive/api/entities/content_entry_entity.rb +1 -0
  5. data/app/api/locomotive/api/entities/content_type_entity.rb +2 -1
  6. data/app/api/locomotive/api/entities/site_entity.rb +4 -0
  7. data/app/api/locomotive/api/entities/theme_asset_entity.rb +3 -3
  8. data/app/api/locomotive/api/forms/base_form.rb +0 -6
  9. data/app/api/locomotive/api/forms/content_type_field_form.rb +6 -10
  10. data/app/api/locomotive/api/forms/content_type_form.rb +26 -4
  11. data/app/api/locomotive/api/middlewares/params_decoder_middleware.rb +91 -0
  12. data/app/api/locomotive/api/resources/content_type_resource.rb +7 -2
  13. data/app/api/locomotive/api/resources/current_site_resource.rb +10 -2
  14. data/app/assets/images/locomotive/favicon.png +0 -0
  15. data/app/assets/javascripts/locomotive/not_logged_in.js.coffee +11 -1
  16. data/app/assets/javascripts/locomotive/views/application_view.js.coffee +0 -76
  17. data/app/assets/javascripts/locomotive/views/content_assets/edit_image_view.js.coffee +3 -1
  18. data/app/assets/javascripts/locomotive/views/dashboard/show_view.js.coffee +33 -1
  19. data/app/assets/javascripts/locomotive/views/developers_documentation/show_view.js.coffee +9 -0
  20. data/app/assets/javascripts/locomotive/views/editable_elements/edit_view.js.coffee +3 -1
  21. data/app/assets/javascripts/locomotive/views/editable_elements/index_view.js.coffee +11 -11
  22. data/app/assets/javascripts/locomotive/views/inputs/text_view.js.coffee +16 -0
  23. data/app/assets/javascripts/locomotive/views/pages/_form_view.js.coffee +0 -158
  24. data/app/assets/javascripts/locomotive/views/pages/edit_view.js.coffee +0 -41
  25. data/app/assets/javascripts/locomotive/views/public_submission_accounts/edit_view.js.coffee +7 -0
  26. data/app/assets/javascripts/locomotive/views/shared/form_view.js.coffee +11 -3
  27. data/app/assets/javascripts/locomotive/views/shared/list_view.js.coffee +4 -2
  28. data/app/assets/javascripts/locomotive/views/translations/index_view.js.coffee +5 -0
  29. data/app/assets/stylesheets/locomotive/application.scss +4 -0
  30. data/app/assets/stylesheets/locomotive/base/_fonts.scss +5 -5
  31. data/app/assets/stylesheets/locomotive/base/form/_base.scss +9 -1
  32. data/app/assets/stylesheets/locomotive/components/_activity_feed.scss +66 -0
  33. data/app/assets/stylesheets/locomotive/components/_content_assets.scss +27 -8
  34. data/app/assets/stylesheets/locomotive/components/_developers.scss +34 -0
  35. data/app/assets/stylesheets/locomotive/components/_error.scss +37 -0
  36. data/app/assets/stylesheets/locomotive/components/_list.scss +6 -0
  37. data/app/assets/stylesheets/locomotive/components/_main.scss +4 -0
  38. data/app/assets/stylesheets/locomotive/components/_misc.scss +1 -0
  39. data/app/assets/stylesheets/locomotive/components/_translations.scss +13 -0
  40. data/app/assets/stylesheets/locomotive/components/header/_base.scss +7 -2
  41. data/app/assets/stylesheets/locomotive/components/misc/_modal.scss +13 -0
  42. data/app/assets/stylesheets/locomotive/components/misc/_notify.scss +2 -2
  43. data/app/assets/stylesheets/locomotive/components/not_logged_in/_sign_in_and_up.scss +11 -1
  44. data/app/assets/stylesheets/locomotive/components/sidebar/_pages_tree.scss +2 -2
  45. data/app/assets/stylesheets/locomotive/error.scss +12 -0
  46. data/app/assets/stylesheets/locomotive/globals/_bootstrap.scss +1 -1
  47. data/app/assets/stylesheets/locomotive/globals/_mixins.scss +8 -4
  48. data/app/assets/stylesheets/locomotive/globals/_variables.scss +2 -0
  49. data/app/assets/stylesheets/locomotive/not_logged_in.scss +4 -0
  50. data/app/controllers/locomotive/accounts_controller.rb +6 -1
  51. data/app/controllers/locomotive/base_controller.rb +1 -1
  52. data/app/controllers/locomotive/concerns/exception_controller.rb +2 -1
  53. data/app/controllers/locomotive/concerns/site_dispatcher_controller.rb +2 -1
  54. data/app/controllers/locomotive/content_assets_controller.rb +2 -2
  55. data/app/controllers/locomotive/content_entries_controller.rb +2 -2
  56. data/app/controllers/locomotive/current_site_controller.rb +5 -1
  57. data/app/controllers/locomotive/custom_fields/select_options_controller.rb +1 -1
  58. data/app/controllers/locomotive/dashboard_controller.rb +2 -0
  59. data/app/controllers/locomotive/developers_documentation_controller.rb +11 -0
  60. data/app/controllers/locomotive/editable_elements_controller.rb +11 -10
  61. data/app/controllers/locomotive/errors_controller.rb +15 -0
  62. data/app/controllers/locomotive/pages_controller.rb +3 -3
  63. data/app/controllers/locomotive/public_submission_accounts_controller.rb +42 -0
  64. data/app/controllers/locomotive/translations_controller.rb +9 -23
  65. data/app/helpers/locomotive/base_helper.rb +25 -23
  66. data/app/helpers/locomotive/content_assets_helper.rb +8 -0
  67. data/app/helpers/locomotive/content_entries_helper.rb +13 -19
  68. data/app/helpers/locomotive/content_types_helper.rb +9 -12
  69. data/app/helpers/locomotive/custom_fields_helper.rb +1 -0
  70. data/app/helpers/locomotive/dashboard_helper.rb +91 -0
  71. data/app/helpers/locomotive/developers_documentation_helper.rb +32 -0
  72. data/app/helpers/locomotive/editable_elements_helper.rb +25 -14
  73. data/app/helpers/locomotive/errors_helper.rb +21 -0
  74. data/app/helpers/locomotive/my_account_helper.rb +10 -8
  75. data/app/helpers/locomotive/pages_helper.rb +1 -1
  76. data/app/helpers/locomotive/public_submission_accounts_helper.rb +11 -0
  77. data/app/helpers/locomotive/shared/accounts_helper.rb +2 -2
  78. data/app/helpers/locomotive/sites_helper.rb +15 -11
  79. data/app/helpers/locomotive/translations_helper.rb +21 -13
  80. data/app/inputs/locomotive/api_key_input.rb +2 -0
  81. data/app/inputs/locomotive/array_input.rb +8 -3
  82. data/app/inputs/locomotive/code_input.rb +1 -47
  83. data/app/inputs/locomotive/document_picker_input.rb +1 -0
  84. data/app/inputs/locomotive/rte_input.rb +2 -0
  85. data/app/inputs/locomotive/toggle_input.rb +2 -0
  86. data/app/models/locomotive/activity.rb +32 -0
  87. data/app/models/locomotive/concerns/content_entry/localized.rb +12 -1
  88. data/app/models/locomotive/concerns/content_type/entry_template.rb +52 -0
  89. data/app/models/locomotive/concerns/page/editable_elements.rb +0 -111
  90. data/app/models/locomotive/concerns/page/layout.rb +21 -6
  91. data/app/models/locomotive/concerns/site/access_points.rb +24 -3
  92. data/app/models/locomotive/concerns/site/locales.rb +7 -27
  93. data/app/models/locomotive/content_asset.rb +0 -4
  94. data/app/models/locomotive/content_entry.rb +10 -8
  95. data/app/models/locomotive/content_type.rb +12 -1
  96. data/app/models/locomotive/editable_element.rb +11 -106
  97. data/app/models/locomotive/editable_file.rb +6 -53
  98. data/app/models/locomotive/editable_model.rb +13 -0
  99. data/app/models/locomotive/editable_text.rb +0 -51
  100. data/app/models/locomotive/page.rb +31 -17
  101. data/app/models/locomotive/site.rb +12 -13
  102. data/app/models/locomotive/theme_asset.rb +0 -4
  103. data/app/models/locomotive/translation.rb +50 -35
  104. data/app/policies/locomotive/content_type_policy.rb +4 -0
  105. data/app/policies/locomotive/site_policy.rb +4 -0
  106. data/app/services/locomotive/concerns/activity_service.rb +27 -0
  107. data/app/services/locomotive/content_asset_service.rb +16 -2
  108. data/app/services/locomotive/content_entry_service.rb +77 -8
  109. data/app/services/locomotive/content_type_service.rb +6 -2
  110. data/app/services/locomotive/editable_element_service.rb +11 -4
  111. data/app/services/locomotive/membership_service.rb +20 -4
  112. data/app/services/locomotive/page_parsing_service.rb +94 -23
  113. data/app/services/locomotive/page_service.rb +61 -3
  114. data/app/services/locomotive/site_service.rb +43 -1
  115. data/app/services/locomotive/translation_service.rb +51 -0
  116. data/app/uploaders/locomotive/picture_uploader.rb +5 -1
  117. data/app/views/locomotive/accounts/{new.html.haml → new.html.slim} +0 -0
  118. data/app/views/locomotive/content_assets/{_dropzone.html.haml → _dropzone.html.slim} +4 -3
  119. data/app/views/locomotive/content_assets/{_list.html.haml → _list.html.slim} +11 -9
  120. data/app/views/locomotive/content_assets/{_nav.html.haml → _nav.html.slim} +5 -5
  121. data/app/views/locomotive/content_assets/{_search_form.html.haml → _search_form.html.slim} +1 -1
  122. data/app/views/locomotive/content_assets/edit_in_drawer.html.slim +27 -0
  123. data/app/views/locomotive/content_assets/{index.html.haml → index.html.slim} +4 -4
  124. data/app/views/locomotive/content_assets/{index_in_drawer.html.haml → index_in_drawer.html.slim} +1 -1
  125. data/app/views/locomotive/content_entries/{_entry.html.haml → _entry.html.slim} +3 -3
  126. data/app/views/locomotive/content_entries/{_list.html.haml → _list.html.slim} +9 -8
  127. data/app/views/locomotive/content_entries/{edit.html.haml → edit.html.slim} +5 -0
  128. data/app/views/locomotive/content_entries/form/{_actions.html.haml → _actions.html.slim} +0 -0
  129. data/app/views/locomotive/content_entries/form/{_advanced.html.haml → _advanced.html.slim} +0 -0
  130. data/app/views/locomotive/content_entries/form/{_main.html.haml → _main.html.slim} +0 -0
  131. data/app/views/locomotive/content_entries/form/{_panes.html.haml → _panes.html.slim} +0 -0
  132. data/app/views/locomotive/content_entries/form/{_seo.html.haml → _seo.html.slim} +0 -0
  133. data/app/views/locomotive/content_entries/form/_tabs.html.slim +13 -0
  134. data/app/views/locomotive/content_entries/{index.html.haml → index.html.slim} +22 -9
  135. data/app/views/locomotive/content_entries/{new.html.haml → new.html.slim} +0 -0
  136. data/app/views/locomotive/current_site/{_domain.html.haml → _domain.html.slim} +3 -3
  137. data/app/views/locomotive/current_site/{_locale.html.haml → _locale.html.slim} +4 -4
  138. data/app/views/locomotive/current_site/{_membership.html.haml → _membership.html.slim} +7 -6
  139. data/app/views/locomotive/current_site/{edit.html.haml → edit.html.slim} +1 -1
  140. data/app/views/locomotive/current_site/form/{_access_points.html.haml → _access_points.html.slim} +1 -0
  141. data/app/views/locomotive/current_site/form/{_advanced.html.haml → _advanced.html.slim} +0 -0
  142. data/app/views/locomotive/current_site/form/{_main.html.haml → _main.html.slim} +0 -0
  143. data/app/views/locomotive/current_site/form/{_panes.html.haml → _panes.html.slim} +0 -0
  144. data/app/views/locomotive/current_site/form/{_seo.html.haml → _seo.html.slim} +0 -0
  145. data/app/views/locomotive/current_site/form/_tabs.html.slim +14 -0
  146. data/app/views/locomotive/custom_fields/select_options/{_option.html.haml → _option.html.slim} +7 -7
  147. data/app/views/locomotive/custom_fields/select_options/{edit.html.haml → edit.html.slim} +0 -0
  148. data/app/views/locomotive/dashboard/show.html.slim +28 -0
  149. data/app/views/locomotive/developers_documentation/_api.html.slim +44 -0
  150. data/app/views/locomotive/developers_documentation/_wagon.html.slim +42 -0
  151. data/app/views/locomotive/developers_documentation/show.html.slim +11 -0
  152. data/app/views/locomotive/devise_mailer/reset_password_instructions.html.slim +12 -0
  153. data/app/views/locomotive/editable_elements/_edit.html.slim +52 -0
  154. data/app/views/locomotive/editable_elements/{_form.html.haml → _form.html.slim} +12 -3
  155. data/app/views/locomotive/editable_elements/index.html.slim +8 -0
  156. data/app/views/locomotive/editable_elements/{index_without_preview.html.haml → index_without_preview.html.slim} +5 -4
  157. data/app/views/locomotive/errors/404.html.slim +2 -0
  158. data/app/views/locomotive/errors/500.html.slim +2 -0
  159. data/app/views/locomotive/errors/no_site.html.slim +7 -0
  160. data/app/views/locomotive/layouts/application.html.slim +42 -0
  161. data/app/views/locomotive/layouts/error.html.slim +24 -0
  162. data/app/views/locomotive/layouts/{live_editing.html.haml → live_editing.html.slim} +10 -10
  163. data/app/views/locomotive/layouts/not_logged_in.html.slim +26 -0
  164. data/app/views/locomotive/layouts/{without_site.html.haml → without_site.html.slim} +9 -6
  165. data/app/views/locomotive/memberships/{edit.html.haml → edit.html.slim} +0 -0
  166. data/app/views/locomotive/memberships/{new.html.haml → new.html.slim} +0 -0
  167. data/app/views/locomotive/my_account/{edit.html.haml → edit.html.slim} +1 -1
  168. data/app/views/locomotive/my_account/form/{_actions.html.haml → _actions.html.slim} +0 -0
  169. data/app/views/locomotive/my_account/form/{_api.html.haml → _api.html.slim} +0 -1
  170. data/app/views/locomotive/my_account/form/{_credentials.html.haml → _credentials.html.slim} +0 -0
  171. data/app/views/locomotive/my_account/form/{_main.html.haml → _main.html.slim} +0 -0
  172. data/app/views/locomotive/my_account/form/{_panes.html.haml → _panes.html.slim} +1 -1
  173. data/app/views/locomotive/my_account/form/_tabs.html.slim +7 -0
  174. data/app/views/locomotive/notifications/{new_content_entry.html.haml → new_content_entry.html.slim} +11 -11
  175. data/app/views/locomotive/pages/{edit.html.haml → edit.html.slim} +0 -0
  176. data/app/views/locomotive/pages/form/{_actions.html.haml → _actions.html.slim} +0 -0
  177. data/app/views/locomotive/pages/form/{_main.html.haml → _main.html.slim} +0 -0
  178. data/app/views/locomotive/pages/form/{_panes.html.haml → _panes.html.slim} +0 -0
  179. data/app/views/locomotive/pages/form/{_seo.html.haml → _seo.html.slim} +0 -0
  180. data/app/views/locomotive/pages/form/{_tabs.html.haml → _tabs.html.slim} +1 -1
  181. data/app/views/locomotive/pages/{new.html.haml → new.html.slim} +0 -0
  182. data/app/views/locomotive/pages/show.html.slim +2 -0
  183. data/app/views/locomotive/passwords/{edit.html.haml → edit.html.slim} +6 -6
  184. data/app/views/locomotive/passwords/{new.html.haml → new.html.slim} +6 -6
  185. data/app/views/locomotive/public_submission_accounts/_account.html.slim +19 -0
  186. data/app/views/locomotive/public_submission_accounts/edit.html.slim +16 -0
  187. data/app/views/locomotive/registrations/{new.html.haml → new.html.slim} +2 -4
  188. data/app/views/locomotive/sessions/{new.html.haml → new.html.slim} +2 -4
  189. data/app/views/locomotive/shared/_footer.html.slim +2 -0
  190. data/app/views/locomotive/shared/{_form_actions.html.haml → _form_actions.html.slim} +4 -4
  191. data/app/views/locomotive/shared/_head.html.slim +39 -0
  192. data/app/views/locomotive/shared/{_header.html.haml → _header.html.slim} +10 -10
  193. data/app/views/locomotive/shared/_locale_picker_link.html.slim +11 -0
  194. data/app/views/locomotive/shared/{_main_app_head.html.haml → _main_app_head.html.slim} +0 -0
  195. data/app/views/locomotive/shared/{_main_app_head_before_backbone.html.haml → _main_app_head_before_backbone.html.slim} +0 -0
  196. data/app/views/locomotive/shared/{_main_app_header.html.haml → _main_app_header.html.slim} +0 -0
  197. data/app/views/locomotive/shared/{_sidebar.html.haml → _sidebar.html.slim} +6 -0
  198. data/app/views/locomotive/shared/{_sidebar_without_site.html.haml → _sidebar_without_site.html.slim} +0 -0
  199. data/app/views/locomotive/shared/actions/{_contents.html.haml → _contents.html.slim} +1 -1
  200. data/app/views/locomotive/shared/header/{_account.html.haml → _account.html.slim} +1 -1
  201. data/app/views/locomotive/shared/header/_account_menu.html.slim +5 -0
  202. data/app/views/locomotive/shared/header/_brand.html.slim +5 -0
  203. data/app/views/locomotive/shared/header/{_site.html.haml → _site.html.slim} +2 -2
  204. data/app/views/locomotive/shared/rte/{_image_popover.html.haml → _image_popover.html.slim} +5 -5
  205. data/app/views/locomotive/shared/rte/{_link_popover.html.haml → _link_popover.html.slim} +5 -5
  206. data/app/views/locomotive/shared/rte/_toolbar.html.slim +62 -0
  207. data/app/views/locomotive/shared/sidebar/_content_types.html.slim +16 -0
  208. data/app/views/locomotive/shared/sidebar/_link.html.slim +10 -0
  209. data/app/views/locomotive/shared/sidebar/{_my_account.html.haml → _my_account.html.slim} +2 -2
  210. data/app/views/locomotive/shared/sidebar/_page.html.slim +33 -0
  211. data/app/views/locomotive/shared/sidebar/_pages.html.slim +11 -0
  212. data/app/views/locomotive/sites/{_site.html.haml → _site.html.slim} +3 -3
  213. data/app/views/locomotive/sites/{index.html.haml → index.html.slim} +3 -3
  214. data/app/views/locomotive/sites/{new.html.haml → new.html.slim} +0 -0
  215. data/app/views/locomotive/translations/_form.html.slim +9 -0
  216. data/app/views/locomotive/translations/edit.html.slim +7 -0
  217. data/app/views/locomotive/translations/index.html.slim +41 -0
  218. data/config/initializers/slim.rb +1 -0
  219. data/config/initializers/time_format.rb +15 -0
  220. data/config/locales/admin_ui.en.yml +65 -49
  221. data/config/locales/default.en.yml +3 -0
  222. data/config/locales/default.fr.yml +4 -1
  223. data/config/locales/simple_form.en.yml +14 -8
  224. data/config/routes.rb +6 -0
  225. data/features/support/env.rb +1 -1
  226. data/lib/generators/locomotive/install/install_generator.rb +48 -0
  227. data/lib/generators/locomotive/install/templates/heroku.rb +29 -0
  228. data/lib/generators/locomotive/install/templates/locomotive.rb +5 -2
  229. data/lib/generators/locomotive/install/templates/mongoid.yml +1 -1
  230. data/lib/generators/locomotive/install/templates/mongoid_heroku.yml +78 -0
  231. data/lib/locomotive.rb +0 -1
  232. data/lib/locomotive/configuration.rb +2 -6
  233. data/lib/locomotive/dependencies.rb +1 -2
  234. data/lib/locomotive/dragonfly.rb +4 -5
  235. data/lib/locomotive/engine.rb +10 -13
  236. data/lib/locomotive/middlewares.rb +0 -1
  237. data/lib/locomotive/middlewares/custom_public_exceptions.rb +19 -0
  238. data/lib/locomotive/middlewares/site.rb +49 -16
  239. data/lib/locomotive/simple_form.rb +67 -26
  240. data/lib/locomotive/steam/middlewares/missing_translations.rb +48 -0
  241. data/lib/locomotive/steam/middlewares/page_editing.rb +48 -0
  242. data/lib/locomotive/steam/services/api_entry_submission_service.rb +38 -0
  243. data/lib/locomotive/steam_adaptor.rb +25 -6
  244. data/lib/locomotive/version.rb +1 -1
  245. data/lib/tasks/locomotive.rake +27 -47
  246. data/spec/dummy/app/views/foo/index.html.slim +1 -0
  247. data/spec/dummy/app/views/locomotive/shared/{_main_app_head.html.haml → _main_app_head.html.slim} +0 -0
  248. data/spec/dummy/config.ru +4 -0
  249. data/spec/dummy/config/application.rb +4 -0
  250. data/spec/dummy/config/environments/profile.rb +48 -0
  251. data/spec/dummy/config/mongoid.yml +6 -6
  252. data/spec/lib/locomotive/steam/services/api_entry_submission_service_spec.rb +39 -0
  253. data/spec/models/locomotive/concerns/content_type/entry_template_spec.rb +55 -0
  254. data/spec/models/locomotive/concerns/page/layout_spec.rb +2 -2
  255. data/spec/models/locomotive/concerns/site/access_points_spec.rb +87 -2
  256. data/spec/models/locomotive/concerns/site/locales_spec.rb +2 -3
  257. data/spec/models/locomotive/content_entry_spec.rb +22 -37
  258. data/spec/models/locomotive/page_spec.rb +11 -0
  259. data/spec/models/locomotive/site_spec.rb +0 -36
  260. data/spec/requests/site_spec.rb +28 -0
  261. data/spec/support/capybara.rb +27 -0
  262. data/spec/support/factories.rb +9 -0
  263. data/spec/support/features/session_helpers.rb +21 -0
  264. data/spec/support/locomotive.rb +0 -4
  265. data/spec/support/matchers.rb +0 -25
  266. data/vendor/assets/javascripts/locomotive/highlight.pack.js +1 -0
  267. data/vendor/assets/stylesheets/locomotive/highlightjs/default.css +155 -0
  268. data/vendor/assets/stylesheets/locomotive/highlightjs/github.css +123 -0
  269. metadata +179 -195
  270. data/app/assets/images/locomotive/background/body.png +0 -0
  271. data/app/assets/images/locomotive/form/error-arrow.png +0 -0
  272. data/app/assets/images/locomotive/form/input-sep.png +0 -0
  273. data/app/assets/images/locomotive/icons/start.png +0 -0
  274. data/app/assets/images/locomotive/list/empty.png +0 -0
  275. data/app/assets/images/locomotive/list/item-left.png +0 -0
  276. data/app/assets/images/locomotive/nocoffee.png +0 -0
  277. data/app/assets/images/locomotive/plugins/sites_picker_top_arrow.png +0 -0
  278. data/app/assets/images/locomotive/rails.png +0 -0
  279. data/app/assets/javascripts/locomotive/views/pages/index_view.js.coffee +0 -11
  280. data/app/cells/locomotive/content_locale_picker/show.html.haml +0 -7
  281. data/app/cells/locomotive/content_locale_picker_cell.rb +0 -21
  282. data/app/helpers/locomotive/installation_helper.rb +0 -9
  283. data/app/inputs/locomotive/locale_input.rb +0 -41
  284. data/app/inputs/locomotive/small_code_input.rb +0 -23
  285. data/app/models/locomotive/concerns/content_entry/notifications.rb +0 -33
  286. data/app/models/locomotive/concerns/content_type/item_template.rb +0 -49
  287. data/app/models/locomotive/concerns/page/parse.rb +0 -133
  288. data/app/presenters/locomotive/account_presenter.rb +0 -20
  289. data/app/presenters/locomotive/base_presenter.rb +0 -144
  290. data/app/presenters/locomotive/content_asset_presenter.rb +0 -51
  291. data/app/presenters/locomotive/content_entry_presenter.rb +0 -177
  292. data/app/presenters/locomotive/content_field_presenter.rb +0 -76
  293. data/app/presenters/locomotive/content_type_presenter.rb +0 -82
  294. data/app/presenters/locomotive/editable_control_presenter.rb +0 -19
  295. data/app/presenters/locomotive/editable_element_presenter.rb +0 -46
  296. data/app/presenters/locomotive/editable_file_presenter.rb +0 -36
  297. data/app/presenters/locomotive/editable_text_presenter.rb +0 -40
  298. data/app/presenters/locomotive/membership_presenter.rb +0 -35
  299. data/app/presenters/locomotive/page_presenter.rb +0 -81
  300. data/app/presenters/locomotive/site_presenter.rb +0 -40
  301. data/app/presenters/locomotive/snippet_presenter.rb +0 -22
  302. data/app/presenters/locomotive/theme_asset_presenter.rb +0 -61
  303. data/app/presenters/locomotive/translation_presenter.rb +0 -9
  304. data/app/views/locomotive/content_assets/edit_in_drawer.html.haml +0 -26
  305. data/app/views/locomotive/content_entries/form/_tabs.html.haml +0 -9
  306. data/app/views/locomotive/current_site/form/_tabs.html.haml +0 -14
  307. data/app/views/locomotive/dashboard/show.html.haml +0 -0
  308. data/app/views/locomotive/devise_mailer/reset_password_instructions.html.haml +0 -12
  309. data/app/views/locomotive/editable_elements/_edit.html.haml +0 -49
  310. data/app/views/locomotive/editable_elements/_edit_with_content_entry.html.haml +0 -21
  311. data/app/views/locomotive/editable_elements/index.html.haml +0 -8
  312. data/app/views/locomotive/errors/404.html.haml +0 -7
  313. data/app/views/locomotive/errors/500.html.haml +0 -7
  314. data/app/views/locomotive/errors/no_page.html.haml +0 -1
  315. data/app/views/locomotive/errors/no_site.html.haml +0 -1
  316. data/app/views/locomotive/layouts/application.html.haml +0 -42
  317. data/app/views/locomotive/layouts/error.html.haml +0 -1
  318. data/app/views/locomotive/layouts/not_logged_in.html.haml +0 -18
  319. data/app/views/locomotive/my_account/form/_tabs.html.haml +0 -7
  320. data/app/views/locomotive/pages/_editable_elements.html.haml +0 -64
  321. data/app/views/locomotive/pages/index.html.haml +0 -22
  322. data/app/views/locomotive/pages/show.html.haml +0 -2
  323. data/app/views/locomotive/shared/_footer.html.haml +0 -2
  324. data/app/views/locomotive/shared/_head.html.haml +0 -40
  325. data/app/views/locomotive/shared/_locale_picker_link.html.haml +0 -6
  326. data/app/views/locomotive/shared/header/_account_menu.html.haml +0 -5
  327. data/app/views/locomotive/shared/header/_brand.html.haml +0 -4
  328. data/app/views/locomotive/shared/rte/_toolbar.html.haml +0 -62
  329. data/app/views/locomotive/shared/sidebar/_content_types.html.haml +0 -15
  330. data/app/views/locomotive/shared/sidebar/_link.html.haml +0 -10
  331. data/app/views/locomotive/shared/sidebar/_page.html.haml +0 -33
  332. data/app/views/locomotive/shared/sidebar/_pages.html.haml +0 -11
  333. data/app/views/locomotive/translations/_form.html.haml +0 -12
  334. data/app/views/locomotive/translations/edit.html.haml +0 -15
  335. data/app/views/locomotive/translations/index.html.haml +0 -30
  336. data/app/views/locomotive/translations/new.html.haml +0 -12
  337. data/config/initializers/haml.rb +0 -2
  338. data/config/initializers/locomotive_loaded_first.rb +0 -19
  339. data/config/locales/formtastic.bg.yml +0 -113
  340. data/config/locales/formtastic.cs.yml +0 -125
  341. data/config/locales/formtastic.de.yml +0 -106
  342. data/config/locales/formtastic.es.yml +0 -84
  343. data/config/locales/formtastic.et.yml +0 -103
  344. data/config/locales/formtastic.fr.yml +0 -109
  345. data/config/locales/formtastic.it.yml +0 -99
  346. data/config/locales/formtastic.ja.yml +0 -103
  347. data/config/locales/formtastic.nb.yml +0 -103
  348. data/config/locales/formtastic.nl.yml +0 -85
  349. data/config/locales/formtastic.pl.yml +0 -105
  350. data/config/locales/formtastic.pt-BR.yml +0 -70
  351. data/config/locales/formtastic.pt.yml +0 -70
  352. data/config/locales/formtastic.ru.yml +0 -106
  353. data/config/locales/formtastic.sk.yml +0 -125
  354. data/config/locales/formtastic.sr.yml +0 -112
  355. data/config/locales/formtastic.zh-CN.yml +0 -112
  356. data/lib/locomotive/haml.rb +0 -1
  357. data/lib/locomotive/middlewares/page_editing.rb +0 -41
  358. data/spec/dummy/app/views/foo/index.html.haml +0 -1
  359. data/spec/dummy/config/initializers/haml.rb +0 -2
  360. data/spec/support/asset_host_stubs.rb +0 -17
  361. data/spec/support/controller.rb +0 -32
@@ -1,15 +0,0 @@
1
- - title t('.title', key: @translation.key )
2
-
3
- - content_for :submenu do
4
- = render_cell 'locomotive/settings_menu', :show
5
-
6
- - content_for :buttons do
7
- = local_action_button t('locomotive.translations.index.new'), new_translation_path, icon: 'icon-plus'
8
-
9
- %p!= t('.help', key: @translation.key)
10
-
11
- = semantic_form_for @translation, html: { class: 'save-with-shortcut' } do |form|
12
-
13
- = render 'form', f: form
14
-
15
- = render 'locomotive/shared/form_actions', back_url: translations_path, button_label: :update
@@ -1,30 +0,0 @@
1
- - title t('.title')
2
-
3
- - content_for :submenu do
4
- = render_cell 'locomotive/settings_menu', :show
5
-
6
- - if can? :create, Locomotive::Translation
7
- - content_for :buttons do
8
- = local_action_button t('.new'), new_translation_path, icon: 'icon-plus' if can?(:create, Locomotive::Translation)
9
-
10
- - if @translations.empty?
11
- %p.no-items!= t('.no_items', url: new_translation_path)
12
- - else
13
- %ul.list
14
- - @translations.each do |translation|
15
- %li.item
16
-
17
- %strong
18
- = link_to "#{translation.key}", edit_translation_path(translation)
19
-
20
- %em= truncate translation.values[I18n.locale.to_s], length: 100
21
-
22
- - untranslated_locales(current_site, translation)
23
-
24
- .more
25
- %span!= t('.updated_at')
26
- = l translation.updated_at, format: :short
27
-
28
- = link_to_icon :trash, translation_path(translation), title: t('.remove', key: translation.key, default: ''), class: 'remove', data: { confirm: t('locomotive.messages.confirm') }, method: :delete
29
-
30
- = paginate @translations, namespace: 'locomotive'
@@ -1,12 +0,0 @@
1
- - title t('.title')
2
-
3
- - content_for :submenu do
4
- = render_cell 'locomotive/settings_menu', :show
5
-
6
- %p!= t('.help')
7
-
8
- = semantic_form_for @translation do |form|
9
-
10
- = render 'form', f: form
11
-
12
- = render 'locomotive/shared/form_actions', back_url: translations_path, button_label: :create
@@ -1,2 +0,0 @@
1
- Haml::Template.options[:format] = :html5
2
- Haml::Template.options[:ugly] = true # improve performance in dev
@@ -1,19 +0,0 @@
1
- require 'active_support/dependencies'
2
-
3
- module ActiveSupport::Dependencies
4
-
5
- # alias_method :require_or_load_without_multiple, :require_or_load
6
- #
7
- # def require_or_load(file_name, const_path = nil)
8
- # if file_name.starts_with?(Rails.root.to_s + '/app')
9
- # relative_name = file_name.gsub(/^#{Rails.root.to_s}/, '')
10
- # @engine_paths ||= ::Rails::Engine.engines.collect { |engine| engine.config.root.to_s }
11
- # @engine_paths.each do |path|
12
- # engine_file = File.join(path, relative_name)
13
- # require_or_load_without_multiple(engine_file, const_path) if File.file?(engine_file)
14
- # end
15
- # end
16
- # require_or_load_without_multiple(file_name, const_path)
17
- # end
18
-
19
- end
@@ -1,113 +0,0 @@
1
- en:
2
- formtastic:
3
- titles:
4
- information: Обща информация
5
- advanced_options: Разширени опции
6
- meta: SEO Метаданни
7
- seo: SEO настройки
8
- robots_txt: Robots.txt файл
9
- code: Код
10
- raw_template: Шаблон
11
- credentials: Лична информация
12
- language: Език
13
- sites: Сайтове
14
- access_points: Точки за достъп
15
- memberships: Профили
16
- membership_email: Имейл на профил
17
- file: Файл
18
- preview: Преглед
19
- options: Разширени опции
20
- custom_fields: Персонализирани полета
21
- other_fields: Друга информация
22
- presentation: Презентация
23
- attributes: Атрибути
24
- upload: Качване
25
- labels:
26
- theme_asset:
27
- plain_text_name: Име на файл
28
- content_type: Тип на файл
29
- new:
30
- source: Файл
31
- edit:
32
- source: Замени файл
33
- custom_fields:
34
- field:
35
- name: Псевдоним
36
- content_type:
37
- raw_item_template: Шаблон на файл
38
- public_submission_enabled: Публично подаване
39
- public_submission_accounts: Уведомени профили
40
- "custom_fields/field":
41
- select_options: "Опции"
42
- content_entry:
43
- _slug: Постоянен линк
44
- _visible: Видимо
45
- account:
46
- api_key: API ключ
47
- edit:
48
- locale: UI Език
49
- password: Нова парол
50
- password_confirmation: Потвърждение на новата парола
51
- page:
52
- seo_title: Заглавие
53
- target_klass_name: Модел
54
- site:
55
- locales: Езици
56
- timezone_name: Времева зона
57
- new:
58
- locales: Първи език
59
-
60
- hints:
61
- page:
62
- handle: "Уникален идентификатор за ползване на тази страница във външна инстанция на контролер"
63
- published: "Само отозирани профили могат да виждат непубликувани страници."
64
- cache_strategy: "Кеширай страницата за по-добра производителност. 'Простият' избор е добър компромис."
65
- templatized: "Използвайте страницата за шаблон за модел, който сте дефинирали."
66
- listed: "Контролира дали да се показва страницата от генерираните менюта."
67
- target_klass_name: "Видъд съдържание, на което тази страница ще е шаблот."
68
- seo_title: "Дефинирайте заглавие на страницата, което да се ползва като стойност на title тага във head секцията. Оставете го празно ако искате да използвате стойността по подразбиране от настройките на сайта."
69
- meta_keywords: "Презаписва мета ключовите думи на сайта, коио се ползват в head секцията. Разделени са с точка."
70
- meta_description: "Презаписва мета описанието, което се използва в head секцията на страницата."
71
- snippet:
72
- slug: "Трябва да го знаете за да можете да вмъкнете откъса в страница"
73
- site:
74
- locales: "Drag&drop флаг на първата позиция за да стане по подразбиране."
75
- seo_title: "Дефинирайте глобална стойност, която да се използва като стойност на title тага в head секцията."
76
- meta_keywords: "Meta ключови думи използвани между head секцияата на страницата. Те са разделени от запетая. Нужни за SEO."
77
- meta_description: "Meta описание използвано meжду head секцията на страница. Нужно за SEO."
78
- domain_name: "пример: locomotiveapp.org"
79
- robots_txt: "Съдържанието на <span class='code'>/robots.txt</span> файла. Проверете следното <a href='http://www.w3.org/TR/html4/appendix/notes.html#h-B.4.1.1'>url</a> за повече информация."
80
- new:
81
- locales: "Можете да добавите други езици, когато сайта ви е създаден."
82
- theme_asset:
83
- slug: "Няма нужда да добавяте разширението на файла (.css или .js)"
84
- edit:
85
- source: "Може да го замените с файл със същото разширение."
86
- translation:
87
- key: "Използвайте долна черта вместо тире. Пример: ново_съобщение."
88
- asset:
89
- source: "Всички типове файлове се приемат."
90
- edit:
91
- source: "Текущият файл е наличен тук %{url}"
92
- update:
93
- source: "Текущият файл е наличен тук %{url}"
94
- content_entry:
95
- _slug: "Свойство използвано за да се генерира url-то на страница работеща като шаблон за този тип съдържание (пример: \"template_page/{{ your_object._permalink }})\"."
96
- _visible: "По подразбиране, записът ще се показва в сайта. Така че може да се използва като публикуван атрибут."
97
- seo_title: "Стойността която въведете ще замени SEO заглавието шаблонена страница свързана с вашият модел."
98
- meta_keywords: "Презаписва meta ключовите думи на сайта, изпозлвани в head секцията на страницата. Разделени са от запетая."
99
- meta_description: "Презаписва meta описанието на сайта, използвано в head секцията на страницата."
100
- import:
101
- source: "Zip файл съдържащ database.yml заедно с asset-и и шаблони"
102
- samples: "Ако е активиран, процеса също ще копира съдържанието и asset-ите"
103
- reset: "Ако е активиран, всички данни на вашият сайт ще бъдат унищожени преди да се внесе новия сайт."
104
- content_type:
105
- name: "Предлагаме да въведете множественото число на модела. Пример: Projects, Recipes, Posts, Articles и т.н."
106
- slug: "Ще се използва като име на колекцията в liquid шаблона. Пример: <span class='code'>{{ contents.my_projects }}</span>"
107
- raw_item_template: "Може да пресонализирате текста показан за всеки елемент в списъка. Просто използвайте Liquid. Пример: <span class='code'>{{ entry.name }})</span>"
108
- public_submission_enabled: "Използва се за да разреши на външни хора да създават нови записи (пример: съобщения в форма за контакт)"
109
- public_submission_accounts: "Ако опцията за публична публикацияа е активирана, за всеки запис създаден изпраща имейл до профилите изброени отгоре."
110
- "custom_fields/field":
111
- name: "Име на свойството за liquid шаблони. Пример: <span class='code'>&#123;&#123; your_object.&lt;име_на_вашето_поле&gt; &#125;&#125;</span>"
112
- hint: "Текст показан в формата на модела точно под полето"
113
-
@@ -1,125 +0,0 @@
1
- cs:
2
- formtastic:
3
- titles:
4
- information: Hlavní informace
5
- advanced_options: Další možnosti
6
- meta: SEO Metadata
7
- seo: SEO možnosti
8
- robots_txt: Soubor robots.txt
9
- code: Kód
10
- raw_template: Šablona
11
- credentials: Přihlašovací údaje
12
- language: Jazyk
13
- sites: Weby
14
- access_points: Přístupové body
15
- memberships: Účty
16
- membership_email: Email účtu
17
- file: Soubor
18
- preview: Náhled
19
- options: Další možnosti
20
- custom_fields: Vlastní pole
21
- other_fields: Další informace
22
- presentation: Prezentace
23
- attributes: Atributy
24
- upload: Upload
25
- labels:
26
- theme_asset:
27
- plain_text_name: Název souboru
28
- content_type: Typ souboru
29
- new:
30
- source: Soubor
31
- edit:
32
- source: Nahradit soubor
33
- custom_fields:
34
- field:
35
- name: Alias
36
- content_type:
37
- raw_item_template: Šablona položky
38
- public_submission_enabled: Veřejné vkládání
39
- public_submission_accounts: Upozorňované účty
40
- "custom_fields/field":
41
- select_options: "Možnosti"
42
- name: Název
43
- slug: Permalink
44
- description: Popis
45
- label_field_id: Atribut názvu
46
- group_by_field_id: Atribut pro seskupování
47
- order_by: Řadit dle
48
- order_direction: Směr řazení
49
- content_entry:
50
- _slug: Permalink
51
- _visible: Viditelnost
52
- seo_title: SEO titulek
53
- meta_keywords: Klíčová slova
54
- meta_description: Popis
55
- account:
56
- api_key: API klíč
57
- edit:
58
- locale: Jazyk prostředí
59
- password: Nové heslo
60
- password_confirmation: Potvrzení nového hesla
61
- page:
62
- seo_title: Titulek
63
- target_klass_name: Model
64
- site:
65
- seo_title: SEO titulek
66
- meta_keywords: Klíčová slova
67
- meta_description: Popis webu
68
- locales: Jazyky
69
- timezone_name: Časová pásma
70
- new:
71
- locales: První jazyk
72
-
73
- hints:
74
- page:
75
- handle: "Unikátní identifikátor k načtení této stránky v instanci externího controlleru."
76
- published: "Pouze přihlášené účty mohou vidět nepublikovaný obsah."
77
- cache_strategy: "Cache stránky se využívá k vyšší rychlosti načtení. Volba 'Jednoduchá' je dobrým kompromisem."
78
- templatized: "Použít stránku jako šablonu pro definovaný model."
79
- listed: "Určuje, zda zobrazovat stránku v generovaných menu."
80
- target_klass_name: "Druh obsahu, kterému bude tato stránka šablonou."
81
- seo_title: "Hodnota, kterou doplníte, nahradí SEO titulek ze šablony přiřazené tomuto modelu. Nechte prázdné, pokud chcete použít standardní hodnotu z nastavení webu."
82
- meta_keywords: "Nahradí klíčová slova webu použitá v hlavičce stránky. Jsou oddělena čárkou."
83
- meta_description: "Nahradí popis webu použitý v hlavičce stránky."
84
- snippet:
85
- slug: "Skrze tento název ho vložíte do stránky."
86
- site:
87
- locales: "Přesuňte vlajku na první místo, abyste ji udělali výchozím jazykem."
88
- seo_title: "Určete obecnou hodnotu, která bude sloužit na webu jako výchozí titulek."
89
- meta_keywords: "Klíčová slova webu použitá v hlavičce webu. Jsou oddělena čárkou. Vyžadována pro SEO."
90
- meta_description: "Popis webu použitý v hlavičce webu. Vyžadován pro SEO."
91
- domain_name: "např: locomotiveapp.org"
92
- robots_txt: "Obsah souboru <span class='code'>/robots.txt</span>. Pro více informací mrkněte na tuto <a href='http://www.w3.org/TR/html4/appendix/notes.html#h-B.4.1.1'>url</a>."
93
- new:
94
- locales: "Další jazyky budete moci přidat po vytvoření webu."
95
- theme_asset:
96
- slug: "Není potřeba přidávat koncovku (.css nebo .js)"
97
- edit:
98
- source: "Můžete ho nahradit souborem stejného typu."
99
- translation:
100
- key: "Nepoužívejte pomlčky, ale raději podtržítka. Příklad: welcome_message."
101
- asset:
102
- source: "Povoleny jsou všechny typy souborů."
103
- edit:
104
- source: "Současný soubor je dostupný na %{url}"
105
- update:
106
- source: "Současný soubor je dostupný na %{url}"
107
- content_entry:
108
- _slug: "Vlastnost sloužící k vygenerování url adresy stránky pro tento druh obsahu (např: \"template_page/{{ your_object._permalink }})\"."
109
- _visible: "Standardně se obsah na stránce zobrazuje. Tento přepínač tedy může sloužit k označení již publikovaného obsahu."
110
- seo_title: "Hodnota, kterou doplníte, nahradí SEO titulek ze šablony přiřazené tomuto modelu."
111
- meta_keywords: "Nahradí klíčová slova webu použitá v hlavičce stránky. Jsou oddělena čárkou."
112
- meta_description: "Nahradí popis webu použitý v hlavičce stránky."
113
- import:
114
- source: "Archiv zip obsahující database.yml spolu se všemi šablonami a potřebnými soubory"
115
- samples: "Pakliže je povoleno, budou během importu kopírovány i obsahy a soubory"
116
- reset: "Pakliže je povoleno, všechna data z webu budou před importem smazána"
117
- content_type:
118
- name: "Doporučujeme použít název modelu v množném čísle a v angličtině. Např.: Projects, Recipes, Posts, Articles, apod."
119
- slug: "Bude použit jako název kolekce pro liquid šablony. Př.: <span class='code'>{{ contents.my_projects }}</span>"
120
- raw_item_template: "Můžete specifikovat text zobrazený pro každou položku z kolekce. Jednoduše použijte Liquid. Př.: <span class='code'>{{ zaznam.nazev }})</span>"
121
- public_submission_enabled: "Používá se pro vkládání obsahu lidmi z venku (příklad: zprávy v kontaktním formuláři)"
122
- public_submission_accounts: "Pakliže je veřejné vkládání zapnuté, výše vypsané účty obdrží při vytvoření nového záznamu informační email."
123
- "custom_fields/field":
124
- name: "Název vlastnosti pro šablony liquid. Např: <span class='code'>&#123;&#123; vas_objekt.&lt;nazev_pole&gt; &#125;&#125;</span>"
125
- hint: "Text zobrazený v modelu pod příslušným polem."
@@ -1,106 +0,0 @@
1
- de:
2
- formtastic:
3
- titles:
4
- information: Allgemeine Informationen
5
- advanced_options: Fortgeschrittene Optionen
6
- meta: Suchmaschinen-Metadaten
7
- seo: SEO Einstellungen
8
- robots_txt: Robots.txt Datei
9
- code: Code
10
- raw_template: Vorlage
11
- credentials: Persönliche Daten
12
- language: Sprache
13
- sites: Webseiten
14
- access_points: Domains
15
- memberships: Accounts
16
- membership_email: Account Email
17
- file: Datei
18
- preview: Vorschau
19
- options: Fortgeschrittene Optionen
20
- custom_fields: Benutzerdefinierte Felder
21
- other_fields: Weitere Informationen
22
- presentation: Anzeige
23
- attributes: Attribute
24
- upload: Upload
25
- labels:
26
- theme_asset:
27
- plain_text_name: Datei-Name
28
- content_type: Datei-Typ
29
- new:
30
- source: Datei
31
- edit:
32
- source: Datei ersetzen
33
- custom_fields:
34
- field:
35
- name: Alias
36
- import:
37
- new:
38
- source: Datei
39
- samples: Beispiele kopieren
40
- reset: Webseite zurücksetzen
41
- default_site_template: "Benutze Standard Webseiten Template. Klicke <a href='#'>hier</a>, um ein anderes Template als zip-Datei hochzuladen."
42
- content_type:
43
- item_template: Baustein Template
44
- api_accounts: Benachrichtigte Accounts
45
- content_instance:
46
- _slug: Permalink
47
- account:
48
- edit:
49
- locale: Sprache der Oberfläche
50
- password: "Neues Passwort"
51
- password_confirmation: "Bestätigung des neuen Passworts"
52
- page:
53
- seo_title: Titel
54
- site:
55
- locales: Sprachen der Webseite
56
- timezone_name: Zeitzone
57
-
58
- hints:
59
- page:
60
- published: "Nur authentifizierte Accounts können nicht publizierte Seiten ansehen."
61
- cache_strategy: "Cache die Seiten, um eine bessere Geschwindigkeit zu erzielen. Die 'Einfach' Option ist ein guter Kompromiss."
62
- templatized: "Nutze diese Seite als Vorlage für einen Baustein, den du erstellt hast."
63
- listed: "Regele, ob die Seite in den generierten Menüs angezeigt werden soll."
64
- content_type_id: "Der Baustein für den diese Seite als Vorlage dienen soll."
65
- seo_title: "Wähle einen Titel für den 'title' Tag im Seiten Header. Lass es leer, wenn der Seitentitel verwendet werden soll."
66
- meta_keywords: "Meta-Schlagworte, die im HEAD-Bereich der Webseite genutzt werden. Die einzelnen Wörter werden durch eine Leertaste getrennt. Diese werden für die Suchmaschinen benötigt."
67
- meta_description: "Meta-Beschreibung, die im HEAD-Bereich der Webseite genutzt wird. Diese wird für die Suchmaschinen benötigt."
68
- handle: "Eindeutige Bezeichnung um diese Seite von einer externen Controller Instanz aus anzusprechen."
69
- snippet:
70
- slug: "Um ein Snippet einzubinden, musst Du diesen Slug benutzen."
71
- site:
72
- locales: "Ziehen Sie eine Sprache an die erste Stelle um sie als Standard-Sprache festzulegen."
73
- seo_title: "Globaler Wert, der auf jeder Seite für den Titel genutzt wird."
74
- meta_keywords: "Meta-Schlagworte, die im HEAD-Bereich der Webseite genutzt werden. Die einzelnen Wörter werden durch eine Leertaste getrennt. Diese werden für die Suchmaschinen benötigt."
75
- meta_description: "Meta-Beschreibung, die im HEAD-Bereich der Webseite genutzt wird. Diese wird für die Suchmaschinen benötigt."
76
- domain_name: "z.B: locomotiveapp.org"
77
- robots_txt: "Inhalt der <span class='code'>/robots.txt</span> Datei. Siehe auch diese <a href='http://www.w3.org/TR/html4/appendix/notes.html#h-B.4.1.1'>Seite</a> für mehr Informationen."
78
- theme_asset:
79
- slug: "Du musst die Dateiendung nicht angeben (.css or .js)"
80
- edit:
81
- source: "Du kannst diese Datei durch eine Datei mit gleicher Dateiendung ersetzen"
82
- translation:
83
- key: "Nutzen Sie Unterstriche um Wörter zu trennen. Beispiel: welcome_message."
84
- asset:
85
- source: "Es werden alle Datei-Typen akzeptiert."
86
- edit:
87
- source: "Die aktuelle Datei liegt hier %{url}"
88
- update:
89
- source: "Die aktuelle Datei liegt hier %{url}"
90
- custom_fields:
91
- field:
92
- name: "Merkmal verfügbar in den liquid-Templates"
93
- hint: "Hilfe-Text, der im Formular des Bausteins direkt unter dem jeweiligen Feld angezeigt wird"
94
- content_instance:
95
- _slug: "Merkmal, was für die Erstellung der URL für diesen Baustein benutzt wird. (ex: \"template_page/{{ your_object._permalink }})\"."
96
- seo_title: "Wähle einen Titel für den 'title' Tag im Seiten Header. Lass es leer, wenn der Seitentitel verwendet werden soll."
97
- meta_keywords: "Meta-Schlagworte, die im HEAD-Bereich der Webseite genutzt werden. Die einzelnen Wörter werden durch eine Leertaste getrennt. Diese werden für die Suchmaschinen benötigt."
98
- meta_description: "Meta-Beschreibung, die im HEAD-Bereich der Webseite genutzt wird. Diese wird für die Suchmaschinen benötigt."
99
- import:
100
- source: "Eine zip-Datei, die eine databse.yml, Assets und Templates enthält"
101
- samples: "Bei Aktivierung werden auch Inhalte und Assets importiert"
102
- reset: "Bei Aktivierung werden alle Daten deiner Webseite gelöscht, bevor die neue Webseite importiert wird"
103
- content_type:
104
- item_template: "Du kannst den Text für jeden Baustein einfach anpassen. Benutze einfach folgendes in Liquid : {{ content.name }})"
105
- api_enabled: "Dies wird genutzt, um Besuchern deiner Webseite die Möglichkeit zu geben neue Elemente zu erstellen (z.B: Nachrichten in einem Kontakt-Formular)"
106
- api_accounts: "Sobald ein Besucher ein neues Element erstellt, wird eine Benachrichtigungs-Email an alle unten aufgeführten Accounts gesendet"
@@ -1,84 +0,0 @@
1
- es:
2
- formtastic:
3
- titles:
4
- information: Información General
5
- advanced_options: Opciones Avanzadas
6
- meta: Información SEO
7
- code: Código
8
- raw_template: Plantilla
9
- credentials: Credenciales
10
- language: Idioma
11
- sites: Sitios
12
- access_points: Puntos de acceso
13
- memberships: Cuentas
14
- membership_email: Email de cuentas
15
- file: Fichero
16
- preview: Vista previa
17
- options: Opciones avanzadas
18
- custom_fields: Campos personalizados
19
- other_fields: Otra información
20
- presentation: Presentación
21
- attributes: Atributos
22
- upload: Subir
23
- labels:
24
- theme_asset:
25
- plain_text_name: Nombre de fichero
26
- content_type: Tipo de fichero
27
- new:
28
- source: Fichero
29
- edit:
30
- source: Reemplazar fichero
31
- custom_fields:
32
- field:
33
- name: Alias
34
- import:
35
- new:
36
- source: Fichero
37
- samples: Ejemplos
38
- reset: Resetear sitio
39
- default_site_template: "Usar la plantilla por defecto. Haga click <a href='#'>aquí</a> para subir una plantilla en formato zip en lugar de usar la plantilla por defecto."
40
- content_type:
41
- raw_item_template: Elemento de la plantilla
42
- api_accounts: Cuentas notificadas
43
- account:
44
- edit:
45
- password: Nueva clave
46
- password_confirmation: Repetición de la nueva clave
47
-
48
- hints:
49
- page:
50
- published: "Las páginas no publicadas son únicamente visibles tras iniciar sesión."
51
- cache_strategy: "Utilizar una caché de página para un mejor rendimiento. La opción 'Simple' es un buen compromiso."
52
- templatized: "Usar la página como plantilla de un modelo."
53
- listed: "Controla si la página se enseña o no en los menús."
54
- content_type_id: "El modelo del cual será una plantilla esta página."
55
- meta_keywords: "Reescribir las palabras clave SEO utilizadas en la cabecera de la página. Deben estar separadas por comas."
56
- meta_description: "Reescribir la metadescripción que se utiliza en la cabecera de la página."
57
- snippet:
58
- slug: "Debe conocerlo de antemano para poder insertarlo en una página"
59
- site:
60
- meta_keywords: "Las meta palabras clave se utilizan en la cabecera de la página. Deben estar separadas por coma. Requerido para SEO."
61
- meta_description: "La meta descripción se utiliza en la cabecera de la página. Requerida para SEO."
62
- domain_name: "ej: locomotiveapp.org"
63
- theme_asset:
64
- slug: "No es necesario añadir la extensión del fichero (.css or .js)"
65
- edit:
66
- source: "Puede reemplazarlo por otro fichero con la misma extensión"
67
- asset:
68
- source: "Todos los tipos de fichero son válidos."
69
- edit:
70
- source: "El fichero está disponible aquí: %{url}"
71
- update:
72
- source: "El fichero está disponible aquí: %{url}"
73
- custom_fields:
74
- field:
75
- name: "Propiedad disponible en plantillas Liquid"
76
- hint: "Texto mostrado justo debajo del campo en el formulario de creación"
77
- import:
78
- source: "Un fichero zip conteniendo un fichero database.yml con plantillas y contenido multimedia."
79
- samples: "Si se activa, la importación también copiará contenido multimedia y páginas"
80
- reset: "Si se activa, toda la información del sitio será eliminada antes de importar"
81
- content_type:
82
- raw_item_template: "Puede personalizar el texto mostrado para cada elemento de la lista. Simplemente utilice Liquid. Ej: {{ entry.name }})"
83
- api_enabled: "Se utiliza para dejar crear elementos a gente externa a la aplicación (ejemplo: mensajes en un formulario de contacto)"
84
- api_accounts: "Un email de notificación será enviado a las cuentas listadas más arriba cuando un nuevo elemento se cree"