activeadmin 4.0.0.beta15 → 4.0.0.beta16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/UPGRADING.md +5 -3
  3. data/app/controllers/active_admin/resource_controller/data_access.rb +1 -1
  4. data/app/controllers/active_admin/resource_controller/streaming.rb +2 -2
  5. data/app/helpers/active_admin/form_helper.rb +1 -1
  6. data/app/views/active_admin/_site_header.html.erb +1 -1
  7. data/app/views/active_admin/kaminari/_gap.html.erb +1 -1
  8. data/app/views/active_admin/page/index.html.arb +1 -2
  9. data/app/views/active_admin/resource/_form.html.arb +0 -1
  10. data/app/views/active_admin/resource/_form_default.html.arb +0 -1
  11. data/app/views/active_admin/resource/_index_as_table_default.html.arb +0 -1
  12. data/app/views/active_admin/resource/_show_default.html.arb +0 -1
  13. data/app/views/active_admin/resource/edit.html.arb +0 -1
  14. data/app/views/active_admin/resource/index.html.arb +0 -1
  15. data/app/views/active_admin/resource/new.html.arb +0 -1
  16. data/app/views/active_admin/resource/show.html.arb +0 -1
  17. data/app/views/active_admin/shared/_sidebar_section.html.arb +0 -1
  18. data/app/views/layouts/active_admin.html.erb +1 -1
  19. data/config/importmap.rb +2 -2
  20. data/config/locales/ar.yml +135 -133
  21. data/config/locales/az.yml +103 -102
  22. data/config/locales/bg.yml +91 -90
  23. data/config/locales/bs.yml +95 -94
  24. data/config/locales/ca.yml +129 -128
  25. data/config/locales/cs.yml +82 -81
  26. data/config/locales/da.yml +102 -101
  27. data/config/locales/de.yml +130 -129
  28. data/config/locales/el.yml +94 -93
  29. data/config/locales/en-CA.yml +104 -103
  30. data/config/locales/en-GB.yml +104 -103
  31. data/config/locales/en.yml +134 -132
  32. data/config/locales/eo.yml +107 -106
  33. data/config/locales/es-MX.yml +70 -69
  34. data/config/locales/es.yml +129 -128
  35. data/config/locales/fa.yml +91 -90
  36. data/config/locales/fi.yml +84 -83
  37. data/config/locales/fr.yml +125 -124
  38. data/config/locales/he.yml +103 -102
  39. data/config/locales/hr.yml +95 -94
  40. data/config/locales/hu.yml +76 -75
  41. data/config/locales/id.yml +97 -96
  42. data/config/locales/it.yml +134 -132
  43. data/config/locales/ja.yml +109 -108
  44. data/config/locales/ko.yml +134 -132
  45. data/config/locales/lt.yml +106 -105
  46. data/config/locales/lv.yml +70 -69
  47. data/config/locales/mk.yml +100 -99
  48. data/config/locales/nb.yml +98 -97
  49. data/config/locales/nl.yml +113 -112
  50. data/config/locales/pl.yml +137 -136
  51. data/config/locales/pt-BR.yml +134 -105
  52. data/config/locales/pt-PT.yml +71 -70
  53. data/config/locales/ro.yml +74 -73
  54. data/config/locales/ru.yml +141 -140
  55. data/config/locales/sk.yml +131 -130
  56. data/config/locales/sv-SE.yml +126 -125
  57. data/config/locales/tr.yml +105 -104
  58. data/config/locales/uk.yml +140 -103
  59. data/config/locales/vi.yml +125 -124
  60. data/config/locales/zh-CN.yml +135 -133
  61. data/config/locales/zh-TW.yml +135 -133
  62. data/lib/active_admin/application.rb +2 -2
  63. data/lib/active_admin/batch_actions/resource_extension.rb +1 -1
  64. data/lib/active_admin/csv_builder.rb +1 -1
  65. data/lib/active_admin/dsl.rb +1 -1
  66. data/lib/active_admin/filters/active.rb +1 -1
  67. data/lib/active_admin/filters/active_filter.rb +1 -7
  68. data/lib/active_admin/filters/forms.rb +0 -3
  69. data/lib/active_admin/filters/resource_extension.rb +1 -1
  70. data/lib/active_admin/form_builder.rb +0 -4
  71. data/lib/active_admin/helpers/optional_display.rb +1 -1
  72. data/lib/active_admin/inputs/filters/base/search_method_select.rb +2 -2
  73. data/lib/active_admin/inputs/filters/select_input.rb +1 -3
  74. data/lib/active_admin/resource/action_items.rb +2 -2
  75. data/lib/active_admin/resource/belongs_to.rb +0 -1
  76. data/lib/active_admin/resource/naming.rb +1 -1
  77. data/lib/active_admin/resource.rb +1 -1
  78. data/lib/active_admin/resource_collection.rb +1 -1
  79. data/lib/active_admin/resource_dsl.rb +2 -2
  80. data/lib/active_admin/version.rb +1 -1
  81. data/lib/active_admin/view_helpers/method_or_proc_helper.rb +1 -1
  82. data/lib/active_admin/views/components/table_for.rb +1 -1
  83. data/lib/active_admin/views/index_as_table.rb +7 -2
  84. data/plugin.js +3 -12
  85. data/vendor/javascript/flowbite.js +1 -1
  86. metadata +8 -12
  87. data/lib/active_admin/views/components/tabs.rb +0 -40
