activeadmin 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activeadmin might be problematic. Click here for more details.

Files changed (322) hide show
  1. data/.gitignore +5 -1
  2. data/.travis.yml +1 -1
  3. data/.yardopts +2 -3
  4. data/CHANGELOG.md +180 -36
  5. data/CONTRIBUTING.md +12 -2
  6. data/Gemfile +9 -3
  7. data/README.rdoc +38 -65
  8. data/Rakefile +1 -3
  9. data/activeadmin.gemspec +10 -11
  10. data/app/assets/images/active_admin/index_list_icons/block_icon.svg +1 -1
  11. data/app/assets/images/active_admin/index_list_icons/blog_icon.svg +1 -1
  12. data/app/assets/images/active_admin/index_list_icons/grid_icon.svg +1 -1
  13. data/app/assets/images/active_admin/index_list_icons/table_icon.svg +1 -1
  14. data/app/assets/javascripts/active_admin/components/jquery.aa.checkbox-toggler.js.coffee +2 -2
  15. data/app/assets/javascripts/active_admin/components/jquery.aa.dropdown-menu.js.coffee +2 -2
  16. data/app/assets/javascripts/active_admin/components/jquery.aa.popover.js.coffee +2 -2
  17. data/app/assets/javascripts/active_admin/components/jquery.aa.table-checkbox-toggler.js.coffee +2 -2
  18. data/app/assets/javascripts/active_admin/lib/namespace.js.coffee +2 -1
  19. data/app/assets/javascripts/active_admin/pages/application.js.coffee +6 -1
  20. data/app/assets/stylesheets/active_admin/_base.css.scss +29 -34
  21. data/app/assets/stylesheets/active_admin/_forms.css.scss +65 -62
  22. data/app/assets/stylesheets/active_admin/_header.css.scss +57 -45
  23. data/app/assets/stylesheets/active_admin/_typography.css.scss +9 -9
  24. data/app/assets/stylesheets/active_admin/components/_batch_actions.css.scss +1 -1
  25. data/app/assets/stylesheets/active_admin/components/_blank_slates.scss +5 -5
  26. data/app/assets/stylesheets/active_admin/components/_breadcrumbs.scss +2 -2
  27. data/app/assets/stylesheets/active_admin/components/_comments.css.scss +1 -1
  28. data/app/assets/stylesheets/active_admin/components/_date_picker.css.scss +20 -20
  29. data/app/assets/stylesheets/active_admin/components/_dropdown_menu.scss +16 -16
  30. data/app/assets/stylesheets/active_admin/components/_flash_messages.css.scss +25 -23
  31. data/app/assets/stylesheets/active_admin/components/_grid.scss +2 -2
  32. data/app/assets/stylesheets/active_admin/components/_index_list.scss +1 -1
  33. data/app/assets/stylesheets/active_admin/components/_pagination.scss +10 -10
  34. data/app/assets/stylesheets/active_admin/components/_panels.scss +1 -1
  35. data/app/assets/stylesheets/active_admin/components/_popovers.css.scss +27 -27
  36. data/app/assets/stylesheets/active_admin/components/_scopes.scss +1 -1
  37. data/app/assets/stylesheets/active_admin/components/_table_tools.css.scss +10 -10
  38. data/app/assets/stylesheets/active_admin/components/_tables.css.scss +9 -9
  39. data/app/assets/stylesheets/active_admin/mixins/_buttons.css.scss +3 -3
  40. data/app/assets/stylesheets/active_admin/mixins/_gradients.css.scss +4 -4
  41. data/app/assets/stylesheets/active_admin/mixins/_icons.css.scss +4 -7
  42. data/app/assets/stylesheets/active_admin/mixins/_reset.css.scss +5 -5
  43. data/app/assets/stylesheets/active_admin/mixins/_rounded.css.scss +3 -3
  44. data/app/assets/stylesheets/active_admin/mixins/_sections.css.scss +6 -6
  45. data/app/assets/stylesheets/active_admin/mixins/_shadows.css.scss +8 -8
  46. data/app/assets/stylesheets/active_admin/mixins/_typography.scss +1 -1
  47. data/app/assets/stylesheets/active_admin/mixins/_utilities.scss +1 -1
  48. data/app/assets/stylesheets/active_admin/mixins/_variables.css.scss +9 -1
  49. data/app/assets/stylesheets/active_admin/pages/_logged_out.scss +1 -1
  50. data/app/assets/stylesheets/active_admin/print.css.scss +2 -8
  51. data/app/assets/stylesheets/active_admin/structure/_footer.scss +5 -5
  52. data/app/assets/stylesheets/active_admin/structure/_main_structure.scss +13 -13
  53. data/app/assets/stylesheets/active_admin/structure/_title_bar.scss +14 -14
  54. data/app/views/active_admin/devise/passwords/edit.html.erb +1 -1
  55. data/app/views/active_admin/devise/sessions/new.html.erb +1 -1
  56. data/app/views/active_admin/devise/shared/_links.erb +8 -1
  57. data/app/views/active_admin/resource/index.csv.erb +3 -3
  58. data/app/views/layouts/active_admin_logged_out.html.erb +5 -3
  59. data/config/locales/bg.yml +101 -0
  60. data/{lib/active_admin → config}/locales/ca.yml +24 -7
  61. data/{lib/active_admin → config}/locales/cs.yml +34 -12
  62. data/{lib/active_admin → config}/locales/da.yml +29 -7
  63. data/config/locales/de-CH.yml +117 -0
  64. data/{lib/active_admin → config}/locales/de.yml +19 -9
  65. data/config/locales/en-GB.yml +90 -0
  66. data/{lib/active_admin → config}/locales/en.yml +16 -6
  67. data/config/locales/es.yml +106 -0
  68. data/{lib/active_admin/locales/es.yml → config/locales/es_MX.yml} +14 -8
  69. data/{lib/active_admin → config}/locales/fr.yml +14 -6
  70. data/{lib/active_admin → config}/locales/he.yml +16 -6
  71. data/{lib/active_admin → config}/locales/hr.yml +14 -6
  72. data/{lib/active_admin → config}/locales/hu.yml +31 -6
  73. data/{lib/active_admin → config}/locales/it.yml +14 -6
  74. data/{lib/active_admin → config}/locales/ja.yml +32 -7
  75. data/{lib/active_admin → config}/locales/ko.yml +14 -6
  76. data/{lib/active_admin → config}/locales/lt.yml +15 -6
  77. data/{lib/active_admin → config}/locales/lv.yml +14 -6
  78. data/{lib/active_admin → config}/locales/nl.yml +14 -6
  79. data/{lib/active_admin → config}/locales/no-NB.yml +14 -6
  80. data/{lib/active_admin → config}/locales/pl.yml +14 -6
  81. data/{lib/active_admin → config}/locales/pt-BR.yml +14 -6
  82. data/{lib/active_admin → config}/locales/pt-PT.yml +14 -6
  83. data/{lib/active_admin → config}/locales/ro.yml +32 -7
  84. data/{lib/active_admin → config}/locales/ru.yml +30 -8
  85. data/{lib/active_admin → config}/locales/sv-SE.yml +14 -6
  86. data/{lib/active_admin → config}/locales/tr.yml +15 -6
  87. data/config/locales/uk.yml +100 -0
  88. data/{lib/active_admin → config}/locales/vi.yml +15 -6
  89. data/{lib/active_admin → config}/locales/zh-CN.yml +15 -6
  90. data/{lib/active_admin → config}/locales/zh-TW.yml +15 -6
  91. data/docs/0-installation.md +22 -18
  92. data/docs/1-general-configuration.md +1 -1
  93. data/docs/10-custom-pages.md +3 -3
  94. data/docs/11-decorators.md +18 -2
  95. data/docs/12-arbre-components.md +53 -54
  96. data/docs/13-authorization-adapter.md +31 -10
  97. data/docs/2-resource-customization.md +16 -1
  98. data/docs/3-index-pages.md +13 -1
  99. data/docs/3-index-pages/create-an-index.md +4 -4
  100. data/docs/3-index-pages/index-as-block.md +1 -1
  101. data/docs/3-index-pages/index-as-blog.md +1 -1
  102. data/docs/3-index-pages/index-as-grid.md +1 -1
  103. data/docs/4-csv-format.md +4 -4
  104. data/docs/5-forms.md +46 -3
  105. data/docs/{6-show-screens.md → 6-show-pages.md} +3 -3
  106. data/docs/8-custom-actions.md +3 -3
  107. data/docs/9-batch-actions.md +9 -1
  108. data/features/action_item.feature +6 -6
  109. data/features/authorization_cancan.feature +1 -1
  110. data/features/belongs_to.feature +3 -3
  111. data/features/breadcrumb.feature +2 -2
  112. data/features/comments/commenting.feature +7 -5
  113. data/features/dashboard.feature +0 -51
  114. data/features/favicon.feature +20 -0
  115. data/features/global_navigation.feature +0 -1
  116. data/features/index/batch_actions.feature +12 -11
  117. data/features/index/filters.feature +6 -6
  118. data/features/index/format_as_csv.feature +4 -5
  119. data/features/index/index_as_blog.feature +20 -1
  120. data/features/index/index_as_table.feature +1 -1
  121. data/features/index/index_blank_slate.feature +3 -3
  122. data/features/index/index_parameters.feature +4 -10
  123. data/features/index/index_scope_to.feature +24 -0
  124. data/features/index/index_scopes.feature +17 -5
  125. data/features/index/pagination.feature +15 -0
  126. data/features/registering_pages.feature +1 -1
  127. data/features/registering_resources.feature +2 -2
  128. data/features/show/default_content.feature +3 -3
  129. data/features/sidebar_sections.feature +3 -3
  130. data/features/specifying_actions.feature +1 -1
  131. data/features/step_definitions/additional_web_steps.rb +3 -16
  132. data/features/step_definitions/asset_steps.rb +5 -1
  133. data/features/step_definitions/attribute_steps.rb +4 -4
  134. data/features/step_definitions/batch_action_steps.rb +25 -74
  135. data/features/step_definitions/breadcrumb_steps.rb +1 -3
  136. data/features/step_definitions/comment_steps.rb +0 -1
  137. data/features/step_definitions/configuration_steps.rb +53 -69
  138. data/features/step_definitions/dashboard_steps.rb +2 -2
  139. data/features/step_definitions/factory_steps.rb +17 -33
  140. data/features/step_definitions/filter_steps.rb +2 -2
  141. data/features/step_definitions/format_steps.rb +10 -14
  142. data/features/step_definitions/index_scope_steps.rb +9 -25
  143. data/features/step_definitions/index_views_steps.rb +1 -1
  144. data/features/step_definitions/sidebar_steps.rb +2 -1
  145. data/features/step_definitions/site_title_steps.rb +1 -1
  146. data/features/step_definitions/table_steps.rb +6 -1
  147. data/features/step_definitions/user_steps.rb +23 -38
  148. data/features/step_definitions/web_steps.rb +18 -147
  149. data/features/support/env.rb +13 -34
  150. data/features/support/paths.rb +2 -0
  151. data/features/users/logging_in.feature +2 -2
  152. data/features/users/logging_out.feature +0 -12
  153. data/features/users/resetting_password.feature +1 -1
  154. data/lib/active_admin.rb +4 -17
  155. data/lib/active_admin/abstract_view_factory.rb +1 -1
  156. data/lib/active_admin/application.rb +19 -28
  157. data/lib/active_admin/asset_registration.rb +7 -25
  158. data/lib/active_admin/authorization_adapter.rb +9 -5
  159. data/lib/active_admin/base_controller.rb +2 -2
  160. data/lib/active_admin/base_controller/authorization.rb +25 -27
  161. data/lib/active_admin/batch_actions/resource_extension.rb +3 -3
  162. data/lib/active_admin/batch_actions/views/batch_action_selector.rb +1 -1
  163. data/lib/active_admin/batch_actions/views/selection_cells.rb +1 -1
  164. data/lib/active_admin/callbacks.rb +1 -1
  165. data/lib/active_admin/cancan_adapter.rb +2 -2
  166. data/lib/active_admin/comments.rb +32 -38
  167. data/lib/active_admin/comments/comment.rb +6 -8
  168. data/lib/active_admin/comments/views.rb +0 -1
  169. data/lib/active_admin/comments/views/active_admin_comments.rb +27 -38
  170. data/lib/active_admin/csv_builder.rb +4 -6
  171. data/lib/active_admin/dependency_checker.rb +4 -0
  172. data/lib/active_admin/deprecation.rb +3 -3
  173. data/lib/active_admin/dsl.rb +5 -5
  174. data/lib/active_admin/engine.rb +1 -1
  175. data/lib/active_admin/filters.rb +2 -1
  176. data/lib/active_admin/filters/forms.rb +36 -43
  177. data/lib/active_admin/filters/formtastic_addons.rb +45 -0
  178. data/lib/active_admin/filters/resource_extension.rb +9 -1
  179. data/lib/active_admin/form_builder.rb +30 -19
  180. data/lib/active_admin/helpers/optional_display.rb +11 -13
  181. data/lib/active_admin/helpers/settings.rb +50 -8
  182. data/lib/active_admin/inputs/filter_base.rb +5 -18
  183. data/lib/active_admin/inputs/filter_base/search_method_select.rb +73 -0
  184. data/lib/active_admin/inputs/filter_boolean_input.rb +6 -14
  185. data/lib/active_admin/inputs/filter_check_boxes_input.rb +1 -1
  186. data/lib/active_admin/inputs/filter_numeric_input.rb +2 -47
  187. data/lib/active_admin/inputs/filter_select_input.rb +32 -10
  188. data/lib/active_admin/inputs/filter_string_input.rb +12 -14
  189. data/lib/active_admin/namespace.rb +8 -40
  190. data/lib/active_admin/page.rb +2 -2
  191. data/lib/active_admin/page_dsl.rb +1 -1
  192. data/lib/active_admin/reloader.rb +3 -3
  193. data/lib/active_admin/resource.rb +16 -23
  194. data/lib/active_admin/resource/belongs_to.rb +8 -5
  195. data/lib/active_admin/resource/menu.rb +10 -23
  196. data/lib/active_admin/resource/naming.rb +3 -3
  197. data/lib/active_admin/resource/page_presenters.rb +2 -2
  198. data/lib/active_admin/resource/routes.rb +74 -21
  199. data/lib/active_admin/resource/scope_to.rb +74 -0
  200. data/lib/active_admin/resource/scopes.rb +8 -4
  201. data/lib/active_admin/resource_collection.rb +20 -66
  202. data/lib/active_admin/resource_controller.rb +12 -16
  203. data/lib/active_admin/resource_controller/data_access.rb +19 -22
  204. data/lib/active_admin/resource_controller/resource_class_methods.rb +2 -2
  205. data/lib/active_admin/resource_controller/scoping.rb +4 -9
  206. data/lib/active_admin/resource_dsl.rb +5 -32
  207. data/lib/active_admin/router.rb +34 -47
  208. data/lib/active_admin/scope.rb +5 -3
  209. data/lib/active_admin/sidebar_section.rb +1 -1
  210. data/lib/active_admin/version.rb +1 -1
  211. data/lib/active_admin/view_factory.rb +1 -1
  212. data/lib/active_admin/view_helpers/auto_link_helper.rb +1 -1
  213. data/lib/active_admin/view_helpers/breadcrumb_helper.rb +8 -8
  214. data/lib/active_admin/view_helpers/display_helper.rb +15 -6
  215. data/lib/active_admin/view_helpers/download_format_links_helper.rb +2 -2
  216. data/lib/active_admin/view_helpers/form_helper.rb +6 -1
  217. data/lib/active_admin/view_helpers/icon_helper.rb +1 -1
  218. data/lib/active_admin/view_helpers/method_or_proc_helper.rb +5 -5
  219. data/lib/active_admin/view_helpers/title_helper.rb +1 -1
  220. data/lib/active_admin/views/components/action_list_popover.rb +6 -6
  221. data/lib/active_admin/views/components/attributes_table.rb +9 -12
  222. data/lib/active_admin/views/components/blank_slate.rb +4 -4
  223. data/lib/active_admin/views/components/columns.rb +1 -1
  224. data/lib/active_admin/views/components/index_list.rb +1 -1
  225. data/lib/active_admin/views/components/paginated_collection.rb +20 -12
  226. data/lib/active_admin/views/components/panel.rb +1 -1
  227. data/lib/active_admin/views/components/scopes.rb +2 -1
  228. data/lib/active_admin/views/components/sidebar_section.rb +1 -1
  229. data/lib/active_admin/views/components/status_tag.rb +1 -1
  230. data/lib/active_admin/views/header.rb +2 -2
  231. data/lib/active_admin/views/index_as_blog.rb +16 -3
  232. data/lib/active_admin/views/index_as_table.rb +2 -2
  233. data/lib/active_admin/views/pages/base.rb +8 -3
  234. data/lib/active_admin/views/pages/form.rb +2 -2
  235. data/lib/active_admin/views/pages/index.rb +19 -17
  236. data/lib/generators/active_admin/assets/templates/3.0/active_admin.js +1 -1
  237. data/lib/generators/active_admin/assets/templates/3.1/active_admin.css.scss +1 -13
  238. data/lib/generators/active_admin/devise/devise_generator.rb +22 -1
  239. data/lib/generators/active_admin/install/install_generator.rb +1 -5
  240. data/lib/generators/active_admin/install/templates/active_admin.rb.erb +40 -19
  241. data/lib/generators/active_admin/install/templates/admin_user.rb.erb +18 -18
  242. data/lib/generators/active_admin/install/templates/migrations/create_active_admin_comments.rb +19 -0
  243. data/lib/generators/active_admin/resource/resource_generator.rb +1 -1
  244. data/lib/generators/active_admin/resource/templates/admin.rb +1 -1
  245. data/script/use_rails +1 -1
  246. data/spec/integration/memory_spec.rb +3 -2
  247. data/spec/javascripts/coffeescripts/jquery.aa.checkbox-toggler-spec.js.coffee +4 -4
  248. data/spec/javascripts/coffeescripts/jquery.aa.popover-spec.js.coffee +1 -1
  249. data/spec/javascripts/coffeescripts/jquery.aa.table-checkbox-toggler-spec.js.coffee +2 -2
  250. data/spec/javascripts/compiled/jquery.aa.checkbox-toggler-spec.js +4 -4
  251. data/spec/javascripts/compiled/jquery.aa.popover-spec.js +1 -1
  252. data/spec/javascripts/compiled/jquery.aa.table-checkbox-toggler-spec.js +2 -2
  253. data/spec/spec_helper.rb +16 -6
  254. data/spec/spec_helper_without_rails.rb +2 -0
  255. data/spec/support/deferred_garbage_collection.rb +19 -0
  256. data/spec/support/jslint.yml +1 -1
  257. data/spec/support/rails_template.rb +29 -27
  258. data/spec/support/templates/admin/stores.rb +5 -1
  259. data/spec/unit/abstract_view_factory_spec.rb +1 -1
  260. data/spec/unit/action_builder_spec.rb +7 -7
  261. data/spec/unit/active_admin_spec.rb +0 -14
  262. data/spec/unit/application_spec.rb +16 -17
  263. data/spec/unit/asset_registration_spec.rb +21 -8
  264. data/spec/unit/authorization/authorization_adapter_spec.rb +3 -3
  265. data/spec/unit/authorization/controller_authorization_spec.rb +16 -24
  266. data/spec/unit/batch_actions/resource_spec.rb +11 -11
  267. data/spec/unit/belongs_to_spec.rb +1 -1
  268. data/spec/unit/cancan_adapter_spec.rb +11 -3
  269. data/spec/unit/comments_spec.rb +10 -28
  270. data/spec/unit/controller_filters_spec.rb +22 -24
  271. data/spec/unit/csv_builder_spec.rb +3 -3
  272. data/spec/unit/devise_spec.rb +10 -10
  273. data/spec/unit/filters/filter_form_builder_spec.rb +140 -45
  274. data/spec/unit/filters/resource_spec.rb +20 -19
  275. data/spec/unit/form_builder_spec.rb +122 -70
  276. data/spec/unit/menu_item_spec.rb +3 -3
  277. data/spec/unit/namespace/authorization_spec.rb +4 -8
  278. data/spec/unit/namespace/register_page_spec.rb +1 -1
  279. data/spec/unit/namespace/register_resource_spec.rb +12 -7
  280. data/spec/unit/namespace_spec.rb +4 -10
  281. data/spec/unit/page_spec.rb +1 -1
  282. data/spec/unit/resource/menu_spec.rb +1 -1
  283. data/spec/unit/resource/naming_spec.rb +9 -0
  284. data/spec/unit/resource/pagination_spec.rb +2 -2
  285. data/spec/unit/resource/routes_spec.rb +73 -0
  286. data/spec/unit/resource/scopes_spec.rb +1 -1
  287. data/spec/unit/resource_collection_spec.rb +95 -43
  288. data/spec/unit/resource_registration_spec.rb +3 -12
  289. data/spec/unit/resource_spec.rb +41 -48
  290. data/spec/unit/routing_spec.rb +10 -64
  291. data/spec/unit/scope_spec.rb +19 -0
  292. data/spec/unit/settings_spec.rb +88 -0
  293. data/spec/unit/view_factory_spec.rb +1 -0
  294. data/spec/unit/{breadcrumbs_spec.rb → view_helpers/breadcrumbs_spec.rb} +16 -7
  295. data/spec/unit/view_helpers/display_name_spec.rb +41 -0
  296. data/spec/unit/view_helpers/form_helper_spec.rb +36 -2
  297. data/spec/unit/views/components/attributes_table_spec.rb +17 -9
  298. data/spec/unit/views/components/batch_action_popover_spec.rb +4 -4
  299. data/spec/unit/views/components/index_list_spec.rb +2 -2
  300. data/spec/unit/views/components/paginated_collection_spec.rb +42 -0
  301. data/spec/unit/views/components/panel_spec.rb +8 -0
  302. data/spec/unit/views/components/site_title_spec.rb +2 -2
  303. data/spec/unit/views/components/table_for_spec.rb +4 -4
  304. data/spec/unit/views/pages/form_spec.rb +35 -0
  305. data/spec/unit/views/pages/layout_spec.rb +1 -1
  306. data/spec/unit/views/tabbed_navigation_spec.rb +10 -10
  307. data/tasks/parallel_tests.rake +1 -1
  308. data/tasks/test.rake +4 -1
  309. metadata +117 -106
  310. data/app/assets/stylesheets/active_admin/pages/_dashboard.scss +0 -5
  311. data/lib/active_admin/comments/views/active_admin_comment.rb +0 -0
  312. data/lib/active_admin/dashboards.rb +0 -68
  313. data/lib/active_admin/dashboards/dashboard_controller.rb +0 -50
  314. data/lib/active_admin/dashboards/section.rb +0 -34
  315. data/lib/active_admin/locales/bg.yml +0 -77
  316. data/lib/generators/active_admin/install/templates/migrations/1_create_admin_notes.rb +0 -17
  317. data/lib/generators/active_admin/install/templates/migrations/2_move_admin_notes_to_comments.rb +0 -26
  318. data/spec/unit/base_controller_spec.rb +0 -6
  319. data/spec/unit/dashboard_controller_spec.rb +0 -76
  320. data/spec/unit/dashboard_section_spec.rb +0 -56
  321. data/spec/unit/dashboards_spec.rb +0 -59
  322. data/spec/unit/display_name_spec.rb +0 -29
