adva_cms 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (551) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE +22 -0
  5. data/NOTES +132 -0
  6. data/README.md +29 -0
  7. data/Rakefile +2 -0
  8. data/adva_cms.gemspec +22 -0
  9. data/app/assets/images/adva_cms/admin/header_bg.png +0 -0
  10. data/app/assets/images/adva_cms/admin/section_menu_bg.png +0 -0
  11. data/app/assets/images/adva_cms/admin/tab_action_active.png +0 -0
  12. data/app/assets/images/adva_cms/admin/tab_main_active.png +0 -0
  13. data/app/assets/images/adva_cms/admin/tab_sidebar_active.png +0 -0
  14. data/app/assets/images/adva_cms/admin/tab_top_active.png +0 -0
  15. data/app/assets/images/adva_cms/asset_selected.png +0 -0
  16. data/app/assets/images/adva_cms/avatar.gif +0 -0
  17. data/app/assets/images/adva_cms/filter-bg.png +0 -0
  18. data/app/assets/images/adva_cms/icons/accept.png +0 -0
  19. data/app/assets/images/adva_cms/icons/add.png +0 -0
  20. data/app/assets/images/adva_cms/icons/arrow_cross.png +0 -0
  21. data/app/assets/images/adva_cms/icons/arrow_cross_2.png +0 -0
  22. data/app/assets/images/adva_cms/icons/arrow_cross_3.png +0 -0
  23. data/app/assets/images/adva_cms/icons/arrow_up_down.png +0 -0
  24. data/app/assets/images/adva_cms/icons/assets/audio.png +0 -0
  25. data/app/assets/images/adva_cms/icons/assets/doc.png +0 -0
  26. data/app/assets/images/adva_cms/icons/assets/pdf.png +0 -0
  27. data/app/assets/images/adva_cms/icons/assets/video.png +0 -0
  28. data/app/assets/images/adva_cms/icons/attach.png +0 -0
  29. data/app/assets/images/adva_cms/icons/bin.png +0 -0
  30. data/app/assets/images/adva_cms/icons/bin_closed.png +0 -0
  31. data/app/assets/images/adva_cms/icons/bin_empty.png +0 -0
  32. data/app/assets/images/adva_cms/icons/bullet_black.png +0 -0
  33. data/app/assets/images/adva_cms/icons/bullet_delete.png +0 -0
  34. data/app/assets/images/adva_cms/icons/bullet_error.png +0 -0
  35. data/app/assets/images/adva_cms/icons/bullet_go.png +0 -0
  36. data/app/assets/images/adva_cms/icons/bullet_red.png +0 -0
  37. data/app/assets/images/adva_cms/icons/bullet_white.png +0 -0
  38. data/app/assets/images/adva_cms/icons/bullet_yellow.png +0 -0
  39. data/app/assets/images/adva_cms/icons/cancel.png +0 -0
  40. data/app/assets/images/adva_cms/icons/comment.gif +0 -0
  41. data/app/assets/images/adva_cms/icons/comment.png +0 -0
  42. data/app/assets/images/adva_cms/icons/comment_add.png +0 -0
  43. data/app/assets/images/adva_cms/icons/comment_blue.gif +0 -0
  44. data/app/assets/images/adva_cms/icons/comment_delete.png +0 -0
  45. data/app/assets/images/adva_cms/icons/comment_edit.png +0 -0
  46. data/app/assets/images/adva_cms/icons/comment_yellow.gif +0 -0
  47. data/app/assets/images/adva_cms/icons/cross.png +0 -0
  48. data/app/assets/images/adva_cms/icons/delete.png +0 -0
  49. data/app/assets/images/adva_cms/icons/eye.png +0 -0
  50. data/app/assets/images/adva_cms/icons/favorites.png +0 -0
  51. data/app/assets/images/adva_cms/icons/help.png +0 -0
  52. data/app/assets/images/adva_cms/icons/hourglass.png +0 -0
  53. data/app/assets/images/adva_cms/icons/icon_attachment.gif +0 -0
  54. data/app/assets/images/adva_cms/icons/icon_padlock.gif +0 -0
  55. data/app/assets/images/adva_cms/icons/link.png +0 -0
  56. data/app/assets/images/adva_cms/icons/lock.png +0 -0
  57. data/app/assets/images/adva_cms/icons/magnifier.png +0 -0
  58. data/app/assets/images/adva_cms/icons/minus.gif +0 -0
  59. data/app/assets/images/adva_cms/icons/page_add.png +0 -0
  60. data/app/assets/images/adva_cms/icons/page_delete.png +0 -0
  61. data/app/assets/images/adva_cms/icons/page_edit.png +0 -0
  62. data/app/assets/images/adva_cms/icons/page_favorites.png +0 -0
  63. data/app/assets/images/adva_cms/icons/page_go.png +0 -0
  64. data/app/assets/images/adva_cms/icons/page_green.png +0 -0
  65. data/app/assets/images/adva_cms/icons/page_red.png +0 -0
  66. data/app/assets/images/adva_cms/icons/page_white_add.png +0 -0
  67. data/app/assets/images/adva_cms/icons/page_white_delete.png +0 -0
  68. data/app/assets/images/adva_cms/icons/page_white_edit.png +0 -0
  69. data/app/assets/images/adva_cms/icons/page_white_go.png +0 -0
  70. data/app/assets/images/adva_cms/icons/page_white_link.png +0 -0
  71. data/app/assets/images/adva_cms/icons/page_white_magnify.png +0 -0
  72. data/app/assets/images/adva_cms/icons/pencil.png +0 -0
  73. data/app/assets/images/adva_cms/icons/star.png +0 -0
  74. data/app/assets/images/adva_cms/icons/stop.png +0 -0
  75. data/app/assets/images/adva_cms/icons/tag_green.png +0 -0
  76. data/app/assets/images/adva_cms/icons/tick.png +0 -0
  77. data/app/assets/images/adva_cms/icons/zoom.png +0 -0
  78. data/app/assets/images/adva_cms/indicator.gif +0 -0
  79. data/app/assets/images/adva_cms/preview.png +0 -0
  80. data/app/assets/images/adva_cms/rails.png +0 -0
  81. data/app/assets/images/adva_cms/sortable_tree/drag.png +0 -0
  82. data/app/assets/images/adva_cms/theme_selected.png +0 -0
  83. data/app/assets/javascripts/admin.js +1 -0
  84. data/app/assets/javascripts/adva_cms/admin/jquery.admin.js +23 -0
  85. data/app/assets/javascripts/adva_cms/admin/jquery.article.js +22 -0
  86. data/app/assets/javascripts/adva_cms/admin/jquery.cached_pages.js +14 -0
  87. data/app/assets/javascripts/adva_cms/admin/jquery.table_tree.js +7 -0
  88. data/app/assets/javascripts/adva_cms/application.js +14 -0
  89. data/app/assets/javascripts/adva_cms/base.js +4 -0
  90. data/app/assets/javascripts/adva_cms/cookie.js +49 -0
  91. data/app/assets/javascripts/adva_cms/jquery.common.js +41 -0
  92. data/app/assets/javascripts/adva_cms/jquery.dates.js +51 -0
  93. data/app/assets/javascripts/adva_cms/jquery.flash.js +57 -0
  94. data/app/assets/javascripts/adva_cms/jquery.roles.js +25 -0
  95. data/app/assets/javascripts/adva_cms/jquery/jquery-lowpro.js +224 -0
  96. data/app/assets/javascripts/adva_cms/jquery/jquery.qtip.js +2085 -0
  97. data/app/assets/javascripts/adva_cms/jquery/jquery.table_tree.js +307 -0
  98. data/app/assets/javascripts/adva_cms/jquery/jquery.tablednd_0_5.js +386 -0
  99. data/app/assets/javascripts/adva_cms/json.js +139 -0
  100. data/app/assets/stylesheets/admin.css +1 -0
  101. data/app/assets/stylesheets/adva_cms/admin.css +16 -0
  102. data/app/assets/stylesheets/adva_cms/admin/alternate/common.css +76 -0
  103. data/app/assets/stylesheets/adva_cms/admin/alternate/forms.css +121 -0
  104. data/app/assets/stylesheets/adva_cms/admin/alternate/header.css +125 -0
  105. data/app/assets/stylesheets/adva_cms/admin/alternate/layout.css +103 -0
  106. data/app/assets/stylesheets/adva_cms/admin/alternate/lists.css +153 -0
  107. data/app/assets/stylesheets/adva_cms/admin/alternate/sidebar.css +65 -0
  108. data/app/assets/stylesheets/adva_cms/admin/alternate/top.css +123 -0
  109. data/app/assets/stylesheets/adva_cms/admin/common.css +76 -0
  110. data/app/assets/stylesheets/adva_cms/admin/content.css +11 -0
  111. data/app/assets/stylesheets/adva_cms/admin/forms.css +116 -0
  112. data/app/assets/stylesheets/adva_cms/admin/header.css +114 -0
  113. data/app/assets/stylesheets/adva_cms/admin/helptip.css +35 -0
  114. data/app/assets/stylesheets/adva_cms/admin/layout.css +56 -0
  115. data/app/assets/stylesheets/adva_cms/admin/lists.css +152 -0
  116. data/app/assets/stylesheets/adva_cms/admin/projection.css +118 -0
  117. data/app/assets/stylesheets/adva_cms/admin/reset.css +25 -0
  118. data/app/assets/stylesheets/adva_cms/admin/screen/top.css +8 -0
  119. data/app/assets/stylesheets/adva_cms/admin/sidebar.css +67 -0
  120. data/app/assets/stylesheets/adva_cms/admin/themes.css +49 -0
  121. data/app/assets/stylesheets/adva_cms/admin/top.css +83 -0
  122. data/app/assets/stylesheets/adva_cms/admin/users.css +40 -0
  123. data/app/assets/stylesheets/adva_cms/common.css +49 -0
  124. data/app/assets/stylesheets/adva_cms/default.css +201 -0
  125. data/app/assets/stylesheets/adva_cms/forms.css +60 -0
  126. data/app/assets/stylesheets/adva_cms/jquery/alternate/jquery.tooltip.css +13 -0
  127. data/app/assets/stylesheets/adva_cms/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  128. data/app/assets/stylesheets/adva_cms/jquery/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  129. data/app/assets/stylesheets/adva_cms/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  130. data/app/assets/stylesheets/adva_cms/jquery/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  131. data/app/assets/stylesheets/adva_cms/jquery/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  132. data/app/assets/stylesheets/adva_cms/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  133. data/app/assets/stylesheets/adva_cms/jquery/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  134. data/app/assets/stylesheets/adva_cms/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  135. data/app/assets/stylesheets/adva_cms/jquery/images/ui-icons_222222_256x240.png +0 -0
  136. data/app/assets/stylesheets/adva_cms/jquery/images/ui-icons_2e83ff_256x240.png +0 -0
  137. data/app/assets/stylesheets/adva_cms/jquery/images/ui-icons_454545_256x240.png +0 -0
  138. data/app/assets/stylesheets/adva_cms/jquery/images/ui-icons_888888_256x240.png +0 -0
  139. data/app/assets/stylesheets/adva_cms/jquery/images/ui-icons_cd0a0a_256x240.png +0 -0
  140. data/app/assets/stylesheets/adva_cms/jquery/jquery-ui.css +406 -0
  141. data/app/assets/stylesheets/adva_cms/jquery/jquery.tooltip.css +10 -0
  142. data/app/assets/stylesheets/adva_cms/layout/login.css +8 -0
  143. data/app/assets/stylesheets/adva_cms/layout/simple.css +8 -0
  144. data/app/assets/stylesheets/adva_cms/menu.css +129 -0
  145. data/app/assets/stylesheets/adva_cms/reset.css +25 -0
  146. data/app/controllers/admin/base_controller.rb +101 -0
  147. data/app/controllers/admin/categories_controller.rb +3 -0
  148. data/app/controllers/admin/install_controller.rb +61 -0
  149. data/app/controllers/admin/page/articles_controller.rb +150 -0
  150. data/app/controllers/admin/page/categories_controller.rb +62 -0
  151. data/app/controllers/admin/page/contents_controller.rb +52 -0
  152. data/app/controllers/admin/page/links_controller.rb +69 -0
  153. data/app/controllers/admin/pages_controller.rb +2 -0
  154. data/app/controllers/admin/plugins_controller.rb +40 -0
  155. data/app/controllers/admin/sections_controller.rb +91 -0
  156. data/app/controllers/admin/sites_controller.rb +99 -0
  157. data/app/controllers/articles_controller.rb +81 -0
  158. data/app/controllers/base_controller.rb +82 -0
  159. data/app/helpers/admin/base_helper.rb +106 -0
  160. data/app/helpers/base_helper.rb +56 -0
  161. data/app/helpers/content_helper.rb +90 -0
  162. data/app/helpers/resource_helper.rb +127 -0
  163. data/app/models/article.rb +40 -0
  164. data/app/models/categorization.rb +4 -0
  165. data/app/models/category.rb +60 -0
  166. data/app/models/content.rb +155 -0
  167. data/app/models/event.rb +34 -0
  168. data/app/models/link.rb +4 -0
  169. data/app/models/page.rb +36 -0
  170. data/app/models/section.rb +126 -0
  171. data/app/models/site.rb +104 -0
  172. data/app/views/admin/cached_pages/_filter.html.erb +8 -0
  173. data/app/views/admin/cached_pages/destroy.js.erb +18 -0
  174. data/app/views/admin/cached_pages/index.html.erb +26 -0
  175. data/app/views/admin/install/confirmation.html.erb +10 -0
  176. data/app/views/admin/install/index.html.erb +38 -0
  177. data/app/views/admin/page/articles/_form.html.erb +40 -0
  178. data/app/views/admin/page/articles/_options.html.erb +20 -0
  179. data/app/views/admin/page/articles/edit.html.erb +15 -0
  180. data/app/views/admin/page/articles/new.html.erb +12 -0
  181. data/app/views/admin/page/categories/edit.html.erb +22 -0
  182. data/app/views/admin/page/categories/index.html.erb +23 -0
  183. data/app/views/admin/page/categories/new.html.erb +19 -0
  184. data/app/views/admin/page/contents/index.html.erb +40 -0
  185. data/app/views/admin/page/links/_form.html.erb +26 -0
  186. data/app/views/admin/page/links/_options.html.erb +23 -0
  187. data/app/views/admin/page/links/edit.html.erb +12 -0
  188. data/app/views/admin/page/links/new.html.erb +12 -0
  189. data/app/views/admin/plugins/_form.html.erb +11 -0
  190. data/app/views/admin/plugins/index.html.erb +16 -0
  191. data/app/views/admin/plugins/show.html.erb +43 -0
  192. data/app/views/admin/sections/_form.html.haml +20 -0
  193. data/app/views/admin/sections/edit.html.haml +6 -0
  194. data/app/views/admin/sections/index.html.erb +27 -0
  195. data/app/views/admin/sections/new.html.erb +29 -0
  196. data/app/views/admin/sections/settings/_page.html.haml +10 -0
  197. data/app/views/admin/shared/_header.html.erb +18 -0
  198. data/app/views/admin/shared/_language_select.html.erb +6 -0
  199. data/app/views/admin/shared/_section.html.erb +8 -0
  200. data/app/views/admin/shared/_section_summary.html.erb +23 -0
  201. data/app/views/admin/shared/_section_tree.html.erb +23 -0
  202. data/app/views/admin/sites/_email_notifications.html.erb +9 -0
  203. data/app/views/admin/sites/_form.html.erb +15 -0
  204. data/app/views/admin/sites/_recent_users.html.erb +11 -0
  205. data/app/views/admin/sites/_sections.html.erb +10 -0
  206. data/app/views/admin/sites/_unapproved_comments.html.erb +10 -0
  207. data/app/views/admin/sites/edit.html.erb +4 -0
  208. data/app/views/admin/sites/index.html.erb +21 -0
  209. data/app/views/admin/sites/multi_sites_disabled.html.erb +11 -0
  210. data/app/views/admin/sites/new.html.erb +21 -0
  211. data/app/views/admin/sites/show.html.erb +16 -0
  212. data/app/views/categories/_checkboxes.html.erb +12 -0
  213. data/app/views/layouts/admin.html.haml +50 -0
  214. data/app/views/layouts/default.html.erb +38 -0
  215. data/app/views/layouts/simple.html.erb +22 -0
  216. data/app/views/pages/articles/index.html.erb +10 -0
  217. data/app/views/pages/articles/show.html.erb +17 -0
  218. data/app/views/shared/_flash.html.erb +3 -0
  219. data/app/views/shared/_footer.html.erb +4 -0
  220. data/app/views/shared/_menu.html.erb +10 -0
  221. data/app/views/shared/_sidebar.html.erb +19 -0
  222. data/app/views/shared/messages/insufficient_permissions.html.erb +4 -0
  223. data/config/environment.rb +21 -0
  224. data/config/initializers/has_options.rb +2 -0
  225. data/config/initializers/has_permalink.rb +27 -0
  226. data/config/initializers/mailer.rb +12 -0
  227. data/config/initializers/menus.rb +184 -0
  228. data/config/initializers/roles.rb +91 -0
  229. data/config/initializers/settings.rb +26 -0
  230. data/config/initializers/site.rb +5 -0
  231. data/config/initializers/translations_are_a_pain.rb +9 -0
  232. data/config/locales/en.yml +1295 -0
  233. data/config/routes.rb +47 -0
  234. data/db/migrate/20080401000001_create_sites_table.rb +28 -0
  235. data/db/migrate/20080401000002_create_sections_table.rb +25 -0
  236. data/db/migrate/20080401000003_create_contents_table.rb +35 -0
  237. data/db/migrate/20080401000004_create_categories_table.rb +17 -0
  238. data/db/migrate/20080401000005_create_category_assignments.rb +12 -0
  239. data/db/migrate/20080401000006_create_taggable_tables.rb +26 -0
  240. data/db/migrate/20080710000000_create_plugin_configs.rb +13 -0
  241. data/db/migrate/20080715131051_plugin_owner_column.rb +13 -0
  242. data/db/migrate/20081208161500_add_content_type_to_join_tables.rb +10 -0
  243. data/db/migrate/20090216114034_rename_category_assignment_to_categorization.rb +13 -0
  244. data/db/migrate/20090305123429_move_sections_to_pages.rb +9 -0
  245. data/db/migrate/20090519132700_add_published_at_to_sections.rb +10 -0
  246. data/db/migrate/20090702085459_create_section_translations.rb +9 -0
  247. data/db/migrate/20090702200226_create_category_translations.rb +9 -0
  248. data/db/migrate/20090707171100_upgrade_paperclip_paths.rb +31 -0
  249. data/db/migrate/20090709111934_add_email_notification_to_site.rb +12 -0
  250. data/db/migrate/20091026000906_add_nesting_to_articles.rb +26 -0
  251. data/db/migrate/20140721000000_add_title_to_contents.rb +7 -0
  252. data/lib/adva_cms.rb +50 -0
  253. data/lib/adva_cms/version.rb +3 -0
  254. data/lib/core_ext.rb +7 -0
  255. data/lib/extensible_forms.rb +283 -0
  256. data/lib/has_options.rb +46 -0
  257. data/lib/html_diff.rb +48 -0
  258. data/lib/rails_ext.rb +15 -0
  259. data/lib/rails_ext/action_controller/cacheable_flash.rb +30 -0
  260. data/lib/rails_ext/action_controller/content_for_assignments.rb +105 -0
  261. data/lib/rails_ext/action_controller/default_params.rb +19 -0
  262. data/lib/rails_ext/action_controller/event_helper.rb +18 -0
  263. data/lib/rails_ext/action_controller/page_caching.rb +23 -0
  264. data/lib/rails_ext/action_controller/render_with_error_proc.rb +46 -0
  265. data/lib/rails_ext/action_controller/responds_to_parent.rb +46 -0
  266. data/lib/rails_ext/action_controller/url_for_returning.rb +12 -0
  267. data/lib/rails_ext/active_record/exists.rb +5 -0
  268. data/lib/rails_ext/active_record/sti_instantiation.rb +35 -0
  269. data/lib/rails_ext/active_record/sticky_changes.rb +30 -0
  270. data/lib/rails_ext/railties/plugin.rb +58 -0
  271. data/lib/rails_ext/railties/plugin_configuration.rb +72 -0
  272. data/lib/rails_ext/railties/plugin_initializers.rb +25 -0
  273. data/lib/registry.rb +49 -0
  274. data/lib/tasks/adva_cms.rake +178 -0
  275. data/lib/tasks/translation.rake +69 -0
  276. data/lib/time_hacks.rb +57 -0
  277. data/lib/webrat_patch.rb +11 -0
  278. data/locale/rails/fr.yml +123 -0
  279. data/test/NOTES +56 -0
  280. data/test/contexts.rb +365 -0
  281. data/test/fixtures.rb +190 -0
  282. data/test/fixtures/templates/alternative_templates/index.html.erb +1 -0
  283. data/test/fixtures/templates/context_templates_test/index.html.erb +1 -0
  284. data/test/fixtures/templates/context_templates_test/show.html.erb +0 -0
  285. data/test/fixtures/templates/layouts/alternative.html.erb +0 -0
  286. data/test/fixtures/templates/layouts/default.html.erb +0 -0
  287. data/test/fixtures/templates/menu/shared/_menu.html.erb +8 -0
  288. data/test/functional/admin/articles_controller_test.rb +329 -0
  289. data/test/functional/admin/base_controller_test.rb +68 -0
  290. data/test/functional/admin/cached_pages_controller_test.rb +66 -0
  291. data/test/functional/admin/categories_controller_test.rb +164 -0
  292. data/test/functional/admin/cells_controller_spec.rb +32 -0
  293. data/test/functional/admin/install_controller_test.rb +89 -0
  294. data/test/functional/admin/plugins_controller_test.rb +93 -0
  295. data/test/functional/admin/sections_controller_test.rb +201 -0
  296. data/test/functional/admin/sites_controller_test.rb +240 -0
  297. data/test/functional/asset_tag_expansions_test.rb +82 -0
  298. data/test/functional/base_controller_test.rb +73 -0
  299. data/test/functional/page_articles_controller_test.rb +168 -0
  300. data/test/functional/page_articles_routes_test.rb +73 -0
  301. data/test/integration/admin/cached_pages_test.rb +43 -0
  302. data/test/integration/admin/categories_test.rb +66 -0
  303. data/test/integration/admin/custom_templates_test.rb +42 -0
  304. data/test/integration/admin/filtering_articles_test.rb +32 -0
  305. data/test/integration/admin/plugins.rb +32 -0
  306. data/test/integration/admin/section_article_test.rb +150 -0
  307. data/test/integration/admin/section_test.rb +88 -0
  308. data/test/integration/admin/sites_test.rb +48 -0
  309. data/test/integration/installation_test.rb +109 -0
  310. data/test/integration/page_article_comment_test.rb +51 -0
  311. data/test/integration/page_article_test.rb +87 -0
  312. data/test/integration/section_index_test.rb +37 -0
  313. data/test/javascript/assets/jquery-lowpro.js +224 -0
  314. data/test/javascript/assets/jquery-ui.js +298 -0
  315. data/test/javascript/assets/jquery.js +4376 -0
  316. data/test/javascript/assets/testrunner.js +815 -0
  317. data/test/javascript/assets/testsuite.css +120 -0
  318. data/test/javascript/lib/jstest.rb +588 -0
  319. data/test/javascript/templates/test_case.erb +33 -0
  320. data/test/plugins/adva_context_templates/context_templates_test.rb +138 -0
  321. data/test/plugins/adva_post_ping/controller/integration_test.rb +78 -0
  322. data/test/plugins/adva_post_ping/post_ping_test.rb +94 -0
  323. data/test/plugins/adva_url_history/article_test.rb +94 -0
  324. data/test/plugins/adva_url_history/init_url_history.rb +18 -0
  325. data/test/plugins/adva_url_history/section_test.rb +49 -0
  326. data/test/test_helper.rb +75 -0
  327. data/test/test_helper/clear_directories.rb +16 -0
  328. data/test/test_helper/ensure_single_site_mode.rb +10 -0
  329. data/test/test_helper/extensions/cacheable_flash.rb +14 -0
  330. data/test/test_helper/extensions/cronjob.rb +11 -0
  331. data/test/test_helper/extensions/even_test_log.rb +21 -0
  332. data/test/test_helper/extensions/integration_test.rb +78 -0
  333. data/test/test_helper/extensions/matchy.rb +365 -0
  334. data/test/test_helper/extensions/matchy_adva_cms.rb +441 -0
  335. data/test/test_helper/extensions/rails_patch.rb +40 -0
  336. data/test/test_helper/extensions/rr.rb +7 -0
  337. data/test/test_helper/extensions/test_unit.rb +35 -0
  338. data/test/test_helper/extensions/with_sugar.rb +166 -0
  339. data/test/test_helper/parse_options.rb +18 -0
  340. data/test/test_helper/setup_db_transaction.rb +15 -0
  341. data/test/test_helper/setup_webrat.rb +9 -0
  342. data/test/test_helper/test_server/init.rb +15 -0
  343. data/test/unit/helpers/admin/base_helper_test.rb +139 -0
  344. data/test/unit/helpers/base_helper_spec.rb +54 -0
  345. data/test/unit/helpers/base_helper_test.rb +165 -0
  346. data/test/unit/helpers/content_helper_test.rb +127 -0
  347. data/test/unit/helpers/resource_helper_test.rb +180 -0
  348. data/test/unit/i18n_test.rb +22 -0
  349. data/test/unit/lib/cells_ext_spec.rb +96 -0
  350. data/test/unit/lib/extensible_forms_test.rb +362 -0
  351. data/test/unit/lib/menu_test.rb +119 -0
  352. data/test/unit/lib/rails_ext/content_for_assignments_test.rb +75 -0
  353. data/test/unit/lib/rails_ext/plugin_configuration_test.rb +40 -0
  354. data/test/unit/lib/rails_ext/sticky_changes_test.rb +33 -0
  355. data/test/unit/lib/registry_test.rb +91 -0
  356. data/test/unit/lib/routing_filter/routing_filter_categories_spec.rb +63 -0
  357. data/test/unit/lib/routing_filter/routing_filter_categories_test.rb +159 -0
  358. data/test/unit/lib/routing_filter/routing_filter_locale_spec.rb +73 -0
  359. data/test/unit/lib/routing_filter/routing_filter_root_blog_archive_spec.rb +40 -0
  360. data/test/unit/lib/routing_filter/routing_filter_root_section_articles_spec.rb +48 -0
  361. data/test/unit/lib/routing_filter/routing_filter_root_wikipages_spec.rb +40 -0
  362. data/test/unit/lib/routing_filter/routing_filter_sections_spec.rb +143 -0
  363. data/test/unit/lib/routing_filter/routing_filter_sections_test.rb +32 -0
  364. data/test/unit/lib/routing_filter/routing_filter_sets_test.rb +86 -0
  365. data/test/unit/models/article_test.rb +191 -0
  366. data/test/unit/models/category_test.rb +68 -0
  367. data/test/unit/models/content_test.rb +409 -0
  368. data/test/unit/models/counter_test.rb +43 -0
  369. data/test/unit/models/event_test.rb +41 -0
  370. data/test/unit/models/nested_categories_test.rb +34 -0
  371. data/test/unit/models/page_test.rb +63 -0
  372. data/test/unit/models/section_test.rb +315 -0
  373. data/test/unit/models/site_test.rb +199 -0
  374. data/test/unit/observers/activities_article_observer_test.rb +42 -0
  375. data/vendor/gems/belongs_to_cacheable/.gitignore +17 -0
  376. data/vendor/gems/belongs_to_cacheable/Gemfile +4 -0
  377. data/vendor/gems/belongs_to_cacheable/LICENSE +22 -0
  378. data/vendor/gems/belongs_to_cacheable/README.md +29 -0
  379. data/vendor/gems/belongs_to_cacheable/Rakefile +2 -0
  380. data/vendor/gems/belongs_to_cacheable/belongs_to_cacheable.gemspec +22 -0
  381. data/vendor/gems/belongs_to_cacheable/init.rb +1 -0
  382. data/vendor/gems/belongs_to_cacheable/lib/active_record/belongs_to_cacheable.rb +77 -0
  383. data/vendor/gems/belongs_to_cacheable/lib/belongs_to_cacheable.rb +3 -0
  384. data/vendor/gems/belongs_to_cacheable/lib/belongs_to_cacheable/version.rb +3 -0
  385. data/vendor/gems/belongs_to_cacheable/spec/belongs_to_cacheable_spec.rb +52 -0
  386. data/vendor/gems/belongs_to_cacheable/spec/spec_helper.rb +50 -0
  387. data/vendor/gems/filtered_column/.gitignore +17 -0
  388. data/vendor/gems/filtered_column/Gemfile +4 -0
  389. data/vendor/gems/filtered_column/LICENSE +22 -0
  390. data/vendor/gems/filtered_column/README +4 -0
  391. data/vendor/gems/filtered_column/README.md +29 -0
  392. data/vendor/gems/filtered_column/Rakefile +23 -0
  393. data/vendor/gems/filtered_column/filtered_column.gemspec +17 -0
  394. data/vendor/gems/filtered_column/lib/filtered_column.rb +17 -0
  395. data/vendor/gems/filtered_column/lib/filtered_column/filters/base.rb +28 -0
  396. data/vendor/gems/filtered_column/lib/filtered_column/filters/smartypants_filter.rb +14 -0
  397. data/vendor/gems/filtered_column/lib/filtered_column/filters/textile_filter.rb +13 -0
  398. data/vendor/gems/filtered_column/lib/filtered_column/macros/base.rb +25 -0
  399. data/vendor/gems/filtered_column/lib/filtered_column/mixin.rb +46 -0
  400. data/vendor/gems/filtered_column/lib/filtered_column/processor.rb +52 -0
  401. data/vendor/gems/filtered_column/lib/filtered_column/version.rb +3 -0
  402. data/vendor/gems/filtered_column/tasks/filtered_column_tasks.rake +4 -0
  403. data/vendor/gems/filtered_column/test/abstract_unit.rb +73 -0
  404. data/vendor/gems/filtered_column/test/filtered_column_test.rb +53 -0
  405. data/vendor/gems/filtered_column/test/macro_filter_test.rb +23 -0
  406. data/vendor/gems/has_counter/.gitignore +17 -0
  407. data/vendor/gems/has_counter/Gemfile +4 -0
  408. data/vendor/gems/has_counter/LICENSE +22 -0
  409. data/vendor/gems/has_counter/MIT-LICENSE +20 -0
  410. data/vendor/gems/has_counter/README.markdown +64 -0
  411. data/vendor/gems/has_counter/README.md +29 -0
  412. data/vendor/gems/has_counter/Rakefile +2 -0
  413. data/vendor/gems/has_counter/db/migrate/20080601194338_create_counters_table.rb.rb +13 -0
  414. data/vendor/gems/has_counter/has_counter.gemspec +17 -0
  415. data/vendor/gems/has_counter/lib/active_record/has_counter.rb +64 -0
  416. data/vendor/gems/has_counter/lib/counter.rb +23 -0
  417. data/vendor/gems/has_counter/lib/has_counter.rb +4 -0
  418. data/vendor/gems/has_counter/lib/has_counter/version.rb +3 -0
  419. data/vendor/gems/has_counter/spec/has_counter.spec.log +0 -0
  420. data/vendor/gems/has_counter/spec/has_counter.sqlite3.db +0 -0
  421. data/vendor/gems/has_counter/spec/has_counter_spec.rb +55 -0
  422. data/vendor/gems/has_counter/spec/spec_helper.rb +117 -0
  423. data/vendor/gems/has_filter/.gitignore +17 -0
  424. data/vendor/gems/has_filter/Gemfile +4 -0
  425. data/vendor/gems/has_filter/LICENSE +22 -0
  426. data/vendor/gems/has_filter/README.md +29 -0
  427. data/vendor/gems/has_filter/Rakefile +2 -0
  428. data/vendor/gems/has_filter/app/assets/images/has_filter/filter_add.png +0 -0
  429. data/vendor/gems/has_filter/app/assets/images/has_filter/filter_button_left.png +0 -0
  430. data/vendor/gems/has_filter/app/assets/images/has_filter/filter_button_right.png +0 -0
  431. data/vendor/gems/has_filter/app/assets/images/has_filter/filter_remove.png +0 -0
  432. data/vendor/gems/has_filter/app/assets/javascripts/has_filter/filter.js +35 -0
  433. data/vendor/gems/has_filter/app/assets/javascripts/has_filter/jquery.filter.js +23 -0
  434. data/vendor/gems/has_filter/app/assets/stylesheets/has_filter/alternate/filter.css +102 -0
  435. data/vendor/gems/has_filter/app/assets/stylesheets/has_filter/filter.css +100 -0
  436. data/vendor/gems/has_filter/app/helpers/filter_helper.rb +3 -0
  437. data/vendor/gems/has_filter/has_filter.gemspec +17 -0
  438. data/vendor/gems/has_filter/init.rb +3 -0
  439. data/vendor/gems/has_filter/lib/has_filter.rb +22 -0
  440. data/vendor/gems/has_filter/lib/has_filter/active_record/act_macro.rb +102 -0
  441. data/vendor/gems/has_filter/lib/has_filter/filter.rb +17 -0
  442. data/vendor/gems/has_filter/lib/has_filter/filter/base.rb +67 -0
  443. data/vendor/gems/has_filter/lib/has_filter/filter/categorized.rb +24 -0
  444. data/vendor/gems/has_filter/lib/has_filter/filter/chain.rb +45 -0
  445. data/vendor/gems/has_filter/lib/has_filter/filter/set.rb +80 -0
  446. data/vendor/gems/has_filter/lib/has_filter/filter/state.rb +25 -0
  447. data/vendor/gems/has_filter/lib/has_filter/filter/tagged.rb +22 -0
  448. data/vendor/gems/has_filter/lib/has_filter/filter/text.rb +55 -0
  449. data/vendor/gems/has_filter/lib/has_filter/version.rb +3 -0
  450. data/vendor/gems/has_filter/test/db/setup.rb +45 -0
  451. data/vendor/gems/has_filter/test/db/test.sqlite3.db +0 -0
  452. data/vendor/gems/has_filter/test/fixtures.rb +15 -0
  453. data/vendor/gems/has_filter/test/has_filter/filter_chain_test.rb +41 -0
  454. data/vendor/gems/has_filter/test/has_filter/filter_scopes_test.rb +102 -0
  455. data/vendor/gems/has_filter/test/has_filter/filter_tags_test.rb +113 -0
  456. data/vendor/gems/has_filter/test/has_filter/integration.rb +15 -0
  457. data/vendor/gems/has_filter/test/has_filter/scopes_test.rb +48 -0
  458. data/vendor/gems/has_filter/test/log/test.log +34346 -0
  459. data/vendor/gems/has_filter/test/models.rb +23 -0
  460. data/vendor/gems/has_filter/test/templates/has_filter/test/index.html.erb +5 -0
  461. data/vendor/gems/has_filter/test/test_helper.rb +66 -0
  462. data/vendor/gems/simple_taggable/.gitignore +17 -0
  463. data/vendor/gems/simple_taggable/Gemfile +4 -0
  464. data/vendor/gems/simple_taggable/LICENSE +22 -0
  465. data/vendor/gems/simple_taggable/README +24 -0
  466. data/vendor/gems/simple_taggable/README.md +29 -0
  467. data/vendor/gems/simple_taggable/Rakefile +2 -0
  468. data/vendor/gems/simple_taggable/lib/simple_taggable.rb +153 -0
  469. data/vendor/gems/simple_taggable/lib/simple_taggable/version.rb +3 -0
  470. data/vendor/gems/simple_taggable/lib/tag.rb +31 -0
  471. data/vendor/gems/simple_taggable/lib/tag_list.rb +90 -0
  472. data/vendor/gems/simple_taggable/lib/tagging.rb +8 -0
  473. data/vendor/gems/simple_taggable/simple_taggable.gemspec +17 -0
  474. data/vendor/gems/simple_taggable/test/db/schema.rb +41 -0
  475. data/vendor/gems/simple_taggable/test/db/simple_taggable.sqlite3.db +0 -0
  476. data/vendor/gems/simple_taggable/test/fixtures/magazine.rb +3 -0
  477. data/vendor/gems/simple_taggable/test/fixtures/magazines.yml +2 -0
  478. data/vendor/gems/simple_taggable/test/fixtures/photo.rb +8 -0
  479. data/vendor/gems/simple_taggable/test/fixtures/photos.yml +19 -0
  480. data/vendor/gems/simple_taggable/test/fixtures/post.rb +5 -0
  481. data/vendor/gems/simple_taggable/test/fixtures/posts.yml +27 -0
  482. data/vendor/gems/simple_taggable/test/fixtures/subscription.rb +4 -0
  483. data/vendor/gems/simple_taggable/test/fixtures/subscriptions.yml +3 -0
  484. data/vendor/gems/simple_taggable/test/fixtures/taggings.yml +112 -0
  485. data/vendor/gems/simple_taggable/test/fixtures/tags.yml +14 -0
  486. data/vendor/gems/simple_taggable/test/fixtures/user.rb +6 -0
  487. data/vendor/gems/simple_taggable/test/fixtures/users.yml +5 -0
  488. data/vendor/gems/simple_taggable/test/log/simple_taggable.log +1614 -0
  489. data/vendor/gems/simple_taggable/test/simple_taggable_test.rb +226 -0
  490. data/vendor/gems/simple_taggable/test/tag_list_test.rb +105 -0
  491. data/vendor/gems/simple_taggable/test/test_helper.rb +80 -0
  492. data/vendor/gems/table_builder/.gitignore +17 -0
  493. data/vendor/gems/table_builder/Gemfile +4 -0
  494. data/vendor/gems/table_builder/LICENSE +22 -0
  495. data/vendor/gems/table_builder/README.md +29 -0
  496. data/vendor/gems/table_builder/Rakefile +2 -0
  497. data/vendor/gems/table_builder/lib/table_builder.rb +27 -0
  498. data/vendor/gems/table_builder/lib/table_builder/body.rb +28 -0
  499. data/vendor/gems/table_builder/lib/table_builder/cell.rb +21 -0
  500. data/vendor/gems/table_builder/lib/table_builder/column.rb +26 -0
  501. data/vendor/gems/table_builder/lib/table_builder/foot.rb +6 -0
  502. data/vendor/gems/table_builder/lib/table_builder/head.rb +16 -0
  503. data/vendor/gems/table_builder/lib/table_builder/row.rb +40 -0
  504. data/vendor/gems/table_builder/lib/table_builder/rows.rb +26 -0
  505. data/vendor/gems/table_builder/lib/table_builder/table.rb +75 -0
  506. data/vendor/gems/table_builder/lib/table_builder/tag.rb +58 -0
  507. data/vendor/gems/table_builder/lib/table_builder/version.rb +3 -0
  508. data/vendor/gems/table_builder/table_builder.gemspec +17 -0
  509. data/vendor/gems/table_builder/test/fixtures/templates/table_all.html.erb +20 -0
  510. data/vendor/gems/table_builder/test/fixtures/templates/table_auto_body.html.erb +3 -0
  511. data/vendor/gems/table_builder/test/fixtures/templates/table_auto_columns.html.erb +1 -0
  512. data/vendor/gems/table_builder/test/fixtures/templates/table_simple.html.erb +7 -0
  513. data/vendor/gems/table_builder/test/table_builder/table_test.rb +230 -0
  514. data/vendor/gems/table_builder/test/test_helper.rb +49 -0
  515. data/vendor/gems/tags/.gitignore +17 -0
  516. data/vendor/gems/tags/Gemfile +4 -0
  517. data/vendor/gems/tags/LICENSE +22 -0
  518. data/vendor/gems/tags/README.md +29 -0
  519. data/vendor/gems/tags/Rakefile +2 -0
  520. data/vendor/gems/tags/lib/breadcrumbs.rb +13 -0
  521. data/vendor/gems/tags/lib/menu.rb +179 -0
  522. data/vendor/gems/tags/lib/menu/builder.rb +74 -0
  523. data/vendor/gems/tags/lib/tags.rb +7 -0
  524. data/vendor/gems/tags/lib/tags/tag.rb +125 -0
  525. data/vendor/gems/tags/lib/tags/version.rb +3 -0
  526. data/vendor/gems/tags/tags.gemspec +17 -0
  527. data/vendor/gems/tags/test/tags/menu_test.rb +173 -0
  528. data/vendor/gems/tags/test/tags/tag_test.rb +13 -0
  529. data/vendor/gems/tags/test/test_helper.rb +18 -0
  530. data/vendor/gems/xss_terminate/.gitignore +17 -0
  531. data/vendor/gems/xss_terminate/Gemfile +4 -0
  532. data/vendor/gems/xss_terminate/LICENSE +22 -0
  533. data/vendor/gems/xss_terminate/MIT-LICENSE +20 -0
  534. data/vendor/gems/xss_terminate/README +94 -0
  535. data/vendor/gems/xss_terminate/README.md +29 -0
  536. data/vendor/gems/xss_terminate/Rakefile +23 -0
  537. data/vendor/gems/xss_terminate/lib/html5lib_sanitize.rb +2453 -0
  538. data/vendor/gems/xss_terminate/lib/rails_sanitize.rb +8 -0
  539. data/vendor/gems/xss_terminate/lib/xss_terminate.rb +141 -0
  540. data/vendor/gems/xss_terminate/lib/xss_terminate/version.rb +3 -0
  541. data/vendor/gems/xss_terminate/tasks/xss_terminate_tasks.rake +7 -0
  542. data/vendor/gems/xss_terminate/test/models/comment.rb +5 -0
  543. data/vendor/gems/xss_terminate/test/models/entry.rb +7 -0
  544. data/vendor/gems/xss_terminate/test/models/message.rb +3 -0
  545. data/vendor/gems/xss_terminate/test/models/person.rb +5 -0
  546. data/vendor/gems/xss_terminate/test/models/review.rb +5 -0
  547. data/vendor/gems/xss_terminate/test/schema.rb +34 -0
  548. data/vendor/gems/xss_terminate/test/setup_test.rb +16 -0
  549. data/vendor/gems/xss_terminate/test/xss_terminate_test.rb +50 -0
  550. data/vendor/gems/xss_terminate/xss_terminate.gemspec +17 -0
  551. metadata +744 -0