@@ -1,116 +1,117 @@
1
- "en-CA":
1
+ ---
2
+ en-CA:
2
3
  active_admin:
3
- dashboard: Dashboard
4
- view: "View"
5
- edit: "Edit"
6
- delete: "Delete"
7
- delete_confirmation: "Are you sure you want to delete this?"
8
- create_another: "Create another %{model}"
9
- new_model: "New %{model}"
10
- edit_model: "Edit %{model}"
11
- delete_model: "Delete %{model}"
12
- details: "%{model} Details"
13
- cancel: "Cancel"
14
- empty: "Empty"
15
- previous: "Previous"
16
- next: "Next"
17
- download: "Download:"
18
- has_many_new: "Add New %{model}"
19
- has_many_delete: "Delete"
20
- has_many_remove: "Remove"
21
- filters:
22
- buttons:
23
- filter: "Filter"
24
- clear: "Clear Filters"
25
- search_status:
26
- no_current_filters: "None"
27
- status_tag:
28
- "yes": "Yes"
29
- "no": "No"
30
- "unset": "No"
31
- logout: "Logout"
32
- powered_by: "Powered by %{active_admin} %{version}"
33
- sidebars:
34
- filters: "Filters"
35
- search_status: "Search Status"
36
- pagination:
37
- empty: "No %{model} found"
38
- one: "Displaying <b>1</b> %{model}"
39
- one_page: "Displaying <b>all %{n}</b> %{model}"
40
- multiple: "Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> of <b>%{total}</b> in total"
41
- multiple_without_total: "Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>"
42
- per_page: "Per page: "
43
- entry:
44
- one: "entry"
45
- other: "entries"
46
- any: "Any"
47
- blank_slate:
48
- content: "There are no %{resource_name} yet."
49
- link: "Create one"
4
+ access_denied:
5
+ message: You are not authorized to perform this action.
6
+ any: Any
50
7
  batch_actions:
51
- button_label: "Batch Actions"
52
- default_confirmation: "Are you sure you want to do this?"
53
- delete_confirmation: "Are you sure you want to delete these %{plural_model}?"
54
- succesfully_destroyed:
55
- one: "Successfully deleted 1 %{model}"
56
- other: "Successfully deleted %{count} %{plural_model}"
57
- selection_toggle_explanation: "(Toggle Selection)"
58
8
  action_label: "%{title} Selected"
9
+ button_label: Batch Actions
10
+ default_confirmation: Are you sure you want to do this?
11
+ delete_confirmation: Are you sure you want to delete these %{plural_model}?
59
12
  labels:
60
- destroy: "Delete"
13
+ destroy: Delete
14
+ selection_toggle_explanation: "(Toggle Selection)"
15
+ successfully_destroyed:
16
+ one: Successfully deleted 1 %{model}
17
+ other: Successfully deleted %{count} %{plural_model}
18
+ blank_slate:
19
+ content: There are no %{resource_name} yet.
20
+ link: Create one
21
+ cancel: Cancel
61
22
  comments:
62
- created_at: "Created"
63
- resource_type: "Resource Type"
64
- author_type: "Author Type"
65
- body: "Body"
66
- author: "Author"
67
- add: "Add Comment"
68
- delete: "Delete Comment"
69
- delete_confirmation: "Are you sure you want to delete these comments?"
70
- resource: "Resource"
71
- no_comments_yet: "No comments yet."
72
- author_missing: "Anonymous"
73
- title_content: "Comments (%{count})"
23
+ add: Add Comment
24
+ author: Author
25
+ author_missing: Anonymous
26
+ author_type: Author Type
27
+ body: Body
28
+ created_at: Created
29
+ delete: Delete Comment
30
+ delete_confirmation: Are you sure you want to delete these comments?
74
31
  errors:
75
- empty_text: "Comment wasn't saved, text was empty."
32
+ empty_text: Comment wasn't saved, text was empty.
33
+ no_comments_yet: No comments yet.
34
+ resource: Resource
35
+ resource_type: Resource Type
36
+ title_content: Comments (%{count})
37
+ create_another: Create another %{model}
38
+ dashboard: Dashboard
39
+ delete: Delete
40
+ delete_confirmation: Are you sure you want to delete this?
41
+ delete_model: Delete %{model}
42
+ details: "%{model} Details"
76
43
  devise:
77
- username:
78
- title: "Username"
44
+ change_password:
45
+ submit: Change my password
46
+ title: Change your password
79
47
  email:
80
- title: "Email"
81
- subdomain:
82
- title: "Subdomain"
48
+ title: Email
49
+ links:
50
+ forgot_your_password: Forgot your password?
51
+ resend_confirmation_instructions: Resend confirmation instructions
52
+ resend_unlock_instructions: Resend unlock instructions
53
+ sign_in: Sign in
54
+ sign_in_with_omniauth_provider: Sign in with %{provider}
55
+ sign_up: Sign up
56
+ login:
57
+ remember_me: Remember me
58
+ submit: Login
59
+ title: Login
83
60
  password:
84
- title: "Password"
61
+ title: Password
85
62
  password_confirmation:
86
- title: "Confirm Password"
87
- sign_up:
88
- title: "Sign up"
89
- submit: "Sign up"
90
- login:
91
- title: "Login"
92
- remember_me: "Remember me"
93
- submit: "Login"
63
+ title: Confirm Password
64
+ resend_confirmation_instructions:
65
+ submit: Resend confirmation instructions
66
+ title: Resend confirmation instructions
94
67
  reset_password:
95
- title: "Forgot your password?"
96
- submit: "Reset My Password"
97
- change_password:
98
- title: "Change your password"
99
- submit: "Change my password"
68
+ submit: Reset My Password
69
+ title: Forgot your password?
70
+ sign_up:
71
+ submit: Sign up
72
+ title: Sign up
73
+ subdomain:
74
+ title: Subdomain
100
75
  unlock:
101
- title: "Resend unlock instructions"
102
- submit: "Resend unlock instructions"
103
- resend_confirmation_instructions:
104
- title: "Resend confirmation instructions"
105
- submit: "Resend confirmation instructions"
106
- links:
107
- sign_up: "Sign up"
108
- sign_in: "Sign in"
109
- forgot_your_password: "Forgot your password?"
110
- sign_in_with_omniauth_provider: "Sign in with %{provider}"
111
- resend_unlock_instructions: "Resend unlock instructions"
112
- resend_confirmation_instructions: "Resend confirmation instructions"
113
- access_denied:
114
- message: "You are not authorized to perform this action."
76
+ submit: Resend unlock instructions
77
+ title: Resend unlock instructions
78
+ username:
79
+ title: Username
80
+ download: 'Download:'
81
+ edit: Edit
82
+ edit_model: Edit %{model}
83
+ empty: Empty
84
+ filters:
85
+ buttons:
86
+ clear: Clear Filters
87
+ filter: Filter
88
+ has_many_delete: Delete
89
+ has_many_new: Add New %{model}
90
+ has_many_remove: Remove
115
91
  index_list:
116
- table: "Table"
92
+ table: Table
93
+ logout: Logout
94
+ new_model: New %{model}
95
+ next: Next
96
+ pagination:
97
+ empty: No %{model} found
98
+ entry:
99
+ one: entry
100
+ other: entries
101
+ multiple: Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> of <b>%{total}</b> in total
102
+ multiple_without_total: Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>
103
+ one: Displaying <b>1</b> %{model}
104
+ one_page: Displaying <b>all %{n}</b> %{model}
105
+ per_page: 'Per page: '
106
+ powered_by: Powered by %{active_admin} %{version}
107
+ previous: Previous
108
+ search_status:
109
+ no_current_filters: None
110
+ sidebars:
111
+ filters: Filters
112
+ search_status: Search Status
113
+ status_tag:
114
+ 'no': 'No'
115
+ unset: 'No'
116
+ 'yes': 'Yes'
117
+ view: View
@@ -1,116 +1,117 @@
1
- "en-GB":
1
+ ---
2
+ en-GB:
2
3
  active_admin:
3
- dashboard: Dashboard
4
- view: "View"
5
- edit: "Edit"
6
- delete: "Delete"
7
- delete_confirmation: "Are you sure you want to delete this?"
8
- create_another: "Create another %{model}"
9
- new_model: "New %{model}"
10
- edit_model: "Edit %{model}"
11
- delete_model: "Delete %{model}"
12
- details: "%{model} Details"
13
- cancel: "Cancel"
14
- empty: "Empty"
15
- previous: "Previous"
16
- next: "Next"
17
- download: "Download:"
18
- has_many_new: "Add New %{model}"
19
- has_many_delete: "Delete"
20
- has_many_remove: "Remove"
21
- filters:
22
- buttons:
23
- filter: "Filter"
24
- clear: "Clear Filters"
25
- search_status:
26
- no_current_filters: "None"
27
- status_tag:
28
- "yes": "Yes"
29
- "no": "No"
30
- "unset": "No"
31
- logout: "Logout"
32
- powered_by: "Powered by %{active_admin} %{version}"
33
- sidebars:
34
- filters: "Filters"
35
- search_status: "Search Status"
36
- pagination:
37
- empty: "No %{model} found"
38
- one: "Displaying <b>1</b> %{model}"
39
- one_page: "Displaying <b>all %{n}</b> %{model}"
40
- multiple: "Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> of <b>%{total}</b> in total"
41
- multiple_without_total: "Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>"
42
- per_page: "Per page: "
43
- entry:
44
- one: "entry"
45
- other: "entries"
46
- any: "Any"
47
- blank_slate:
48
- content: "There are no %{resource_name} yet."
49
- link: "Create one"
4
+ access_denied:
5
+ message: You are not authorised to perform this action.
6
+ any: Any
50
7
  batch_actions:
51
- button_label: "Batch Actions"
52
- default_confirmation: "Are you sure you want to do this?"
53
- delete_confirmation: "Are you sure you want to delete these %{plural_model}?"
54
- succesfully_destroyed:
55
- one: "Successfully deleted 1 %{model}"
56
- other: "Successfully deleted %{count} %{plural_model}"
57
- selection_toggle_explanation: "(Toggle Selection)"
58
8
  action_label: "%{title} Selected"
9
+ button_label: Batch Actions
10
+ default_confirmation: Are you sure you want to do this?
11
+ delete_confirmation: Are you sure you want to delete these %{plural_model}?
59
12
  labels:
60
- destroy: "Delete"
13
+ destroy: Delete
14
+ selection_toggle_explanation: "(Toggle Selection)"
15
+ successfully_destroyed:
16
+ one: Successfully deleted 1 %{model}
17
+ other: Successfully deleted %{count} %{plural_model}
18
+ blank_slate:
19
+ content: There are no %{resource_name} yet.
20
+ link: Create one
21
+ cancel: Cancel
61
22
  comments:
62
- created_at: "Created"
63
- resource_type: "Resource Type"
64
- author_type: "Author Type"
65
- body: "Body"
66
- author: "Author"
67
- add: "Add Comment"
68
- delete: "Delete Comment"
69
- delete_confirmation: "Are you sure you want to delete these comments?"
70
- resource: "Resource"
71
- no_comments_yet: "No comments yet."
72
- author_missing: "Anonymous"
73
- title_content: "Comments (%{count})"
23
+ add: Add Comment
24
+ author: Author
25
+ author_missing: Anonymous
26
+ author_type: Author Type
27
+ body: Body
28
+ created_at: Created
29
+ delete: Delete Comment
30
+ delete_confirmation: Are you sure you want to delete these comments?
74
31
  errors:
75
- empty_text: "Comment wasn't saved, text was empty."
32
+ empty_text: Comment wasn't saved, text was empty.
33
+ no_comments_yet: No comments yet.
34
+ resource: Resource
35
+ resource_type: Resource Type
36
+ title_content: Comments (%{count})
37
+ create_another: Create another %{model}
38
+ dashboard: Dashboard
39
+ delete: Delete
40
+ delete_confirmation: Are you sure you want to delete this?
41
+ delete_model: Delete %{model}
42
+ details: "%{model} Details"
76
43
  devise:
77
- username:
78
- title: "Username"
44
+ change_password:
45
+ submit: Change my password
46
+ title: Change your password
79
47
  email:
80
- title: "Email"
81
- subdomain:
82
- title: "Subdomain"
48
+ title: Email
49
+ links:
50
+ forgot_your_password: Forgot your password?
51
+ resend_confirmation_instructions: Resend confirmation instructions
52
+ resend_unlock_instructions: Resend unlock instructions
53
+ sign_in: Sign in
54
+ sign_in_with_omniauth_provider: Sign in with %{provider}
55
+ sign_up: Sign up
56
+ login:
57
+ remember_me: Remember me
58
+ submit: Login
59
+ title: Login
83
60
  password:
84
- title: "Password"
61
+ title: Password
85
62
  password_confirmation:
86
- title: "Confirm Password"
87
- sign_up:
88
- title: "Sign up"
89
- submit: "Sign up"
90
- login:
91
- title: "Login"
92
- remember_me: "Remember me"
93
- submit: "Login"
63
+ title: Confirm Password
64
+ resend_confirmation_instructions:
65
+ submit: Resend confirmation instructions
66
+ title: Resend confirmation instructions
94
67
  reset_password:
95
- title: "Forgot your password?"
96
- submit: "Reset My Password"
97
- change_password:
98
- title: "Change your password"
99
- submit: "Change my password"
68
+ submit: Reset My Password
69
+ title: Forgot your password?
70
+ sign_up:
71
+ submit: Sign up
72
+ title: Sign up
73
+ subdomain:
74
+ title: Subdomain
100
75
  unlock:
101
- title: "Resend unlock instructions"
102
- submit: "Resend unlock instructions"
103
- resend_confirmation_instructions:
104
- title: "Resend confirmation instructions"
105
- submit: "Resend confirmation instructions"
106
- links:
107
- sign_up: "Sign up"
108
- sign_in: "Sign in"
109
- forgot_your_password: "Forgot your password?"
110
- sign_in_with_omniauth_provider: "Sign in with %{provider}"
111
- resend_unlock_instructions: "Resend unlock instructions"
112
- resend_confirmation_instructions: "Resend confirmation instructions"
113
- access_denied:
114
- message: "You are not authorised to perform this action."
76
+ submit: Resend unlock instructions
77
+ title: Resend unlock instructions
78
+ username:
79
+ title: Username
80
+ download: 'Download:'
81
+ edit: Edit
82
+ edit_model: Edit %{model}
83
+ empty: Empty
84
+ filters:
85
+ buttons:
86
+ clear: Clear Filters
87
+ filter: Filter
88
+ has_many_delete: Delete
89
+ has_many_new: Add New %{model}
90
+ has_many_remove: Remove
115
91
  index_list:
116
- table: "Table"
92
+ table: Table
93
+ logout: Logout
94
+ new_model: New %{model}
95
+ next: Next
96
+ pagination:
97
+ empty: No %{model} found
98
+ entry:
99
+ one: entry
100
+ other: entries
101
+ multiple: Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> of <b>%{total}</b> in total
102
+ multiple_without_total: Displaying %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>
103
+ one: Displaying <b>1</b> %{model}
104
+ one_page: Displaying <b>all %{n}</b> %{model}
105
+ per_page: 'Per page: '
106
+ powered_by: Powered by %{active_admin} %{version}
107
+ previous: Previous
108
+ search_status:
109
+ no_current_filters: None
110
+ sidebars:
111
+ filters: Filters
112
+ search_status: Search Status
113
+ status_tag:
114
+ 'no': 'No'
115
+ unset: 'No'
116
+ 'yes': 'Yes'
117
+ view: View