@@ -21,12 +21,18 @@ en:
21
21
  download: "Download:"
22
22
  has_many_new: "Add New %{model}"
23
23
  has_many_delete: "Delete"
24
- filter: "Filter"
25
- clear_filters: "Clear Filters"
26
- search_field: "Search %{field}"
27
- equal_to: "Equal To"
28
- greater_than: "Greater Than"
29
- less_than: "Less Than"
24
+ has_many_remove: "Remove"
25
+ filters:
26
+ buttons:
27
+ filter: "Filter"
28
+ clear: "Clear Filters"
29
+ predicates:
30
+ contains: "Contains"
31
+ equals: "Equals"
32
+ starts_with: "Starts with"
33
+ ends_with: "Ends with"
34
+ greater_than: "Greater than"
35
+ less_than: "Less than"
30
36
  main_content: "Please implement %{model}#main_content to display content."
31
37
  logout: "Logout"
32
38
  powered_by: "Powered by %{active_admin} %{version}"
@@ -37,6 +43,7 @@ en:
37
43
  one: "Displaying <b>1</b> %{model}"
38
44
  one_page: "Displaying <b>all %{n}</b> %{model}"
39
45
  multiple: "Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> of <b>%{total}</b> in total"
46
+ multiple_without_total: "Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>"
40
47
  entry:
41
48
  one: "entry"
42
49
  other: "entries"
@@ -56,6 +63,8 @@ en:
56
63
  labels:
57
64
  destroy: "Delete"
58
65
  comments:
66
+ resource_type: "Resource Type"
67
+ author_type: "Author Type"
59
68
  body: "Body"
60
69
  author: "Author"
61
70
  title: "Comment"
@@ -82,6 +91,7 @@ en:
82
91
  links:
83
92
  sign_in: "Sign in"
84
93
  forgot_your_password: "Forgot your password?"
94
+ sign_in_with_omniauth_provider: "Sign in with %{provider}"
85
95
  access_denied:
86
96
  message: "You are not authorized to perform this action."
87
97
  index_list:
@@ -0,0 +1,106 @@
1
+ es:
2
+ active_admin:
3
+ dashboard: Inicio
4
+ dashboard_welcome:
5
+ welcome: "Bienvenido a Active Admin. Esta es la página de inicio predeterminada."
6
+ call_to_action: "Para agregar secciones edite 'app/admin/dashboard.rb'"
7
+ view: "Ver"
8
+ edit: "Editar"
9
+ delete: "Eliminar"
10
+ delete_confirmation: "¿Está seguro de que quiere eliminar esto?"
11
+ new_model: "Añadir %{model}"
12
+ create_model: "Añadir %{model}"
13
+ edit_model: "Editar %{model}"
14
+ update_model: "Editar %{model}"
15
+ delete_model: "Eliminar %{model}"
16
+ details: "Detalles de %{model}"
17
+ cancel: "Cancelar"
18
+ empty: "Vacío"
19
+ previous: "Anterior"
20
+ next: "Siguiente"
21
+ download: "Descargar:"
22
+ has_many_new: "Agregar Añadir %{model}"
23
+ has_many_delete: "Eliminar"
24
+ has_many_remove: "Quitar"
25
+ filters:
26
+ buttons:
27
+ filter: "Filtrar"
28
+ clear: "Quitar Filtros"
29
+ predicates:
30
+ contains: "Contiene"
31
+ equals: "Igual a"
32
+ starts_with: "Empieza con"
33
+ ends_with: "Termina con"
34
+ greater_than: "Mayor que"
35
+ less_than: "Menor que"
36
+ main_content: "Por favor implemente %{model}#main_content para mostrar contenido."
37
+ logout: "Salir"
38
+ powered_by: "Powered by %{active_admin} %{version}"
39
+ sidebars:
40
+ filters: "Filtros"
41
+ pagination:
42
+ empty: "No se han encontrado %{model}"
43
+ one: "Mostrando <b>1</b> %{model}"
44
+ one_page: "Mostrando <b>un total de %{n}</b> %{model}"
45
+ multiple: "Mostrando %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> de un total de <b>%{total}</b>"
46
+ multiple_without_total: "Mostrando %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>"
47
+ blank_slate:
48
+ content: "No hay %{resource_name} aún."
49
+ link: "Añadir"
50
+ entry:
51
+ one: "registro"
52
+ other: "registros"
53
+ any: "Cualquiera"
54
+ batch_actions:
55
+ button_label: "Acciones en masa"
56
+ delete_confirmation: "Eliminar %{plural_model}: ¿Está seguro? No podrá deshacer esta acción."
57
+ succesfully_destroyed:
58
+ one: "Se ha destruido 1 %{model} con éxito"
59
+ other: "Se han destruido %{count} %{plural_model} con éxito"
60
+ selection_toggle_explanation: "(Cambiar selección)"
61
+ link: "Añadir"
62
+ action_label: "%{title} seleccionado"
63
+ labels:
64
+ destroy: "Borrar"
65
+ comments:
66
+ body: "Cuerpo"
67
+ author: "Autor"
68
+ title: "Comentario"
69
+ add: "Comentar"
70
+ resource: "Recurso"
71
+ no_comments_yet: "Aún sin comentarios."
72
+ title_content: "Comentarios (%{count})"
73
+ errors:
74
+ empty_text: "El comentario no fue guardado, el texto estaba vacío."
75
+ devise:
76
+ login:
77
+ title: "iniciar sesión"
78
+ remember_me: "Recordarme"
79
+ submit: "iniciar sesión"
80
+ reset_password:
81
+ title: "¿Olvidó su contraseña?"
82
+ submit: "Restablecer mi contraseña"
83
+ change_password:
84
+ title: "Cambie su contraseña"
85
+ submit: "Cambiar mi contraseña"
86
+ links:
87
+ sign_in: "registrarse"
88
+ forgot_your_password: "¿Olvidó su contraseña?"
89
+ sign_in_with_omniauth_provider: "Conéctate con %{provider}"
90
+ views:
91
+ pagination:
92
+ truncate: "..."
93
+ first: "Inicio"
94
+ previous: "Anterior"
95
+ next: "Siguiente"
96
+ last: "Último"
97
+ formtastic:
98
+ yes: "Sí"
99
+ no: "No"
100
+ create: "Guardar %{model}"
101
+ update: "Guardar %{model}"
102
+ submit: "Aceptar"
103
+ cancel: "Cancelar"
104
+ reset: "Restablecer %{model}"
105
+ required: "requerido"
106
+
@@ -1,4 +1,4 @@
1
- es:
1
+ es_MX:
2
2
  active_admin:
