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.
- checksums.yaml +4 -4
- data/UPGRADING.md +5 -3
- data/app/controllers/active_admin/resource_controller/data_access.rb +1 -1
- data/app/controllers/active_admin/resource_controller/streaming.rb +2 -2
- data/app/helpers/active_admin/form_helper.rb +1 -1
- data/app/views/active_admin/_site_header.html.erb +1 -1
- data/app/views/active_admin/kaminari/_gap.html.erb +1 -1
- data/app/views/active_admin/page/index.html.arb +1 -2
- data/app/views/active_admin/resource/_form.html.arb +0 -1
- data/app/views/active_admin/resource/_form_default.html.arb +0 -1
- data/app/views/active_admin/resource/_index_as_table_default.html.arb +0 -1
- data/app/views/active_admin/resource/_show_default.html.arb +0 -1
- data/app/views/active_admin/resource/edit.html.arb +0 -1
- data/app/views/active_admin/resource/index.html.arb +0 -1
- data/app/views/active_admin/resource/new.html.arb +0 -1
- data/app/views/active_admin/resource/show.html.arb +0 -1
- data/app/views/active_admin/shared/_sidebar_section.html.arb +0 -1
- data/app/views/layouts/active_admin.html.erb +1 -1
- data/config/importmap.rb +2 -2
- data/config/locales/ar.yml +135 -133
- data/config/locales/az.yml +103 -102
- data/config/locales/bg.yml +91 -90
- data/config/locales/bs.yml +95 -94
- data/config/locales/ca.yml +129 -128
- data/config/locales/cs.yml +82 -81
- data/config/locales/da.yml +102 -101
- data/config/locales/de.yml +130 -129
- data/config/locales/el.yml +94 -93
- data/config/locales/en-CA.yml +104 -103
- data/config/locales/en-GB.yml +104 -103
- data/config/locales/en.yml +134 -132
- data/config/locales/eo.yml +107 -106
- data/config/locales/es-MX.yml +70 -69
- data/config/locales/es.yml +129 -128
- data/config/locales/fa.yml +91 -90
- data/config/locales/fi.yml +84 -83
- data/config/locales/fr.yml +125 -124
- data/config/locales/he.yml +103 -102
- data/config/locales/hr.yml +95 -94
- data/config/locales/hu.yml +76 -75
- data/config/locales/id.yml +97 -96
- data/config/locales/it.yml +134 -132
- data/config/locales/ja.yml +109 -108
- data/config/locales/ko.yml +134 -132
- data/config/locales/lt.yml +106 -105
- data/config/locales/lv.yml +70 -69
- data/config/locales/mk.yml +100 -99
- data/config/locales/nb.yml +98 -97
- data/config/locales/nl.yml +113 -112
- data/config/locales/pl.yml +137 -136
- data/config/locales/pt-BR.yml +134 -105
- data/config/locales/pt-PT.yml +71 -70
- data/config/locales/ro.yml +74 -73
- data/config/locales/ru.yml +141 -140
- data/config/locales/sk.yml +131 -130
- data/config/locales/sv-SE.yml +126 -125
- data/config/locales/tr.yml +105 -104
- data/config/locales/uk.yml +140 -103
- data/config/locales/vi.yml +125 -124
- data/config/locales/zh-CN.yml +135 -133
- data/config/locales/zh-TW.yml +135 -133
- data/lib/active_admin/application.rb +2 -2
- data/lib/active_admin/batch_actions/resource_extension.rb +1 -1
- data/lib/active_admin/csv_builder.rb +1 -1
- data/lib/active_admin/dsl.rb +1 -1
- data/lib/active_admin/filters/active.rb +1 -1
- data/lib/active_admin/filters/active_filter.rb +1 -7
- data/lib/active_admin/filters/forms.rb +0 -3
- data/lib/active_admin/filters/resource_extension.rb +1 -1
- data/lib/active_admin/form_builder.rb +0 -4
- data/lib/active_admin/helpers/optional_display.rb +1 -1
- data/lib/active_admin/inputs/filters/base/search_method_select.rb +2 -2
- data/lib/active_admin/inputs/filters/select_input.rb +1 -3
- data/lib/active_admin/resource/action_items.rb +2 -2
- data/lib/active_admin/resource/belongs_to.rb +0 -1
- data/lib/active_admin/resource/naming.rb +1 -1
- data/lib/active_admin/resource.rb +1 -1
- data/lib/active_admin/resource_collection.rb +1 -1
- data/lib/active_admin/resource_dsl.rb +2 -2
- data/lib/active_admin/version.rb +1 -1
- data/lib/active_admin/view_helpers/method_or_proc_helper.rb +1 -1
- data/lib/active_admin/views/components/table_for.rb +1 -1
- data/lib/active_admin/views/index_as_table.rb +7 -2
- data/plugin.js +3 -12
- data/vendor/javascript/flowbite.js +1 -1
- metadata +8 -12
- data/lib/active_admin/views/components/tabs.rb +0 -40
data/config/locales/en-CA.yml
CHANGED
@@ -1,116 +1,117 @@
|
|
1
|
-
|
1
|
+
---
|
2
|
+
en-CA:
|
2
3
|
active_admin:
|
3
|
-
|
4
|
-
|
5
|
-
|
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} - %{to}</b> of <b>%{total}</b> in total"
|
41
|
-
multiple_without_total: "Displaying %{model} <b>%{from} - %{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:
|
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
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
delete:
|
69
|
-
delete_confirmation:
|
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:
|
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
|
-
|
78
|
-
|
44
|
+
change_password:
|
45
|
+
submit: Change my password
|
46
|
+
title: Change your password
|
79
47
|
email:
|
80
|
-
title:
|
81
|
-
|
82
|
-
|
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:
|
61
|
+
title: Password
|
85
62
|
password_confirmation:
|
86
|
-
title:
|
87
|
-
|
88
|
-
|
89
|
-
|
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
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
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
|
-
|
102
|
-
|
103
|
-
|
104
|
-
title:
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
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:
|
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} - %{to}</b> of <b>%{total}</b> in total
|
102
|
+
multiple_without_total: Displaying %{model} <b>%{from} - %{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
|
data/config/locales/en-GB.yml
CHANGED
@@ -1,116 +1,117 @@
|
|
1
|
-
|
1
|
+
---
|
2
|
+
en-GB:
|
2
3
|
active_admin:
|
3
|
-
|
4
|
-
|
5
|
-
|
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} - %{to}</b> of <b>%{total}</b> in total"
|
41
|
-
multiple_without_total: "Displaying %{model} <b>%{from} - %{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:
|
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
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
delete:
|
69
|
-
delete_confirmation:
|
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:
|
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
|
-
|
78
|
-
|
44
|
+
change_password:
|
45
|
+
submit: Change my password
|
46
|
+
title: Change your password
|
79
47
|
email:
|
80
|
-
title:
|
81
|
-
|
82
|
-
|
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:
|
61
|
+
title: Password
|
85
62
|
password_confirmation:
|
86
|
-
title:
|
87
|
-
|
88
|
-
|
89
|
-
|
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
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
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
|
-
|
102
|
-
|
103
|
-
|
104
|
-
title:
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
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:
|
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} - %{to}</b> of <b>%{total}</b> in total
|
102
|
+
multiple_without_total: Displaying %{model} <b>%{from} - %{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
|