@@ -0,0 +1,26 @@
1
+ ActionDispatch::Callbacks.to_prepare do
2
+ # Multisite (default is false)
3
+ # to run more than one website with your adva_cms installation set this value to true
4
+ Site.multi_sites_enabled = false
5
+
6
+ # How many mails should adva send out per process? (default is 150)
7
+ #
8
+ # Current delivery implementation runs each minute new process until all mails are send out, after
9
+ # that Adva mailer cleans out it's cronjob.
10
+ #
11
+ # However, if you have huge amount of outgoing mails, you better consider to use some dedicated mailer.
12
+ # Adva is saiving outgoing mails to table "adva_emails" except urgent mails like account activisation mails etc.
13
+ # Registry.instance[:number_of_outgoing_mails_per_process] = 150
14
+
15
+ # Outgoing email header
16
+ #
17
+ # When you need custom outgoing email header then uncomment following and add missing info:
18
+ # Registry.instance[:email_header]["Return-path"] = "site@example.org"
19
+ # Registry.instance[:email_header]["Sender"] = "site@example.org"
20
+ # Registry.instance[:email_header]["Reply-To"] = "site@example.org"
21
+ # Registry.instance[:email_header]["Errors-To"] = "errors@example.org"
22
+ # Registry.instance[:email_header]["X-Originator-IP"] = "0.0.0.0"
23
+
24
+ # turn this on to get detailed cache sweeper logging in production mode
25
+ # Site.cache_sweeper_logging = true
26
+ end
@@ -0,0 +1,5 @@
1
+ class SiteFormBuilder < ExtensibleFormBuilder
2
+ after(:site, :default_fields) do |f|
3
+ render :partial => 'admin/sites/email_notifications', :locals => { :f => f }
4
+ end
5
+ end
@@ -0,0 +1,9 @@
1
+ module I18n
2
+ class MissingTranslation
3
+ module Base
4
+ def message
5
+ key.to_s.titleize
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,1295 @@
1
+ en:
2
+ i18n:
3
+ transliterate:
4
+ rule:
5
+ a: a
6
+ activemodel:
7
+ errors:
8
+ models:
9
+ contact:
10
+ blank: can't be empty
11
+ activerecord:
12
+ errors:
13
+ messages:
14
+ only_integer: can only be whole number.
15
+ models:
16
+ comment:
17
+ blank: can't be empty
18
+ invalid: is invalid
19
+ attributes:
20
+ author: Author
21
+ author_name: Author name
22
+ author_email: Author email
23
+ body: Body
24
+ first_name: First name
25
+ last_name: Last name
26
+ phone: Phone
27
+ email: Email
28
+ adva:
29
+ common:
30
+ locale: Locale
31
+ content_locale: Content locale
32
+ about: About
33
+ details: Details
34
+ by_author: by %{author}
35
+ cancel: Cancel
36
+ edit: Edit
37
+ delete: Delete
38
+ hide: Hide
39
+ save: Save
40
+ save_without_revision: Save without Revision
41
+ import: Import
42
+ upload: Upload
43
+ import: Import
44
+ subscribe: Subscribe
45
+ approve: Approve
46
+ unapprove: Unapprove
47
+ language: Language
48
+ none: none
49
+ next: Next
50
+ previous: Previous
51
+ events: Events
52
+ you: You
53
+ connector:
54
+ or: or
55
+ "yes": "yes"
56
+ by_author: by %{author}
57
+ content_categories: "in %{links}<br />"
58
+ content_tags: "tagged: %{links}<br />"
59
+ unknown: unknown
60
+ add: Add
61
+ add_new: add new
62
+ titles:
63
+ accounts: Accounts
64
+ actions: Actions
65
+ activate: Activate
66
+ archives: Archives
67
+ articles: Articles
68
+ contents: Contents
69
+ assets: Assets
70
+ author: Author
71
+ board: Board
72
+ boards: Boards
73
+ cache: Cache
74
+ calendar_events: Events
75
+ categories: Categories
76
+ clear: Clear
77
+ clear_all: Clear all
78
+ comment: Comment
79
+ comments: Comments
80
+ contact_mails: Contact mails
81
+ dashboard: Dashboard
82
+ deactivate: Deactivate
83
+ download: Download
84
+ email_notifications: Email notifications
85
+ events: Events
86
+ files: Files
87
+ filter: Filter
88
+ filters: Filters
89
+ general_settings: General settings
90
+ history: History
91
+ import: Import
92
+ install: adva-cms installation
93
+ issues: Issues
94
+ login: Login
95
+ logout: Logout
96
+ register: Register
97
+ manage: Manage
98
+ meta_tags: Meta tags
99
+ new: New
100
+ new_article: New article
101
+ new_link: New link
102
+ new_quick_search: New quick search
103
+ edit: Edit
104
+ delete: Delete
105
+ home_section: Home section
106
+ newsletters: Newsletters
107
+ options: Options
108
+ overview: Overview
109
+ parent_settings: Parent setting
110
+ pending: Pending
111
+ permalink: Permalink
112
+ permissions: Permissions
113
+ photos: Photos
114
+ plugin: Plugin
115
+ plugins: Plugins
116
+ posts: Posts
117
+ preview: Preview
118
+ publish_in_categories: Publish in these categories
119
+ published: Published
120
+ quick_search: Quick Search
121
+ quick_searches: Quick Searches
122
+ recently_logged_in: Recently logged in
123
+ restore_defaults: Restore Defaults
124
+ roles: Roles
125
+ sections: Sections
126
+ sets: Sets
127
+ settings: Settings
128
+ show: Show
129
+ site: Site
130
+ sites: Sites
131
+ spam_filters: Spam filters
132
+ spam_protection: Spam protection
133
+ subscriptions: Subscriptions
134
+ success: Success!
135
+ tags: Tags
136
+ templates: Templates
137
+ theme: Theme
138
+ themes: Themes
139
+ topic: Topic
140
+ topics: Topics
141
+ tracking: Tracking
142
+ upload: Upload
143
+ users: Users
144
+ view: View
145
+ website: Website
146
+ website_configuration: Website configuration
147
+ wikipages: Pages
148
+ admin_account: Admin account
149
+ links:
150
+ back: Back
151
+ create_one_now: Create one now. &raquo;
152
+ delete: Delete
153
+ edit: Edit
154
+ view: View
155
+ next: next
156
+ previous: previous
157
+ login: Log In
158
+ logout: Logout
159
+ profile: Profile
160
+ reorder: Reorder
161
+ sites_overview: Sites overview
162
+ skip_to_content: Skip to Content
163
+ skip_to_navigation: Skip to Navigation
164
+ superusers_admins: Superusers + Admins
165
+ entries_feed: Entries feed
166
+ comments_feed: Comments feed
167
+ labels:
168
+ author_name: Name
169
+ author_email: E-Mail
170
+ body: Body
171
+ filters: Filters
172
+ email: E-mail
173
+ subject: Subject
174
+ submit: Submit
175
+ hints:
176
+ tags: Enter one or more tags separated by a space. You may include spaces by enclosing a tag with quotes. (For example, <em>"Web Dev" Tutorials</em>).
177
+ content_translations: Click to change the translation to edit. To add another translation, use the locales option in the menu on the right.
178
+ locale: Choose what region or language your article should be formatted for.
179
+ filter: How is your content written? If you used the graphical text editor, use the default Plain HTML option. Otherwise, choose your markup languange.
180
+ meta_keywords: Enter a few words separated by commas to describe your content. Meta keywords make it easier for search engines to find your page.
181
+ meta_description: Enter a short description of this page so a search engine can tell users what they can find here.
182
+ template: Enter the location (like “Templates/*”) of the template that articles in this section should use. If you're unsure, leave this field blank.
183
+ layout: Enter the location (like “Layouts/*”) of the layout that articles in this section should use. If you're unsure, leave this field blank.
184
+ akismet: Askimet is a third-party service to filter spam. If you've signed up for the service, enter your API Key and URL and check the box to enable this service.
185
+ defensio: Defensio is a third-party service to filter spam. If you've signed up for the service, enter your API Key and URL and check the box to enable this service.
186
+ roles: Choose which areas this user can access on the site.
187
+ categories: "Avoid names countaining only 4 or 2 digits!"
188
+ sets: "Avoid names countaining only 4 or 2 digits!"
189
+ messages:
190
+ insufficient_permissions:
191
+ title: Insufficient permissions
192
+ body: If you think you should be allowed to perform this action please contact the admin of this site and ask him to reconfigure your permissions.
193
+ not_editable: "Sorry, but it's not editable!"
194
+ resources:
195
+ links:
196
+ view: View
197
+ show: Show
198
+ new: New
199
+ edit: Edit
200
+ delete: Delete
201
+ reorder: Reorder
202
+ reordering_done: Done reordering
203
+ confirm_delete: "Are you sure you want to delete this item?"
204
+ state:
205
+ draft: Draft
206
+ published: Published
207
+ hold: On hold
208
+ queued: Queued
209
+ delivered: Delivered
210
+ sites:
211
+ email_notification_activated: "Activate Email notifcations"
212
+ title:
213
+ create: Create a new site
214
+ hints:
215
+ host_name: Include the port if it's a non-standard one. E.g. localhost:3000
216
+ admin_email: Shown in emails sent from your site
217
+ email_notification: "If email notifications are activated, an email is sent to administrators every time content is created or updated. No emails are sent if notifications are deactivated."
218
+ attributes:
219
+ name: Name
220
+ host: Host
221
+ install:
222
+ success_fully_created: You have successfully created your site. Enjoy!
223
+ welcome_to_installation: "Welcome to adva-cms' less-than-one-minute installation process. Just fill in the information below and you're done."
224
+ can_always_change_settings: Don't worry. You can always change these settings later.
225
+ section_default: Home
226
+ no_sites: You currently do not have any sites created.
227
+ no_users: Site does not have any users.
228
+ links:
229
+ index: Sites
230
+ new: New
231
+ edit: Settings
232
+ show: Show
233
+ delete: Delete
234
+ create_site_and_account: "Create site & account \xC2\xBB"
235
+ manage_new: Manage your new site &raquo;
236
+ flash:
237
+ destroy:
238
+ success: The site has been deleted.
239
+ failure: The site could not be deleted
240
+ install:
241
+ error_already_complete: Installation is already complete. Please log in with your admin account.
242
+ success: Congratulations! You have successfully set up your site.
243
+ failure: "The following models could not be created: %{models}."
244
+ create:
245
+ success: The site has been created.
246
+ failure: The site could not be created
247
+ update:
248
+ success: The site has been updated.
249
+ failure: The site could not be updated
250
+ label:
251
+ name: Website name
252
+ title: Website title
253
+ timezone: Website Timezone
254
+ admin_email: Administrator email
255
+ subtitle: Website subtitle
256
+ host: Host name
257
+ confirm_delete: Are you sure you want to delete this site?
258
+ sections:
259
+ hints:
260
+ content_filter: How should your articles be read? The default option is Plain HTML.
261
+ sections: "Listed here are all the sections currently on your site. Whichever section is on top is the default homepage."
262
+ reorder: "You can use the reorder option to set your home root to different section and to reorder your sections. If you want to nest your sections you can drag the section to the right and its gets set as a child of the upper section. Finish the reordering by clicking the reorder button. Please note that this option is only available when you have 2 or more sections."
263
+ parent_setting: Choosing a parent for your section will nest this section under the chosen parent. Leave empty if you want to create this section as a root section.
264
+ parent_setting_for_edit: "You can use the reorder button on the index page of sections to nest and reorder your sections, you can find further instructions for this on the index page help hints."
265
+ permalink: "You can use normal letters and special letters like scandinavian letters but avoid special characters like $%&!"
266
+ publish: "Uncheck this if you don't want this section published."
267
+ titles:
268
+ page_settings: Page specific settings
269
+ blog_settings: Blog specific settings
270
+ forum_settings: Forum specific settings
271
+ create: Create a new section
272
+ behaviour: Behaviour
273
+ publish: Publish option
274
+ links:
275
+ save_and_create_new: Save and create another section
276
+ index: Sections
277
+ new: Create a new section
278
+ show: Show
279
+ edit: Settings
280
+ delete: Delete
281
+ add_section: Add a section
282
+ reorder: Reorder sections
283
+ create: Create a new section
284
+ settings:
285
+ single_article_mode: Single article per page
286
+ multi_article_mode: Multiple articles per page
287
+ confirm_delete: Are you sure you want to delete this section?
288
+ flash:
289
+ destroy:
290
+ success: The section has been deleted.
291
+ failure: The section could not be deleted.
292
+ create:
293
+ success: The section has been created.
294
+ failure: The section could not be created.
295
+ update:
296
+ success: The section has been updated.
297
+ failure: The section could not be updated.
298
+ total_with_count:
299
+ one: "Total: %{count} section"
300
+ other: "Total: %{count} sections"
301
+ blog:
302
+ titles:
303
+ date: "from %{date}"
304
+ about: "about %{category}"
305
+ tags: "tagged %{tags}"
306
+ articles: "Articles %{articles}"
307
+ show_articles: "Show articles:"
308
+ manage: Manage
309
+ actions: Actions
310
+ links:
311
+ articles: Articles
312
+ categories: Categories
313
+ settings: Settings
314
+ create_article: Create a new article
315
+ create_article_now: "Create one now &raquo;"
316
+ more: Read the rest of this entry
317
+ options:
318
+ filter:
319
+ category: in category
320
+ tags: tagged with
321
+ title: whose title contains
322
+ body: whose body contains
323
+ draft: not published
324
+ tabs:
325
+ article: Article
326
+ comments: Comments
327
+ published: Published
328
+ author: Author
329
+ feeds:
330
+ category: Category %{category}
331
+ tags:
332
+ one: "Tag: %{tags}"
333
+ other: "Tags: %{tags}"
334
+ no_articles: "There are no articles in %{section}."
335
+ no_filtered_articles: "There are no articles matching that criteria."
336
+ attribution: "by: %{author}"
337
+ categories:
338
+ columns:
339
+ title: Title
340
+ category: Category
341
+ attributes:
342
+ name: name
343
+ hints:
344
+ reorder: "You can use the reorder option to reorder your categories. If you want to nest your categories you can drag the category to the right and its gets set as a child of the upper category. Finish the reordering by clicking the reorder button. Please note that this option is only available when you have 2 or more categories."
345
+ parent_setting: "Choosing a parent for your category will nest this category under the chosen parent. Leave empty if you want to create this category as a root category."
346
+ parent_setting_for_edit: "You can use the reorder button on the index page of categories to nest and reorder your categories, you can find further instructions for this on the index page help hints."
347
+ permalink: "You can use normal letters and special letters like scandinavian letters but avoid special characters like $%&!"
348
+ titles:
349
+ edit: Edit category
350
+ new: Create a new category
351
+ no_categories_in_section: There are no categories in %{section}.
352
+ total_with_count:
353
+ one: "Total: %{count} category"
354
+ other: "Total: %{count} categories"
355
+ links:
356
+ index: Categories
357
+ new: New
358
+ edit: Edit
359
+ delete: Delete
360
+ reorder: Reorder categories
361
+ create_now: "Create one now &raquo;"
362
+ flash:
363
+ destroy:
364
+ success: The category has been deleted.
365
+ failure: The category could not be deleted.
366
+ create:
367
+ success: The category has been created.
368
+ failure: The category could not be created.
369
+ update:
370
+ success: The category has been updated.
371
+ failure: The category could not be updated.
372
+ confirm_delete: Are you sure you want to delete this category?
373
+ all: "&mdash; All categories &mdash;"
374
+ contents:
375
+ not_published: not published
376
+ articles:
377
+ optimistic_lock:
378
+ exception:
379
+ missing_timestamp: "Can not update article: timestamp missing. Please make sure that your form has a hidden field: updated_at."
380
+ count:
381
+ one: "%{count} article"
382
+ other: "%{count} articles"
383
+ published_count: "%{count} published"
384
+ draft_count:
385
+ one: "%{count} draft"
386
+ other: "%{count} drafts"
387
+ columns:
388
+ type: Type
389
+ article: Article
390
+ title: Title
391
+ comments: Comments
392
+ published: Published
393
+ author: Author
394
+ translation_links: "available translations: %{locales}"
395
+ locale_for_record: "Locale for this article: "
396
+ write_article: Write your article
397
+ question_save_as_draft: Save as Draft?
398
+ confirm_save_as_draft: Yes, save this article as a draft
399
+ titles:
400
+ edit: Edit article
401
+ new: New article
402
+ total_with_count:
403
+ one: "Total: %{count} article"
404
+ other: "Total: %{count} articles"
405
+ links:
406
+ index: Articles
407
+ new: New
408
+ edit: Edit
409
+ show: Show
410
+ delete: Delete
411
+ preview: Preview
412
+ create_now: Create one now
413
+ excerpt_add: Add an excerpt
414
+ no_articles: "There are no articles in %{section}."
415
+ no_filtered_articles: "There are no articles matching that criteria."
416
+ publish_on_date: Publish on this date
417
+ flash:
418
+ optimistic_lock:
419
+ failure: In the meantime this article has been updated by someone else. Please resolve any conflicts.
420
+ destroy:
421
+ success: The article has been deleted.
422
+ failure: The article could not be deleted.
423
+ rollback:
424
+ success: The article has been rolled back to revision %{version}
425
+ failure: The article could not be rolled back to revision %{version}
426
+ create:
427
+ success: The article has been created.
428
+ failure: The article could not be created.
429
+ update:
430
+ success: The article has been updated.
431
+ failure: The article could not be updated.
432
+ confirm_delete: Are you sure you want to delete this article?
433
+ attributes:
434
+ excerpt: Excerpt
435
+ #Added this -----------------
436
+ contents:
437
+ optimistic_lock:
438
+ exception:
439
+ missing_timestamp: "Can not update content: timestamp missing. Please make sure that your form has a hidden field: updated_at."
440
+ count:
441
+ one: "%{count} content"
442
+ other: "%{count} contents"
443
+ published_count: "%{count} published"
444
+ draft_count:
445
+ one: "%{count} draft"
446
+ other: "%{count} drafts"
447
+ columns:
448
+ address: Address
449
+ content: Link
450
+ comments: Comments
451
+ published: Published
452
+ author: Author
453
+ translation_contents: "available translations: %{locales}"
454
+ locale_for_record: "Locale for this content: "
455
+ write_content: Enter the content address
456
+ question_save_as_draft: Save as Draft?
457
+ confirm_save_as_draft: Yes, save this content as a draft
458
+ titles:
459
+ edit: Edit content
460
+ new: New content
461
+ total_with_count:
462
+ one: "Total: %{count} content"
463
+ other: "Total: %{count} contents"
464
+ links:
465
+ index: Contents
466
+ new: New
467
+ edit: Edit
468
+ show: Show
469
+ delete: Delete
470
+ preview: Preview
471
+ create_now: Create one now
472
+ no_contents: "There are no contents in %{section}."
473
+ no_filtered_contents: "There are no contents matching that criteria."
474
+ publish_on_date: Publish on this date
475
+ flash:
476
+ optimistic_lock:
477
+ failure: In the meantime this content has been updated by someone else. Please resolve any conflicts.
478
+ destroy:
479
+ success: The content has been deleted.
480
+ failure: The content could not be deleted.
481
+ rollback:
482
+ success: The content has been rolled back to revision %{version}
483
+ failure: The content could not be rolled back to revision %{version}
484
+ create:
485
+ success: The content has been created.
486
+ failure: The content could not be created.
487
+ update:
488
+ success: The content has been updated.
489
+ failure: The content could not be updated.
490
+ confirm_delete: Are you sure you want to delete this content?
491
+ quick_searches:
492
+ back: Back
493
+ create_one_now: Create one now. &raquo;
494
+ delete: Delete
495
+ edit: Edit
496
+ view: View
497
+ next: next
498
+ previous: previous
499
+ login: Log In
500
+ logout: Logout
501
+ profile: Profile
502
+ reorder: Reorder
503
+ sites_overview: Sites overview
504
+ skip_to_content: Skip to Content
505
+ skip_to_navigation: Skip to Navigation
506
+ superusers_admins: Superusers + Admins
507
+ entries_feed: Entries feed
508
+ comments_feed: Comments feed
509
+
510
+ optimistic_lock:
511
+ exception:
512
+ missing_timestamp: "Can not update quick search: timestamp missing. Please make sure that your form has a hidden field: updated_at."
513
+ count:
514
+ one: "%{count} quick search"
515
+ other: "%{count} quick searches"
516
+ published_count: "%{count} published"
517
+ draft_count:
518
+ one: "%{count} draft"
519
+ other: "%{count} drafts"
520
+ columns:
521
+ address: Address
522
+ quick_search: Quick search
523
+ comments: Comments
524
+ published: Published
525
+ author: Author
526
+ translation_quick_searches: "available translations: %{locales}"
527
+ locale_for_record: "Locale for this quick search: "
528
+ write_quick_search: Enter the quick search address
529
+ question_save_as_draft: Save as Draft?
530
+ confirm_save_as_draft: Yes, save this quick search as a draft
531
+ titles:
532
+ edit: Edit quick search
533
+ new: New quick search
534
+ total_with_count:
535
+ one: "Total: %{count} quick search"
536
+ other: "Total: %{count} quick searches"
537
+ quick_searches:
538
+ index: Quick searches
539
+ new: New
540
+ edit: Edit
541
+ show: Show
542
+ delete: Delete
543
+ preview: Preview
544
+ create_now: Create one now
545
+ no_quick_searches: "There are no quick searches in %{section}."
546
+ no_filtered_quick_searches: "There are no quick searches matching that criteria."
547
+ publish_on_date: Publish on this date
548
+ flash:
549
+ optimistic_lock:
550
+ failure: In the meantime this quick search has been updated by someone else. Please resolve any conflicts.
551
+ destroy:
552
+ success: The quick search has been deleted.
553
+ failure: The quick search could not be deleted.
554
+ rollback:
555
+ success: The quick search has been rolled back to revision %{version}
556
+ failure: The quick search could not be rolled back to revision %{version}
557
+ create:
558
+ success: The quick search has been created.
559
+ failure: The quick search could not be created.
560
+ update:
561
+ success: The quick search has been updated.
562
+ failure: The quick search could not be updated.
563
+ confirm_delete: Are you sure you want to delete this quick search?
564
+ links:
565
+ back: Back
566
+ create_one_now: Create one now. &raquo;
567
+ delete: Delete
568
+ edit: Edit
569
+ view: View
570
+ next: next
571
+ previous: previous
572
+ login: Log In
573
+ logout: Logout
574
+ profile: Profile
575
+ reorder: Reorder
576
+ sites_overview: Sites overview
577
+ skip_to_content: Skip to Content
578
+ skip_to_navigation: Skip to Navigation
579
+ superusers_admins: Superusers + Admins
580
+ entries_feed: Entries feed
581
+ comments_feed: Comments feed
582
+
583
+ optimistic_lock:
584
+ exception:
585
+ missing_timestamp: "Can not update link: timestamp missing. Please make sure that your form has a hidden field: updated_at."
586
+ count:
587
+ one: "%{count} link"
588
+ other: "%{count} links"
589
+ published_count: "%{count} published"
590
+ draft_count:
591
+ one: "%{count} draft"
592
+ other: "%{count} drafts"
593
+ columns:
594
+ address: Address
595
+ link: Link
596
+ comments: Comments
597
+ published: Published
598
+ author: Author
599
+ translation_links: "available translations: %{locales}"
600
+ locale_for_record: "Locale for this link: "
601
+ write_link: Enter the link address
602
+ question_save_as_draft: Save as Draft?
603
+ confirm_save_as_draft: Yes, save this link as a draft
604
+ titles:
605
+ edit: Edit link
606
+ new: New link
607
+ total_with_count:
608
+ one: "Total: %{count} link"
609
+ other: "Total: %{count} links"
610
+ links:
611
+ index: Links
612
+ new: New
613
+ edit: Edit
614
+ show: Show
615
+ delete: Delete
616
+ preview: Preview
617
+ create_now: Create one now
618
+ no_links: "There are no links in %{section}."
619
+ no_filtered_links: "There are no links matching that criteria."
620
+ publish_on_date: Publish on this date
621
+ flash:
622
+ optimistic_lock:
623
+ failure: In the meantime this link has been updated by someone else. Please resolve any conflicts.
624
+ destroy:
625
+ success: The link has been deleted.
626
+ failure: The link could not be deleted.
627
+ rollback:
628
+ success: The link has been rolled back to revision %{version}
629
+ failure: The link could not be rolled back to revision %{version}
630
+ create:
631
+ success: The link has been created.
632
+ failure: The link could not be created.
633
+ update:
634
+ success: The link has been updated.
635
+ failure: The link could not be updated.
636
+ confirm_delete: Are you sure you want to delete this link?
637
+ cached_pages:
638
+ links:
639
+ index: Cache
640
+ clear_all: Clear all
641
+ columns:
642
+ url: URL
643
+ cached_at: Cached
644
+ no_entries: There currently aren't any pages being cached.
645
+ confirmation:
646
+ cleared: This page has been removed from the cache.
647
+ cleared_short: Cleared
648
+ filter:
649
+ show_cached_pages: Show cached pages
650
+ total_with_count:
651
+ one: "Total: %{count} cached page"
652
+ other: "Total: %{count} cached pages"
653
+ no_entries_matching_criteria: There currently aren't any pages being cached that match this criteria.
654
+ flash:
655
+ clear:
656
+ success: The cache has been cleared.
657
+ comments:
658
+ said_time_ago: said %{time} ago
659
+ flash:
660
+ thank_you: Thank you for the comment!
661
+ create:
662
+ success: The comment has been created.
663
+ failure: The comment could not be created.
664
+ update:
665
+ success: The comment has been updated.
666
+ failure: The comment could not be updated.
667
+ destroy:
668
+ success: The comment has been deleted.
669
+ failure: The comment could not be deleted.
670
+ links:
671
+ delete: Delete
672
+ edit: Edit
673
+ approve: Approve
674
+ view: View
675
+ unapprove: Unapprove
676
+ titles:
677
+ comments_awaiting_approval: Comments awaiting your approval
678
+ save_comment: Save Comment
679
+ comment_on_by: "Comment on '%{on}' by %{by}"
680
+ add_reply: Leave your reply
681
+ comment_number: "Comment #%{number}"
682
+ edit: Edit comment
683
+ comments_on: Comments on %{location}
684
+ submit_comment: Submit Comment
685
+ your_reply: Your reply
686
+ comment_with_count:
687
+ one: 1 Comment
688
+ other: "%{count} Comments"
689
+ filter:
690
+ show_comments: Show comments
691
+ options:
692
+ all: All
693
+ body: Whose body contains
694
+ author_name: Whose author is
695
+ author_email: Author's email is
696
+ author_url: Author's website is
697
+ state: Whose state is
698
+ go: Go
699
+ state:
700
+ options:
701
+ approved: Approved
702
+ unapproved: Unapproved
703
+ options:
704
+ expiration:
705
+ not_allowed: Are not allowed
706
+ never_expire: Never expire
707
+ x_hours_after_publishing:
708
+ one: Expire 1 hour after publishing
709
+ other: Expire %{count} hours after publishing
710
+ x_weeks_after_publishing:
711
+ one: Expire 1 week after publishing
712
+ other: Expire %{count} weeks after publishing
713
+ x_months_after_publishing:
714
+ one: Expire 1 month after publishing
715
+ other: Expire %{count} months after publishing
716
+ labels:
717
+ "on": "on"
718
+ comments: Comments
719
+ approved: Approved
720
+ hints:
721
+ comments_filter: Which markup should be used to read comments? The default is Plain HTML.
722
+ confirm_delete: Are you sure you want to delete this comment?
723
+ info:
724
+ under_review: This comment is currently under review.
725
+ messages:
726
+ not_allowed: "Comments are not allowed here."
727
+ no_comments: There are no comments.
728
+ no_filtered_comments: There are no comments matching your query.
729
+ signup:
730
+ notifications:
731
+ email_verification:
732
+ subject: Email Verification
733
+ body: |
734
+ Dear %{name},
735
+
736
+ You recently registered for our service. Our service requires
737
+ all new users to verify their email address. Simply click the link below and
738
+ your username will be verified allowing you to login.
739
+
740
+ %{link}
741
+ flash:
742
+ destroy:
743
+ success: The user account %{name} has been deleted.
744
+ create:
745
+ failure: Your registration could not be saved.
746
+ verify:
747
+ success: You successfully confirmed your email address.
748
+ failure: You have already verified your email address.
749
+ passwords:
750
+ attributes:
751
+ token: Confirmation code
752
+ links:
753
+ reset: Reset password
754
+ info:
755
+ please_enter_email_to_reset_password: Please enter your email address. An email will be sent to you which will include a link to reset your password.
756
+ please_enter_new_password: Please enter your new password.
757
+ please_enter_new_password_and_token: Please enter the confirmation code you received via email and your new password.
758
+ titles:
759
+ new: Reset your password
760
+ edit: Change your password
761
+ notifications:
762
+ password_updated:
763
+ subject: Password Updated
764
+ body: |
765
+ Dear %{name},
766
+
767
+ you have successfully updated your password.
768
+ reset_password:
769
+ subject: Forgotton Password
770
+ body: |
771
+ Dear %{name},
772
+
773
+ Someone (hopefully you) has indicated that you cannot remember your password.
774
+ To let you reset your password we have provided a link below that will allow
775
+ you to reset your password.
776
+
777
+ %{link}
778
+
779
+ Alternatively, if your browser window is still open, you can use the following
780
+ confirmation code together with your new password:
781
+
782
+ %{token}
783
+
784
+ It is suggested you reset your password as soon as possible since this is a
785
+ time-limited link (to protect your account).
786
+
787
+ If you did not request that your password be changed someone must have
788
+ entered your account in the "Forgot password" page on our site. Your account is
789
+ still perfectly safe since you were the only person this message was sent to.
790
+ Simply delete this message and no changes will be made to your account if this
791
+ message was sent in error.
792
+ flash:
793
+ new:
794
+ email_sent: We just sent you a notice. Please check your email.
795
+ no_such_user: We could not find a user with the email address you entered.
796
+ create:
797
+ notification: "If the given email address exists in our system, we have just sent you an email with information on how to reset your password."
798
+ update:
799
+ success: Your password was changed successfully.
800
+ failure: Your password could not be changed.
801
+ session:
802
+ flash:
803
+ destroy:
804
+ success: Logged out successfully.
805
+ create:
806
+ success: Logged in successfully.
807
+ failure: Could not login with this email and password.
808
+ labels:
809
+ remember_me: Remember me
810
+ users:
811
+ attributes:
812
+ new_password: New password
813
+ password: Password
814
+ email: E-Mail
815
+ links:
816
+ new: Add a new user
817
+ create_user: Create user
818
+ edit: Edit
819
+ delete: Delete
820
+ actions:
821
+ delete_user: Delete this user
822
+ create_new: Create a new user
823
+ titles:
824
+ new: New user
825
+ edit: Edit user
826
+ register: Register a user account
827
+ signup: Sign up
828
+ your_profile: Your Profile
829
+ flash:
830
+ not_member_of_this_site: The user you requested is not a member of this site.
831
+ destroy:
832
+ success: The user account has been deleted.
833
+ failure: The user account could not be deleted.
834
+ create:
835
+ success: The user account has been created.
836
+ failure: The user account could not be created.
837
+ update:
838
+ success: The user account has been updated.
839
+ failure: The user account could not be updated.
840
+ labels:
841
+ updated_at: Last login
842
+ url: Homepage
843
+ created_at: Created
844
+ email: Email
845
+ info:
846
+ showed_up: "showed up: %{time_ago} ago"
847
+ logged_in_as: "Logged in as: %{name}"
848
+ confirm_delete: Are you sure you want to delete this user account?
849
+ roles:
850
+ hints:
851
+ superuser: "<strong>A superuser</strong> can do anything on all sites of your account. Only a superuser can create sites for an account."
852
+ admin: "<strong>An admin</strong> for site '%{site}' can do anything on this site."
853
+ designer: "<strong>A designer</strong> for site '%{site}' can do anything a moderator can do on this site. Above that, a designer can manage themes for this site."
854
+ moderator: "<strong>A moderator</strong> for site '%{site}' can do anything an author can do on this site. Above that, a moderator has permissions for managing forums' boards and topics, as well as comments, wikipages and newsletters."
855
+ author: "<strong>An author</strong> for site '%{site}' can basically manage all contents for this site, e.g. articles. An author is not allowed to manage themes, comments, forums and newsletters. He is allowed to write newsletter issues for an existing newsletter."
856
+ user: "<strong>A live user</strong> for website '%{site}' is at no point allowed to access the admin area of your site. A live user can login on your website and use available feature, e.g. write comments."
857
+ labels:
858
+ admin_for: "Admin for %{context}"
859
+ superuser: Superuser
860
+ moderator_for: "Moderator for %{context}"
861
+ author_for: "Author for %{context}"
862
+ designer_for: "Designer for %{context}"
863
+ user_for: "Live User for website %{context}"
864
+ errors:
865
+ messages:
866
+ role_required: "You need one of the following roles to perform this action: %{roles}"
867
+ not_admin: You need to be an admin to perform this action.
868
+ not_user: You need to be logged in to perform this action.
869
+ not_superuser: You need to be a superuser to perform this action.
870
+ not_author: You need to be the author of this object to perform this action.
871
+ not_moderator: You need to be a moderator to perform this action.
872
+
873
+ assets:
874
+ links:
875
+ new: New asset
876
+ flash:
877
+ upload:
878
+ failure: The asset upload failed.
879
+ update:
880
+ success: The asset has been updated.
881
+ failure: The asset update failed.
882
+ delete:
883
+ success: "Deleted %{filename}"
884
+ failure: The asset update failed.
885
+ destroy:
886
+ success: "%{asset} detached from this %{content}."
887
+ create:
888
+ first_success: "'%{asset}' was uploaded."
889
+ success:
890
+ one: "One asset was uploaded."
891
+ other: "%{count} assets were uploaded."
892
+ add:
893
+ success: "%{asset} added to bucket."
894
+ clear:
895
+ success: Asset bucket has been cleared.
896
+ validation:
897
+ duplicate: Cannot have a duplicate assignment for this content and asset
898
+ tab:
899
+ attached:
900
+ title: Attached assets
901
+ name: Attached
902
+ latest:
903
+ title: Latest assets uploaded
904
+ name: Latest
905
+ bucket:
906
+ title: Your asset bucket
907
+ name: Bucket
908
+ search:
909
+ title: Search for assets
910
+ name: Search
911
+ upload:
912
+ title: Upload new assets
913
+ name: Upload
914
+ audio: Audio
915
+ movies: Movies
916
+ pictures: Pictures
917
+ others: Others
918
+ tags: Tags
919
+ title: Title
920
+ new: New asset
921
+ add_to_bucket: Add to bucket
922
+ no_files: You do not have any files yet.
923
+ no_files_filtered: You do not have any files matching these criteria.
924
+ upload: 'Upload one now &raquo;'
925
+ enter_tags: 'Enter one or more tags separated by a comma or a space (for example, <em>"Web Dev" Tutorials</em> or <em>Web Dev, Tutorials</em>).'
926
+ save: Save Asset
927
+ your_bucket: Your bucket
928
+ add_files: Add files to your bucket temporarily in order to carry them with you when creating or revising articles.
929
+ upload_summary:
930
+ one: You have a uploaded <strong>one asset</strong>, using <strong>%{size}</strong>.
931
+ other: You have a uploaded a total of <strong>%{count} assets</strong>, using <strong>%{size}</strong>.
932
+ stats: Some stats
933
+ labels:
934
+ upload:
935
+ files: Select files to upload
936
+ title: Title
937
+ tags: Tags
938
+ delete: remove this file field
939
+ tag_all: Apply tags to all
940
+ add_file: Add another file
941
+ select_file: Select a file
942
+ edit_asset: Edit this asset
943
+ delete_asset: Delete this asset
944
+ clear_bucket: Clear
945
+ upload: Upload an asset
946
+ confirm_delete: Are you sure you want to delete this asset?
947
+ search_by_tag_or_title: Search by tag or title
948
+ empty_bucket: Your bucket is empty.
949
+ themes:
950
+ no_themes_available: You currently do not have any themes created.
951
+ hints:
952
+ asset_caching: "When caching your stylesheets/javascripts use either /cache/ folder or filename starting with cache_ word. All the files are recursively destroyed from cache/ folder and all files starting with cache_ are removed, everything else stays unaffected."
953
+ lables:
954
+ zip_file: Zip file
955
+ titles:
956
+ new: Create a new theme
957
+ edit: "Edit theme: %{theme}"
958
+ valid_file_types: Valid file types
959
+ import: Import a theme
960
+ edit_file: Edit theme file
961
+ theme_id: Theme ID
962
+ links:
963
+ index: Themes
964
+ add_another_file: Add another file
965
+ new: New
966
+ edit: Edit
967
+ activate: Activate
968
+ deactivate: Deactivate
969
+ delete: Delete
970
+ create_one_now: Create one now. &raquo;
971
+ delete_file: Delete theme file
972
+ uninstall: Uninstall
973
+ download: Download
974
+ upload_file: Upload a new file
975
+ import: Import
976
+ create_file: Create a new file
977
+ upload_template_or_asset: Upload a template or an asset.
978
+ labels:
979
+ asssets: Assets
980
+ templates: Templates
981
+ filename: Filename
982
+ confirm_activate: Are you sure you want to activate this theme?
983
+ confirm_deactivate: Are you sure you want to deactivate this theme?
984
+ confirm_delete: Are you sure you want to delete this theme?
985
+ confirm_uninstall: Are you sure you want to uninstall this theme? (You won't be able to recover it.)
986
+ flash:
987
+ destroy:
988
+ success: The theme has been deleted.
989
+ failure: The theme could not be deleted.
990
+ create:
991
+ success: The theme has been created.
992
+ failure: "The theme could not be created: %{errors}."
993
+ update:
994
+ success: The theme has been updated.
995
+ failure: "The theme could not be updated: %{errors}."
996
+ import:
997
+ success: The theme has been imported.
998
+ error_filename_blank: The theme file cannot be blank.
999
+ failure: The file does not have a valid theme file structure.
1000
+
1001
+ # yuk!
1002
+ theme_templates:
1003
+ columns:
1004
+ path: Path
1005
+ theme_stylesheets:
1006
+ columns:
1007
+ path: Path
1008
+ theme_javascripts:
1009
+ columns:
1010
+ path: Path
1011
+ theme_images:
1012
+ columns:
1013
+ path: Path
1014
+ theme_others:
1015
+ columns:
1016
+ path: Path
1017
+
1018
+ theme_files:
1019
+ no_files: You currently do not have any files available.
1020
+ remove_file: Remove file
1021
+ add_file: Add file
1022
+ columns:
1023
+ path: Path
1024
+ type: Type
1025
+ links:
1026
+ create_one_now: Create one now. &raquo;
1027
+ new_file: New File
1028
+ new: New
1029
+ edit: Edit
1030
+ delete: Delete
1031
+ upload: Upload
1032
+ confirm_delete: Are you sure you want to delete this file?
1033
+ types:
1034
+ template: Template
1035
+ templates: Templates
1036
+ image: Image
1037
+ images: Images
1038
+ javascript: Javascript
1039
+ javascripts: Javascripts
1040
+ stylesheet: Stylesheet
1041
+ stylesheets: Stylesheets
1042
+ preview: Preview
1043
+ others: Others
1044
+ flash:
1045
+ destroy:
1046
+ success: The file has been deleted.
1047
+ failure: The file could not be deleted.
1048
+ create:
1049
+ success: The file has been created.
1050
+ failure: The file could not be created.
1051
+ update:
1052
+ success: The file has been updated.
1053
+ failure: The file could not be updated.
1054
+ titles:
1055
+ upload: Upload a theme file
1056
+ create: Create theme file
1057
+ plugins:
1058
+ no_plugins_installed: There currently aren't any plugins installed.
1059
+ attributes:
1060
+ name: Name
1061
+ configurable: Configurable
1062
+ author: Author
1063
+ version: Version
1064
+ homepage: Homepage
1065
+ flash:
1066
+ destroy:
1067
+ success: The default settings have been restored.
1068
+ failure: The section could not be deleted.
1069
+ update:
1070
+ success: The plugin settings have been updated.
1071
+ failure: The section could not be created.
1072
+ no_config_options_available: This plugin does not have any config options available.
1073
+ settings:
1074
+ filter_options:
1075
+ plain_html: Plain HTML
1076
+ forums:
1077
+ info:
1078
+ total_contents: This forum has total of %{boards} boards, %{topics} topics and %{posts} posts.
1079
+ settings:
1080
+ post_content_filter: 'When forum posts are posted, they use this as a default setting.'
1081
+ boards:
1082
+ columns:
1083
+ title: Title
1084
+ description: Description
1085
+ topics_count: Topics count
1086
+ posts_count: Posts count
1087
+ boards_count:
1088
+ one: "%{count} board"
1089
+ other: "%{count} boards"
1090
+ topics_count:
1091
+ one: "%{count} topic"
1092
+ other: "%{count} topics"
1093
+ posts_count:
1094
+ one: "%{count} post"
1095
+ other: "%{count} posts"
1096
+ comments_count:
1097
+ one: "%{count} comment"
1098
+ other: "%{count} comments"
1099
+ info:
1100
+ no_boards_in_forum: You don't have any boards created in %{forum}.
1101
+ move_topics_to_board: Existing forum topics will be moved to your first board when you create one.
1102
+ titles:
1103
+ new: New Board
1104
+ edit: Edit Board
1105
+ labels:
1106
+ board: Board
1107
+ move_to_board: Move to board
1108
+ links:
1109
+ index: Boards
1110
+ new: New Board
1111
+ boards: Boards
1112
+ forum: Forum
1113
+ settings: Settings
1114
+ reorder: Reorder boards
1115
+ create_now: Create one now
1116
+ create: Create a new Board
1117
+ flash:
1118
+ no_next_board: There is no next board. Showing the last one.
1119
+ destroy:
1120
+ success: The board has been deleted.
1121
+ failure: The board could not be deleted.
1122
+ create:
1123
+ success: The board has been created.
1124
+ failure: The board could not be created.
1125
+ update:
1126
+ success: The board has been updated.
1127
+ failure: The board could not be updated.
1128
+ no_previous_board: There is no previous board. Showing the first one.
1129
+ confirm_delete: Are you sure you want to delete this board? All the topics of this board are also deleted with the board.
1130
+ confirm_delete_on_last: Are you sure you want to delete this board? Your topics will not be removed.
1131
+ topics:
1132
+ columns:
1133
+ board: Board
1134
+ title: Title
1135
+ author: Author
1136
+ last_updated: Last updated
1137
+ posts: Posts
1138
+ info:
1139
+ no_topics_in_forum: There are no topics in this forum.
1140
+ no_topics_in_board: There are no topics in this board.
1141
+ titles:
1142
+ new: New topic
1143
+ edit: Edit topic
1144
+ post_topic: Post Topic
1145
+ latest_post: Latest post
1146
+ post_count:
1147
+ one: "%{count} Post"
1148
+ other: "%{count} Posts"
1149
+ states:
1150
+ sticky: Sticky
1151
+ locked: Locked
1152
+ links:
1153
+ post_new: Post one now
1154
+ post_now: Post one now
1155
+ new_topic: New topic
1156
+ new: Create a new Topic
1157
+ flash:
1158
+ destroy:
1159
+ success: The topic has been deleted.
1160
+ failure: The topic could not be deleted.
1161
+ create:
1162
+ success: The topic has been created.
1163
+ failure: The topic could not be created.
1164
+ update:
1165
+ success: The topic has been updated.
1166
+ failure: The topic could not be updated.
1167
+ no_next_topic: There is no next topic. Showing the last one.
1168
+ no_previous_topic: There is no previous topic. Showing the first one.
1169
+ confirm_delete: Are you sure you want to delete this topic?
1170
+ posts:
1171
+ titles:
1172
+ reply: Leave your reply
1173
+ edit: Edit your post
1174
+ save_post: Save post
1175
+ submit_post: Submit post
1176
+ flash:
1177
+ destroy:
1178
+ success: The post has been deleted.
1179
+ create:
1180
+ success: The post has been saved.
1181
+ failure: The post could not be saved.
1182
+ update:
1183
+ success: The post has been updated.
1184
+ failure: The post could not be updated.
1185
+ confirm_delete: Are you sure you want to delete this post?
1186
+ tracking:
1187
+ enable_tracking: Enable tracking with Google Analytics
1188
+ tracking_campaign: Campaign
1189
+ tracking_source: Source
1190
+ hints:
1191
+ tracking_code: Use your Google Analytics Tracking Code (UA-xxxxxxx-x) to enable Google Analytics support. Leaving this blank will deactivate Google Analytics support.
1192
+ no_tracking_code: If you'd like to use Google Analytics to track your issue, enable Google Analytics by entering your tracking code on the main Settings page.
1193
+ glossary: Not sure what to use here? Check %{link} for further information.
1194
+ glossary_name: the Google Analytics help
1195
+ spam:
1196
+ hints:
1197
+ filters: When comments are posted, the following filters are used to check their spam status.
1198
+ options:
1199
+ default_ham_none: Do not automatically approve any comments.
1200
+ default_ham_all: Approve all comments automatically.
1201
+ default_ham_authenticated: Approve comments posted by authenticated users.
1202
+ labels:
1203
+ enable: "Enable %{name} filter"
1204
+ settings: Settings
1205
+ api_key: API Key
1206
+ site_url: Site URL
1207
+ info:
1208
+ greeting_logged_in: Hi <span>user</span>, you are logged in.
1209
+ footer:
1210
+ site_powered_by: "Site powered by %{link}."
1211
+ theme_inspired_by: Theme inspired by depo.
1212
+ flash:
1213
+ authentication_required_role: "You need to have the role %{role} to administrate the sites of your account."
1214
+ no_permission_for_admin_area_of_site: "You do not have permission to access the admin area of this site. Please, contact your system administrator or login with another user account."
1215
+ no_permission_for_admin_area_of_account: "You do not have permission to access the admin area of this account. Please, contact your system administrator or login with another user account."
1216
+ login_to_access_admin_area_of_site: "Please login to access the admin area of this site."
1217
+ login_to_access_admin_area_of_account: "Please login to access the admin area of this account."
1218
+ sidebar:
1219
+ titles:
1220
+ tags: Tags
1221
+ topics: Topics
1222
+ subscription:
1223
+ no_subscriptions: There are no subscriptions.
1224
+ confirm_delete: Are you sure you want unsubscribe?
1225
+ flash:
1226
+ destroy_success: Successfully unsubsribed.
1227
+ link:
1228
+ index: Subscribers
1229
+ new: Add a new subscriber
1230
+ destroy: Unsubscribe
1231
+ label:
1232
+ user: Users
1233
+ subscriber: Subscriber
1234
+ email: Email
1235
+ time: Subscription time
1236
+ subscriptions: Subscribers
1237
+ locations:
1238
+ attributes:
1239
+ title: Location name
1240
+ country: Country
1241
+ postcode: Postcode
1242
+ town: Town
1243
+ address: Street / Number
1244
+ description: Description
1245
+ contact_mails:
1246
+ no_mails: You currently do not have any contact mails.
1247
+ delivered: Your mail has been delivered!
1248
+ columns:
1249
+ subject: Subject
1250
+ created_at: Created at
1251
+ flash:
1252
+ record_not_found: Contact mail you requested could not be found!
1253
+ destroy:
1254
+ success: The contact mail has been deleted.
1255
+ create:
1256
+ success: The contact mail was successfully created.
1257
+ failure: The contact mail could not be saved.
1258
+ confirm_delete: Are you sure you want to delete this contact mail?
1259
+
1260
+ # have cells translations here for the moment
1261
+ cells:
1262
+ album:
1263
+ name: Photoalbum
1264
+ states:
1265
+ single:
1266
+ name: Single photoalbum
1267
+ description: Display a single photoalbum
1268
+ form:
1269
+ section: Section
1270
+ sections:
1271
+ name: Sections
1272
+ states:
1273
+ recent_articles:
1274
+ name: Recent articles
1275
+ description: Display a given number of articles from a certain section
1276
+ form:
1277
+ section: Section
1278
+ count: Number of articles
1279
+ blog:
1280
+ name: Blog
1281
+ states:
1282
+ recent_articles:
1283
+ name: Recent articles
1284
+ description: Display a given number of articles from a certain blog
1285
+ form:
1286
+ section: Section
1287
+ count: Number of articles
1288
+ user:
1289
+ name: Users
1290
+ states:
1291
+ recent:
1292
+ name: Recent users
1293
+ description: Display a list with a given number of users
1294
+ form:
1295
+ count: Number of users