3
3
  dashboard: Inicio
4
4
  dashboard_welcome:
@@ -21,12 +21,18 @@ es:
21
21
  download: "Descargar:"
22
22
  has_many_new: "Agregar Añadir %{model}"
23
23
  has_many_delete: "Eliminar"
24
- filter: "Filtrar"
25
- clear_filters: "Quitar Filtros"
26
- search_field: "Buscar %{field}"
27
- equal_to: "Igual a"
28
- greater_than: "Mayor que"
29
- less_than: "Menor que"
24
+ has_many_remove: "Quitar"
25
+ filters:
26
+ buttons:
27
+ filter: "Filtrar"
28
+ clear: "Quitar Filtros"
29
+ predicates:
30
+ contains: "Contiene"
31
+ equals: "Igual a"
32
+ starts_with: "Empieza con"
33
+ ends_with: "Termina con"
34
+ greater_than: "Mayor que"
35
+ less_than: "Menor que"
30
36
  main_content: "Por favor implemente %{model}#main_content para mostrar contenido."
31
37
  logout: "Salir"
32
38
  powered_by: "Powered by %{active_admin} %{version}"
@@ -79,6 +85,7 @@ es:
79
85
  links:
80
86
  sign_in: "registrarse"
81
87
  forgot_your_password: "¿Olvidó su contraseña?"
88
+ sign_in_with_omniauth_provider: "Conéctate con %{provider}"
82
89
  views:
83
90
  pagination:
84
91
  truncate: "..."
@@ -95,4 +102,3 @@ es:
95
102
  cancel: "Cancelar"
96
103
  reset: "Restablecer %{model}"
97
104
  required: "requerido"
98
-
@@ -21,12 +21,18 @@ fr:
21
21
  download: "Télécharger:"
22
22
  has_many_new: "Ajouter un nouveau %{model}"
23
23
  has_many_delete: "Supprimer"
24
- filter: "Filtrer"
25
- clear_filters: "Supprimer les filtres"
26
- search_field: "Rechercher %{field}"
27
- equal_to: "Egal à"
28
- greater_than: "Plus grand que"
29
- less_than: "Plus petit que"
24
+ has_many_remove: "Enlever"
25
+ filters:
26
+ buttons:
27
+ filter: "Filtrer"
28
+ clear: "Supprimer les filtres"
29
+ predicates:
30
+ contains: "Contient"
31
+ equals: "Egal à"
32
+ starts_with: "Commence par"
33
+ ends_with: "Se termine par"
34
+ greater_than: "Plus grand que"
35
+ less_than: "Plus petit que"
30
36
  main_content: "Veuillez implémenter %{model}#main_content pour afficher le contenu."
31
37
  logout: "Déconnexion"
32
38
  powered_by: "Propulsé par %{active_admin} %{version}"
@@ -37,6 +43,7 @@ fr:
37
43
  one: "Affichage de <b>1</b> %{model}"
38
44
  one_page: "Affichage de <b>tous les %{n}</b> %{model}"
39
45
  multiple: "Affichage de %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> sur un total de <b>%{total}</b>"
46
+ multiple_without_total: "Affichage de %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>"
40
47
  entry:
41
48
  one: "entrée"
42
49
  other: "entrées"
@@ -79,3 +86,4 @@ fr:
79
86
  links:
80
87
  sign_in: "Connectez-vous"
81
88
  forgot_your_password: "Vous avez oublié votre mot de passe?"
89
+ sign_in_with_omniauth_provider: "Connectez-vous avec %{provider}"
@@ -21,12 +21,18 @@ he:
21
21
  download: "הורד:"
22
22
  has_many_new: "הוספת %{model} חדש"
23
23
  has_many_delete: "מחיקה"
24
- filter: "סינון"
25
- clear_filters: "איפוס שדות"
26
- search_field: "חיפוש %{field}"
27
- equal_to: "שווה ל"
28
- greater_than: "גדול מ"
29
- less_than: "פחות מ"
24
+ has_many_remove: "להסיר"
25
+ filters:
26
+ buttons:
27
+ filter: "סינון"
28
+ clear: "איפוס שדות"
29
+ predicates:
30
+ contains: "מכיל"
31
+ equals: "שווה ל"
32
+ starts_with: "מתחיל עם"
33
+ ends_with: "מסתיים ב"
34
+ greater_than: "גדול מ"
35
+ less_than: "פחות מ"
30
36
  main_content: "Please implement %{model}#main_content to display content."
31
37
  logout: "התנתקות"
32
38
  powered_by: "Powered by %{active_admin} %{version}"
@@ -37,6 +43,7 @@ he:
37
43
  one: "מציג <b>1</b> %{model}"
38
44
  one_page: "הצגת <b>כל %{n}</b> %{model}"
39
45
  multiple: "מציג %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> מתוך <b>%{total}</b> בסך הכל"
46
+ multiple_without_total: "מציג %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>"
40
47
  entry:
41
48
  one: "רשומה בודדה"
42
49
  other: "רשומות"
@@ -49,6 +56,8 @@ he:
49
56
  delete_confirmation: "האם הנך בטוח שאתה רוצה למרוח את %{plural_model}? לא תוכל לבטל את המחיקה."
50
57
  succesfully_destroyed:
51
58
  one: "1 %{model} נמחק בהצלחה"
59
+ few: "%{count} %{plural_model} נמחק בהצלחה"
60
+ many: "%{count} %{plural_model} נמחק בהצלחה"
52
61
  other: "%{count} %{plural_model} נמחק בהצלחה"
53
62
  selection_toggle_explanation: "(שינוי בחירה)"
54
63
  link: "צור"
@@ -79,3 +88,4 @@ he:
79
88
  links:
80
89
  sign_in: "כניסה"
81
90
  forgot_your_password: "שכחת את הסיסמא שלך?"
91
+ sign_in_with_omniauth_provider: "%{provider} היכנס עם"
@@ -21,12 +21,18 @@ hr:
21
21
  download: "Spremi na računalo:"
22
22
  has_many_new: "Dodaj novi %{model}"
23
23
  has_many_delete: "Obriši"
24
- filter: "Filtriraj"
25
- clear_filters: "Očisti filtere"
26
- search_field: "Pretraži po %{field}"
27
- equal_to: "Jednako"
28
- greater_than: "Veće Od"
29
- less_than: "Manje Od"
24
+ has_many_remove: "Ukloniti"
25
+ filters:
26
+ buttons:
27
+ filter: "Filtriraj"
28
+ clear: "Očisti filtere"
29
+ predicates:
30
+ contains: "Sadrži"
31
+ equals: "Jednako"
32
+ starts_with: "počinje s"
33
+ ends_with: "Završava sa"
34
+ greater_than: "Veće Od"
35
+ less_than: "Manje Od"
30
36
  main_content: "Molim Vas, implementirajte %{model}#main_content da bi ste prikazali sadržaj."
31
37
  logout: "Odjavi se"
32
38
  powered_by: "Powered by %{active_admin} %{version}"
@@ -37,6 +43,7 @@ hr:
37
43
  one: "Prikazan <b>1</b> %{model}"
38
44
  one_page: "Prikazano <b>svih %{n}</b> %{model}"
39
45
  multiple: "Prikazani %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> od ukupno <b>%{total}</b>"
46
+ multiple_without_total: "Prikazani %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>"
40
47
  entry:
41
48
  one: "zapis"
42
49
  few: "zapisa"
@@ -83,3 +90,4 @@ hr:
83
90
  links:
84
91
  sign_in: "Prijavi se"
85
92
  forgot_your_password: "Zaboravljena lozinka?"
93
+ sign_in_with_omniauth_provider: "Prijavite se za %{provider}"
@@ -21,12 +21,18 @@ hu:
21
21
  download: "Letöltés:"
22
22
  has_many_new: "Új %{model} hozzáadása"
23
23
  has_many_delete: "Törlés"
24
- filter: "Szűrés"
25
- clear_filters: "Feltételek törlése"
26
- search_field: "Keresés %{field} alapján"
27
- equal_to: "Pontosan"
28
- greater_than: "Nagyobb, mint"
29
- less_than: "Kisebb, mint"
24
+ has_many_remove: "Eltávolít"
25
+ filters:
26
+ buttons:
27
+ filter: "Szűrés"
28
+ clear: "Feltételek törlése"
29
+ predicates:
30
+ contains: "Tartalmazza"
31
+ equals: "Pontosan"
32
+ starts_with: "kezdődik"
33
+ ends_with: "végződik"
34
+ greater_than: "Nagyobb, mint"
35
+ less_than: "Kisebb, mint"
30
36
  main_content: "Kérem, implementálja a %{model}#main_content metódust a tartalom megjelenítéséhez."
31
37
  logout: "Kilépés"
32
38
  powered_by: "Powered by %{active_admin} %{version}"
@@ -37,6 +43,7 @@ hu:
37
43
  one: "<b>Egy</b> %{model} megjelenítése"
38
44
  one_page: "<b>Az összes (%{n} db)</b> %{model} megjelenítése"
39
45
  multiple: "%{model} listájának megjelenítése, <b>%{from}&nbsp;-&nbsp;%{to}</b>/<b>%{total}</b> "
46
+ multiple_without_total: "%{model} listájának megjelenítése, <b>%{from}&nbsp;-&nbsp;%{to}</b> "
40
47
  entry:
41
48
  one: "elem"
42
49
  other: "elem"
@@ -65,3 +72,21 @@ hu:
65
72
  title_content: "%{count} hozzászólás"
66
73
  errors:
67
74
  empty_text: "A hozzászólás nem lett mentve, a törzs nem lehet üres."
75
+ devise:
76
+ login:
77
+ title: "Bejelentkezés"
78
+ remember_me: "Emlékezz rám"
79
+ submit: "Belépés"
80
+ reset_password:
81
+ title: "Elfelejtette a jelszavát?"
82
+ submit: "Visszaállítása a jelszót"
83
+ change_password:
84
+ title: "A jelszó módosítása"
85
+ submit: "Jelszó módosítása"
86
+ unlock:
87
+ title: "Újraküldés unlock utasítások"
88
+ submit: "Újraküldés unlock utasítások"
89
+ links:
90
+ sign_in: "Bejelentkezés"
91
+ forgot_your_password: "Elfelejtette a jelszavát?"
92
+ sign_in_with_omniauth_provider: "Jelentkezzen be a %{provider}"
@@ -21,12 +21,18 @@ it:
21
21
  download: "Scarica:"
22
22
  has_many_new: "Aggiungi nuovo/a %{model}"
23
23
  has_many_delete: "Rimuovi"
24
- filter: "Filtra"
25
- clear_filters: "Rimuovi filtri"
26
- search_field: "Cerca %{field}"
27
- equal_to: "Uguale a"
28
- greater_than: "Maggiore di"
29
- less_than: "Minore di"
24
+ has_many_remove: "Rimuovi"
25
+ filters:
26
+ buttons:
27
+ filter: "Filtra"
28
+ clear: "Rimuovi filtri"
29
+ predicates:
30
+ contains: "Contiene"
31
+ equals: "Uguale a"
32
+ starts_with: "Inizia con"
33
+ ends_with: "Finisce con"
34
+ greater_than: "Maggiore di"
35
+ less_than: "Minore di"
30
36
  main_content: "Devi implemetare %{model}#main_content per mostrarne il contenuto."
31
37
  logout: "Esci"
32
38
  powered_by: "Powered by %{active_admin} %{version}"
@@ -37,6 +43,7 @@ it:
37
43
  one: "Sto mostrando <b>1</b> %{model}"
38
44
  one_page: "Sto mostrando <b>%{n}</b> %{model}. Lista completa."
39
45
  multiple: "Sto mostrando %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> di <b>%{total}</b> in totale"
46
+ multiple_without_total: "Sto mostrando %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>"
40
47
  entry:
41
48
  one: "voce"
42
49
  other: "voci"
@@ -79,3 +86,4 @@ it:
79
86
  links:
80
87
  sign_in: "Entra"
81
88
  forgot_your_password: "Dimenticato la password?"
89
+ sign_in_with_omniauth_provider: "Collegati a %{provider}"
@@ -21,12 +21,18 @@ ja:
21
21
  download: "ダウンロード:"
22
22
  has_many_new: "新規に %{model} を追加する"
23
23
  has_many_delete: "削除する"
24
- filter: "絞り込む"
25
- clear_filters: "条件を削除する"
26
- search_field: "%{field} で絞り込む"
27
- equal_to: "等しい"
28
- greater_than: "より大きい"
29
- less_than: "より小さい"
24
+ has_many_remove: "削除する"
25
+ filters:
26
+ buttons:
27
+ filter: "絞り込む"
28
+ clear: "条件を削除する"
29
+ predicates:
30
+ contains: "含まれています"
31
+ equals: "等しい"
32
+ starts_with: "で始まる"
33
+ ends_with: "で終わる"
34
+ greater_than: "より大きい"
35
+ less_than: "より小さい"
30
36
  main_content: "内容を表示するために %{model}#main_content を実装してください。"
31
37
  logout: "ログアウト"
32
38
  powered_by: "Powered by %{active_admin} %{version}"
@@ -37,7 +43,10 @@ ja:
37
43
  one: "<b>1</b> 件の %{model} を表示しています"
38
44
  one_page: "<b>全 %{n}</b> 件の %{model} を表示しています"
39
45
  multiple: "全 <b>%{total}</b> 件中 <b>%{from}&nbsp;-&nbsp;%{to}</b> 件の %{model} を表示しています"
40
- entry: レコード
46
+ multiple_without_total: "<b>%{from}&nbsp;-&nbsp;%{to}</b> 件の %{model} を表示しています"
47
+ entry:
48
+ one: "レコード"
49
+ other: "レコード"
41
50
  any: "任意"
42
51
  blank_slate:
43
52
  content: "%{resource_name} はまだありません。"
@@ -54,6 +63,8 @@ ja:
54
63
  labels:
55
64
  destroy: "削除する"
56
65
  comments:
66
+ resource_type: "リソース種別"
67
+ author_type: "作成者種別"
57
68
  body: "本文"
58
69
  author: "作成者"
59
70
  title: "コメント"
@@ -74,6 +85,20 @@ ja:
74
85
  change_password:
75
86
  title: "パスワードを変更する"
76
87
  submit: "パスワードを変更する"
88
+ unlock:
89
+ title: "ロックの解除方法を送る"
90
+ submit: "ロックの解除方法を送る"
77
91
  links:
78
92
  sign_in: "サインイン"
93
+ sign_up: "ユーザ登録"
79
94
  forgot_your_password: "パスワードをお忘れですか?"
95
+ sign_in_with_omniauth_provider: "%{provider}のアカウントを使ってログイン"
96
+ resend_confirmation_instructions: "ユーザ確認手順を再送する"
97
+ resend_unlock_instructions: "ロックの解除方法を再送する"
98
+ access_denied:
99
+ message: "アクションを実行する権限がありません"
100
+ index_list:
101
+ table: "テーブル"
102
+ block: "リスト"
103
+ grid: "グリッド"
104
+ blog: "ブログ"