activeadmin 2.3.1 → 2.7.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +120 -35
- data/CONTRIBUTING.md +51 -55
- data/README.md +2 -2
- data/app/assets/javascripts/active_admin/base.js +519 -0
- data/app/assets/stylesheets/active_admin/_base.scss +29 -29
- data/app/assets/stylesheets/active_admin/_header.scss +40 -8
- data/app/assets/stylesheets/active_admin/_mixins.scss +1 -1
- data/{vendor → app}/assets/stylesheets/active_admin/_normalize.scss +0 -0
- data/app/assets/stylesheets/active_admin/components/_tables.scss +1 -2
- data/app/assets/stylesheets/active_admin/mixins/_all.scss +8 -8
- data/app/assets/stylesheets/active_admin/mixins/_variables.scss +8 -0
- data/app/assets/stylesheets/active_admin/print.scss +2 -2
- data/app/assets/stylesheets/active_admin/structure/_main_structure.scss +1 -1
- data/app/javascript/active_admin/base.js +28 -0
- data/app/{assets/javascripts/active_admin/ext/jquery-ui.es6 → javascript/active_admin/ext/jquery-ui.js} +0 -0
- data/app/{assets/javascripts/active_admin/ext/jquery.es6 → javascript/active_admin/ext/jquery.js} +0 -0
- data/app/{assets/javascripts/active_admin/lib/batch_actions.es6 → javascript/active_admin/initializers/batch-actions.js} +4 -2
- data/app/javascript/active_admin/initializers/checkbox-toggler.js +3 -0
- data/app/{assets/javascripts/active_admin/initializers/datepicker.es6 → javascript/active_admin/initializers/datepicker.js} +0 -0
- data/app/javascript/active_admin/initializers/dropdown-menu.js +9 -0
- data/app/javascript/active_admin/initializers/filters.js +10 -0
- data/app/{assets/javascripts/active_admin/lib/has_many.es6 → javascript/active_admin/initializers/has-many.js} +0 -0
- data/app/javascript/active_admin/initializers/per-page.js +13 -0
- data/app/javascript/active_admin/initializers/table-checkbox-toggler.js +3 -0
- data/app/{assets/javascripts/active_admin/initializers/tabs.es6 → javascript/active_admin/initializers/tabs.js} +0 -0
- data/app/{assets/javascripts/active_admin/lib/checkbox-toggler.es6 → javascript/active_admin/lib/checkbox-toggler.js} +2 -2
- data/app/{assets/javascripts/active_admin/lib/dropdown-menu.es6 → javascript/active_admin/lib/dropdown-menu.js} +2 -9
- data/app/javascript/active_admin/lib/filters.js +39 -0
- data/app/{assets/javascripts/active_admin/lib/modal_dialog.es6 → javascript/active_admin/lib/modal-dialog.js} +3 -1
- data/app/javascript/active_admin/lib/per-page.js +38 -0
- data/app/{assets/javascripts/active_admin/lib/table-checkbox-toggler.es6 → javascript/active_admin/lib/table-checkbox-toggler.js} +4 -2
- data/app/javascript/active_admin/lib/utils.js +40 -0
- data/app/views/layouts/active_admin_logged_out.html.erb +15 -5
- data/config/locales/az.yml +138 -0
- data/config/locales/de.yml +18 -0
- data/config/locales/en-CA.yml +3 -3
- data/config/locales/en-GB.yml +3 -3
- data/config/locales/en.yml +3 -3
- data/config/locales/es.yml +3 -3
- data/config/locales/fr.yml +4 -4
- data/config/locales/lv.yml +2 -2
- data/config/locales/sk.yml +59 -0
- data/config/locales/vi.yml +6 -5
- data/docs/0-installation.md +26 -2
- data/docs/1-general-configuration.md +20 -0
- data/docs/2-resource-customization.md +10 -1
- data/docs/3-index-pages.md +1 -1
- data/docs/9-batch-actions.md +2 -2
- data/docs/Gemfile.lock +103 -103
- data/docs/_includes/top-menu.html +1 -1
- data/docs/documentation.md +1 -1
- data/docs/index.html +6 -6
- data/lib/active_admin.rb +0 -1
- data/lib/active_admin/application.rb +1 -1
- data/lib/active_admin/csv_builder.rb +7 -3
- data/lib/active_admin/filters/active_filter.rb +1 -1
- data/lib/active_admin/filters/resource_extension.rb +24 -0
- data/lib/active_admin/inputs/filters/date_range_input.rb +15 -12
- data/lib/active_admin/localizers/resource_localizer.rb +1 -1
- data/lib/active_admin/menu.rb +5 -2
- data/lib/active_admin/namespace_settings.rb +16 -0
- data/lib/active_admin/order_clause.rb +1 -1
- data/lib/active_admin/resource.rb +1 -1
- data/lib/active_admin/resource/naming.rb +1 -1
- data/lib/active_admin/resource_controller/decorators.rb +2 -2
- data/lib/active_admin/resource_controller/polymorphic_routes.rb +3 -2
- data/lib/active_admin/version.rb +1 -1
- data/lib/active_admin/views/components/paginated_collection.rb +2 -1
- data/lib/active_admin/views/components/scopes.rb +2 -0
- data/lib/active_admin/views/components/table_for.rb +2 -1
- data/lib/active_admin/views/pages/base.rb +9 -5
- data/lib/active_admin/views/pages/index.rb +1 -0
- data/lib/generators/active_admin/install/install_generator.rb +7 -1
- data/lib/generators/active_admin/install/templates/active_admin.rb.erb +21 -1
- data/lib/generators/active_admin/webpacker/plugins/jquery.js +7 -0
- data/lib/generators/active_admin/webpacker/templates/active_admin.js +5 -0
- data/lib/generators/active_admin/webpacker/templates/active_admin.scss +17 -0
- data/lib/generators/active_admin/webpacker/templates/print.scss +2 -0
- data/lib/generators/active_admin/webpacker/webpacker_generator.rb +26 -0
- metadata +32 -43
- data/app/assets/images/active_admin/nested_menu_arrow.gif +0 -0
- data/app/assets/images/active_admin/nested_menu_arrow_dark.gif +0 -0
- data/app/assets/images/active_admin/orderable.png +0 -0
- data/app/assets/javascripts/active_admin/base.es6 +0 -23
- data/app/assets/javascripts/active_admin/initializers/filters.es6 +0 -45
- data/app/assets/javascripts/active_admin/lib/active_admin.es6 +0 -41
- data/app/assets/javascripts/active_admin/lib/per_page.es6 +0 -47
@@ -1,4 +1,6 @@
|
|
1
|
-
|
1
|
+
import CheckboxToggler from "./checkbox-toggler";
|
2
|
+
|
3
|
+
class TableCheckboxToggler extends CheckboxToggler {
|
2
4
|
_bind() {
|
3
5
|
super._bind(...arguments);
|
4
6
|
|
@@ -33,4 +35,4 @@ ActiveAdmin.TableCheckboxToggler = class TableCheckboxToggler extends ActiveAdmi
|
|
33
35
|
}
|
34
36
|
};
|
35
37
|
|
36
|
-
|
38
|
+
export default TableCheckboxToggler;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
function hasTurbolinks() {
|
2
|
+
return (typeof Turbolinks !== 'undefined' && Turbolinks.supported);
|
3
|
+
}
|
4
|
+
|
5
|
+
function turbolinksVisit(params) {
|
6
|
+
const path = [window.location.pathname, '?', toQueryString(params)].join('')
|
7
|
+
Turbolinks.visit(path);
|
8
|
+
}
|
9
|
+
|
10
|
+
function queryString() {
|
11
|
+
return (window.location.search || '').replace(/^\?/, '');
|
12
|
+
}
|
13
|
+
|
14
|
+
function queryStringToParams() {
|
15
|
+
const decode = (value) => decodeURIComponent((value || '').replace(/\+/g, '%20'));
|
16
|
+
|
17
|
+
return queryString()
|
18
|
+
.split("&")
|
19
|
+
.map(pair => pair.split("="))
|
20
|
+
.map(([key, value]) => {
|
21
|
+
return { name: decode(key), value: decode(value) }
|
22
|
+
});
|
23
|
+
}
|
24
|
+
|
25
|
+
function toQueryString(params) {
|
26
|
+
const encode = (value) => encodeURIComponent(value || '');
|
27
|
+
|
28
|
+
return params
|
29
|
+
.map(({name, value}) => [ encode(name), encode(value) ])
|
30
|
+
.map(pair => pair.join('='))
|
31
|
+
.join('&')
|
32
|
+
}
|
33
|
+
|
34
|
+
export {
|
35
|
+
hasTurbolinks,
|
36
|
+
turbolinksVisit,
|
37
|
+
queryString,
|
38
|
+
queryStringToParams,
|
39
|
+
toQueryString
|
40
|
+
};
|
@@ -6,10 +6,18 @@
|
|
6
6
|
<title><%= [@page_title, ActiveAdmin.application.site_title(self)].compact.join(" | ") %></title>
|
7
7
|
|
8
8
|
<% ActiveAdmin.application.stylesheets.each do |style, options| %>
|
9
|
-
|
9
|
+
<% if ActiveAdmin.application.use_webpacker %>
|
10
|
+
<%= stylesheet_pack_tag style, options %>
|
11
|
+
<% else %>
|
12
|
+
<%= stylesheet_link_tag style, options %>
|
13
|
+
<% end %>
|
10
14
|
<% end %>
|
11
15
|
<% ActiveAdmin.application.javascripts.each do |path| %>
|
12
|
-
|
16
|
+
<% if ActiveAdmin.application.use_webpacker %>
|
17
|
+
<%= javascript_pack_tag path %>
|
18
|
+
<% else %>
|
19
|
+
<%= javascript_include_tag path %>
|
20
|
+
<% end %>
|
13
21
|
<% end %>
|
14
22
|
|
15
23
|
<%= favicon_link_tag ActiveAdmin.application.favicon if ActiveAdmin.application.favicon %>
|
@@ -24,9 +32,11 @@
|
|
24
32
|
<div id="wrapper">
|
25
33
|
|
26
34
|
<div id="content_wrapper">
|
27
|
-
|
28
|
-
|
29
|
-
|
35
|
+
<div class="flashes">
|
36
|
+
<% flash_messages.each do |type, message| %>
|
37
|
+
<%= content_tag :div, message, class: "flash flash_#{type}" %>
|
38
|
+
<% end %>
|
39
|
+
</div>
|
30
40
|
<div id="active_admin_content">
|
31
41
|
<%= yield %>
|
32
42
|
</div>
|
@@ -0,0 +1,138 @@
|
|
1
|
+
az:
|
2
|
+
active_admin:
|
3
|
+
dashboard: "İdarəetmə paneli"
|
4
|
+
dashboard_welcome:
|
5
|
+
welcome: "Active Admin-ə xoş gəlmişsiniz. Bu saytla idarəetmənin standart səhifəsidir."
|
6
|
+
call_to_action: "Buraya nə isə əlavə etmək üçün 'app/admin/dashboard.rb' sənədini dəyişin"
|
7
|
+
view: "Aç"
|
8
|
+
edit: "Dəyiş"
|
9
|
+
delete: "Sil"
|
10
|
+
delete_confirmation: "Siz bunu silmək istədiyinizdən əminsiniz?"
|
11
|
+
new_model: "%{model} yarat"
|
12
|
+
edit_model: "%{model} dəyiş"
|
13
|
+
delete_model: "%{model} sil"
|
14
|
+
details: "%{model} haqqında"
|
15
|
+
cancel: "İmtina"
|
16
|
+
empty: "Boş"
|
17
|
+
previous: "Geri"
|
18
|
+
next: "İrəli"
|
19
|
+
download: "Yüklənmə:"
|
20
|
+
has_many_new: "%{model} əlavə et"
|
21
|
+
has_many_delete: "Sil"
|
22
|
+
has_many_remove: "Yığışdır"
|
23
|
+
filters:
|
24
|
+
buttons:
|
25
|
+
filter: "Filtrlə"
|
26
|
+
clear: "Təmizlə"
|
27
|
+
predicates:
|
28
|
+
contains: "Yerləşir"
|
29
|
+
equals: "Bərabərdir"
|
30
|
+
starts_with: "Başlayır"
|
31
|
+
ends_with: "Bitir"
|
32
|
+
greater_than: "böyük"
|
33
|
+
less_than: "kiçik"
|
34
|
+
search_status:
|
35
|
+
headline: "Axtarışın statusu:"
|
36
|
+
current_scope: "Sahə:"
|
37
|
+
current_filters: "Cari filter:"
|
38
|
+
no_current_filters: "Heç biri"
|
39
|
+
status_tag:
|
40
|
+
"yes": "Bəli"
|
41
|
+
"no": "Xeyr"
|
42
|
+
main_content: "Создайте %{model}#main_content для отображения содержимого."
|
43
|
+
logout: "Çıxış"
|
44
|
+
powered_by: "Работает на %{active_admin} %{version}"
|
45
|
+
sidebars:
|
46
|
+
filters: "Filterlə"
|
47
|
+
search_status: "Axtarışın statusu"
|
48
|
+
pagination:
|
49
|
+
empty: "%{model} tapılmadı"
|
50
|
+
one: "Nəticə: <b>1</b> %{model}"
|
51
|
+
one_page: "Nəticə: <b>%{n}</b> %{model}"
|
52
|
+
multiple: "Nəticə: %{model} <b>%{from} - %{to}</b> <b>%{total}</b>"
|
53
|
+
multiple_without_total: "Nəticə: %{model} <b>%{from} - %{to}</b>"
|
54
|
+
entry:
|
55
|
+
one: "yazı"
|
56
|
+
few: "yazı"
|
57
|
+
many: "yazı"
|
58
|
+
other: "yazı"
|
59
|
+
any: "İstənilən"
|
60
|
+
blank_slate:
|
61
|
+
content: "%{resource_name} hələ yoxdur."
|
62
|
+
link: "Yarat"
|
63
|
+
dropdown_actions:
|
64
|
+
button_label: "Əməliyyatlar"
|
65
|
+
batch_actions:
|
66
|
+
button_label: "Qrup əməliyyatları"
|
67
|
+
default_confirmation: "Siz bunu etməyinizə əminsiniz?"
|
68
|
+
delete_confirmation: "Siz %{plural_model} silməyə əminsiniz?"
|
69
|
+
succesfully_destroyed:
|
70
|
+
one: "Uğurla silindi: 1 %{model}"
|
71
|
+
few: "Uğurla silindi: %{count} %{plural_model}"
|
72
|
+
many: "Uğurla silindi: %{count} %{plural_model}"
|
73
|
+
other: "Uğurla silindi: %{count} %{plural_model}"
|
74
|
+
selection_toggle_explanation: "(Hamısını seç / Seçilmişləri sıfırla)"
|
75
|
+
action_label: "%{title} seçilmiş"
|
76
|
+
labels:
|
77
|
+
destroy: "Sil"
|
78
|
+
comments:
|
79
|
+
created_at: "Yaranma tarixi"
|
80
|
+
resource_type: "Resursun tipi"
|
81
|
+
author_type: "Müəllifin tipi"
|
82
|
+
body: "Mətn"
|
83
|
+
author: "Müəllif"
|
84
|
+
add: "Şərh əlavə et"
|
85
|
+
delete: "Şərhi sil"
|
86
|
+
delete_confirmation: "Siz bu şərhi silmək istədiyinizdən əminsiniz?"
|
87
|
+
resource: "Resurs"
|
88
|
+
no_comments_yet: "Hələ şərhlər yoxdur."
|
89
|
+
author_missing: "Naməlum"
|
90
|
+
title_content: "Şərhlər (%{count})"
|
91
|
+
errors:
|
92
|
+
empty_text: "Şərh yadda saxlanılmadı, mətn boş ola bilməz."
|
93
|
+
devise:
|
94
|
+
username:
|
95
|
+
title: "İstifadəçi adı"
|
96
|
+
email:
|
97
|
+
title: "E-poçt"
|
98
|
+
subdomain:
|
99
|
+
title: "Subdomen"
|
100
|
+
password:
|
101
|
+
title: "Şifrə"
|
102
|
+
sign_up:
|
103
|
+
title: "Qeydiyyat"
|
104
|
+
submit: "Qeydiyyatdan keç"
|
105
|
+
login:
|
106
|
+
title: "Giriş"
|
107
|
+
remember_me: "Məni yadda saxla"
|
108
|
+
submit: "Daxil ol"
|
109
|
+
reset_password:
|
110
|
+
title: "Şifrəni unutmusunuz?"
|
111
|
+
submit: "Şifrəni sıfırla"
|
112
|
+
change_password:
|
113
|
+
title: "Şifrənin dəyişdirilməsi"
|
114
|
+
submit: "Şifrəni dəyiş"
|
115
|
+
unlock:
|
116
|
+
title: "Blokdan çıxarma üzrə təlimatı yenidən göndərmək"
|
117
|
+
submit: "Blokdan çıxarma üzrə təlimatı yenidən göndərmək"
|
118
|
+
resend_confirmation_instructions:
|
119
|
+
title: "Aktivləşdirmə ismarışını yenidən göndərmək"
|
120
|
+
submit: "Aktivləşdirmə ismarışını yenidən göndərmək"
|
121
|
+
links:
|
122
|
+
sign_up: "Qeydiyyat"
|
123
|
+
sign_in: "Giriş"
|
124
|
+
forgot_your_password: "Şifrəni unutmusunuz?"
|
125
|
+
sign_in_with_omniauth_provider: "%{provider} vasitəsilə daxil ol"
|
126
|
+
resend_unlock_instructions: "Blokdan çıxarma üzrə təlimatı yenidən göndərilməsi"
|
127
|
+
resend_confirmation_instructions: "Aktivləşdirmə ismarışını yenidən göndərilməsi"
|
128
|
+
unsupported_browser:
|
129
|
+
headline: "Zəhmət olmasa, bilin ki, Active Admin artıq Internet Explorer-in köhnə versiyalarını daha dəstəkləmir və yalnız IE 8 versiyasından başlayaraq dəstəkləyir"
|
130
|
+
recommendation: "Biz sizin brauzerinizin versiyasını yeniləməyi məsləhət görürük (<a href=\"http://windows.microsoft.com/ie\">Internet Explorer</a>, <a href=\"https://chrome.google.com/\">Google Chrome</a>, və ya <a href=\"https://mozilla.org/firefox/\">Firefox</a>)."
|
131
|
+
turn_off_compatibility_view: "Əgər siz IE 9 və ya daha yeni versiya istifadə edirsinizsə, əmin olun ki, <a href=\"https://support.microsoft.com/ru-ru/help/17471\">\"Uyğunluğun rejimində baxış\"</a> seçimini söndürmüsünüz."
|
132
|
+
access_denied:
|
133
|
+
message: "Bunu etmək üçün daxil olmalısınız."
|
134
|
+
index_list:
|
135
|
+
table: "Cədvəl"
|
136
|
+
block: "Siyahı"
|
137
|
+
grid: "Tor"
|
138
|
+
blog: "Bloq"
|
data/config/locales/de.yml
CHANGED
@@ -1,4 +1,20 @@
|
|
1
1
|
de:
|
2
|
+
activerecord:
|
3
|
+
models:
|
4
|
+
comment:
|
5
|
+
one: "Kommentar"
|
6
|
+
other: "Kommentare"
|
7
|
+
active_admin/comment:
|
8
|
+
one: "Kommentar"
|
9
|
+
other: "Kommentare"
|
10
|
+
attributes:
|
11
|
+
active_admin/comment:
|
12
|
+
author_type: "Autortyp"
|
13
|
+
body: "Inhalt"
|
14
|
+
created_at: "Erstellt"
|
15
|
+
namespace: "Namensraum"
|
16
|
+
resource_type: "Ressourcentyp"
|
17
|
+
updated_at: "Aktualisiert"
|
2
18
|
active_admin:
|
3
19
|
dashboard: Übersicht
|
4
20
|
dashboard_welcome:
|
@@ -37,6 +53,8 @@ de:
|
|
37
53
|
lteq_datetime: "Kleiner gleich"
|
38
54
|
from: "Von"
|
39
55
|
to: "Bis"
|
56
|
+
scopes:
|
57
|
+
all: "Alle"
|
40
58
|
search_status:
|
41
59
|
headline: "Filter"
|
42
60
|
current_scope: "Anwendungsbereich:"
|
data/config/locales/en-CA.yml
CHANGED
@@ -68,8 +68,8 @@
|
|
68
68
|
default_confirmation: "Are you sure you want to do this?"
|
69
69
|
delete_confirmation: "Are you sure you want to delete these %{plural_model}?"
|
70
70
|
succesfully_destroyed:
|
71
|
-
one: "Successfully
|
72
|
-
other: "Successfully
|
71
|
+
one: "Successfully deleted 1 %{model}"
|
72
|
+
other: "Successfully deleted %{count} %{plural_model}"
|
73
73
|
selection_toggle_explanation: "(Toggle Selection)"
|
74
74
|
action_label: "%{title} Selected"
|
75
75
|
labels:
|
@@ -82,7 +82,7 @@
|
|
82
82
|
author: "Author"
|
83
83
|
add: "Add Comment"
|
84
84
|
delete: "Delete Comment"
|
85
|
-
delete_confirmation: "Are you sure you want to delete these
|
85
|
+
delete_confirmation: "Are you sure you want to delete these comments?"
|
86
86
|
resource: "Resource"
|
87
87
|
no_comments_yet: "No comments yet."
|
88
88
|
author_missing: "Anonymous"
|
data/config/locales/en-GB.yml
CHANGED
@@ -68,8 +68,8 @@
|
|
68
68
|
default_confirmation: "Are you sure you want to do this?"
|
69
69
|
delete_confirmation: "Are you sure you want to delete these %{plural_model}?"
|
70
70
|
succesfully_destroyed:
|
71
|
-
one: "Successfully
|
72
|
-
other: "Successfully
|
71
|
+
one: "Successfully deleted 1 %{model}"
|
72
|
+
other: "Successfully deleted %{count} %{plural_model}"
|
73
73
|
selection_toggle_explanation: "(Toggle Selection)"
|
74
74
|
action_label: "%{title} Selected"
|
75
75
|
labels:
|
@@ -82,7 +82,7 @@
|
|
82
82
|
author: "Author"
|
83
83
|
add: "Add Comment"
|
84
84
|
delete: "Delete Comment"
|
85
|
-
delete_confirmation: "Are you sure you want to delete these
|
85
|
+
delete_confirmation: "Are you sure you want to delete these comments?"
|
86
86
|
resource: "Resource"
|
87
87
|
no_comments_yet: "No comments yet."
|
88
88
|
author_missing: "Anonymous"
|
data/config/locales/en.yml
CHANGED
@@ -91,8 +91,8 @@ en:
|
|
91
91
|
default_confirmation: "Are you sure you want to do this?"
|
92
92
|
delete_confirmation: "Are you sure you want to delete these %{plural_model}?"
|
93
93
|
succesfully_destroyed:
|
94
|
-
one: "Successfully
|
95
|
-
other: "Successfully
|
94
|
+
one: "Successfully deleted 1 %{model}"
|
95
|
+
other: "Successfully deleted %{count} %{plural_model}"
|
96
96
|
selection_toggle_explanation: "(Toggle Selection)"
|
97
97
|
action_label: "%{title} Selected"
|
98
98
|
labels:
|
@@ -105,7 +105,7 @@ en:
|
|
105
105
|
author: "Author"
|
106
106
|
add: "Add Comment"
|
107
107
|
delete: "Delete Comment"
|
108
|
-
delete_confirmation: "Are you sure you want to delete these
|
108
|
+
delete_confirmation: "Are you sure you want to delete these comments?"
|
109
109
|
resource: "Resource"
|
110
110
|
no_comments_yet: "No comments yet."
|
111
111
|
author_missing: "Anonymous"
|
data/config/locales/es.yml
CHANGED
@@ -23,7 +23,7 @@ es:
|
|
23
23
|
view: "Ver"
|
24
24
|
edit: "Editar"
|
25
25
|
delete: "Eliminar"
|
26
|
-
delete_confirmation: "¿
|
26
|
+
delete_confirmation: "¿Confirma que desea borrar este elemento?"
|
27
27
|
create_another: "Crear otro %{model}"
|
28
28
|
new_model: "Añadir %{model}"
|
29
29
|
edit_model: "Editar %{model}"
|
@@ -89,7 +89,7 @@ es:
|
|
89
89
|
batch_actions:
|
90
90
|
button_label: "Acciones en masa"
|
91
91
|
default_confirmation: "¿Seguro que quieres hacer esto?"
|
92
|
-
delete_confirmation: "
|
92
|
+
delete_confirmation: "Se eliminarán %{plural_model}. ¿Desea continuar?"
|
93
93
|
succesfully_destroyed:
|
94
94
|
one: "Se ha destruido 1 %{model} con éxito"
|
95
95
|
other: "Se han destruido %{count} %{plural_model} con éxito"
|
@@ -105,7 +105,7 @@ es:
|
|
105
105
|
author: "Autor"
|
106
106
|
add: "Comentar"
|
107
107
|
delete: "Borrar Comentario"
|
108
|
-
delete_confirmation: "¿
|
108
|
+
delete_confirmation: "¿Confirma que desea borrar este comentario?"
|
109
109
|
resource: "Recurso"
|
110
110
|
no_comments_yet: "No hay comentarios aún."
|
111
111
|
author_missing: "Anónimo"
|
data/config/locales/fr.yml
CHANGED
@@ -7,7 +7,7 @@ fr:
|
|
7
7
|
view: "Voir"
|
8
8
|
edit: "Modifier"
|
9
9
|
delete: "Supprimer"
|
10
|
-
delete_confirmation: "
|
10
|
+
delete_confirmation: "Voulez-vous vraiment supprimer ceci ?"
|
11
11
|
create_another: "Créer autre %{model}"
|
12
12
|
new_model: "Créer %{model}"
|
13
13
|
edit_model: "Modifier %{model}"
|
@@ -69,8 +69,8 @@ fr:
|
|
69
69
|
button_label: "Actions"
|
70
70
|
batch_actions:
|
71
71
|
button_label: "Actions groupées"
|
72
|
-
default_confirmation: "
|
73
|
-
delete_confirmation: "
|
72
|
+
default_confirmation: "Voulez-vous vraiment faire cela ?"
|
73
|
+
delete_confirmation: "Voulez-vous vraiment supprimer ces %{plural_model} ?"
|
74
74
|
succesfully_destroyed:
|
75
75
|
one: "1 %{model} supprimé"
|
76
76
|
other: "%{count} %{plural_model} supprimés"
|
@@ -86,7 +86,7 @@ fr:
|
|
86
86
|
author: "Auteur"
|
87
87
|
add: "Ajouter un commentaire"
|
88
88
|
delete: "Supprimer ce commentaire"
|
89
|
-
delete_confirmation: "
|
89
|
+
delete_confirmation: "Voulez-vous vraiment supprimer ce commentaire ?"
|
90
90
|
resource: "Ressource"
|
91
91
|
no_comments_yet: "Aucun commentaire actuellement"
|
92
92
|
author_missing: "Anonyme"
|
data/config/locales/lv.yml
CHANGED
@@ -60,8 +60,8 @@ lv:
|
|
60
60
|
default_confirmation: "Vai tiešām vēlaties to darīt?"
|
61
61
|
delete_confirmation: "Vai tiešām vēlaties dzēst šos %{plural_model}?"
|
62
62
|
succesfully_destroyed:
|
63
|
-
one: "Successfully
|
64
|
-
other: "Successfully
|
63
|
+
one: "Successfully deleted 1 %{model}"
|
64
|
+
other: "Successfully deleted %{count} %{plural_model}"
|
65
65
|
selection_toggle_explanation: "(Toggle Selection)"
|
66
66
|
action_label: "%{title} Selected"
|
67
67
|
labels:
|
data/config/locales/sk.yml
CHANGED
@@ -1,4 +1,24 @@
|
|
1
1
|
sk:
|
2
|
+
activerecord:
|
3
|
+
models:
|
4
|
+
comment:
|
5
|
+
one: "Komentár"
|
6
|
+
few: "Komentáre"
|
7
|
+
many: "Komentárov"
|
8
|
+
other: "Komentáre"
|
9
|
+
active_admin/comment:
|
10
|
+
one: "Komentár"
|
11
|
+
few: "Komentáre"
|
12
|
+
many: "Komentárov"
|
13
|
+
other: "Komentáre"
|
14
|
+
attributes:
|
15
|
+
active_admin/comment:
|
16
|
+
author_type: "Typ autora"
|
17
|
+
body: "Telo"
|
18
|
+
created_at: "Vytvorený"
|
19
|
+
namespace: "Namespace"
|
20
|
+
resource_type: "Typ komentovanej položky"
|
21
|
+
updated_at: "Upravený"
|
2
22
|
active_admin:
|
3
23
|
dashboard: Úvod
|
4
24
|
dashboard_welcome:
|
@@ -8,6 +28,7 @@ sk:
|
|
8
28
|
edit: "Upraviť"
|
9
29
|
delete: "Zmazať"
|
10
30
|
delete_confirmation: "Ste si istí, že chcete túto položku zmazať?"
|
31
|
+
create_another: "Vytvoriť ďalší %{model}"
|
11
32
|
new_model: "Vytvoriť"
|
12
33
|
edit_model: "Upraviť"
|
13
34
|
delete_model: "Zmazať"
|
@@ -20,6 +41,7 @@ sk:
|
|
20
41
|
has_many_new: "Pridať nový"
|
21
42
|
has_many_delete: "Zmazať"
|
22
43
|
has_many_remove: "Odstrániť"
|
44
|
+
move: "Presunúť"
|
23
45
|
filters:
|
24
46
|
buttons:
|
25
47
|
filter: "Filtrovať"
|
@@ -31,6 +53,17 @@ sk:
|
|
31
53
|
ends_with: "Končí na"
|
32
54
|
greater_than: "Väčší ako"
|
33
55
|
less_than: "Menší ako"
|
56
|
+
gteq_datetime: "Od"
|
57
|
+
lteq_datetime: "Do"
|
58
|
+
from: "Od"
|
59
|
+
to: "Do"
|
60
|
+
scopes:
|
61
|
+
all: "Všetko"
|
62
|
+
search_status:
|
63
|
+
headline: "Stav vyhľadávania:"
|
64
|
+
current_scope: "Scope:"
|
65
|
+
current_filters: "Filtre:"
|
66
|
+
no_current_filters: "Žiadne"
|
34
67
|
status_tag:
|
35
68
|
"yes": "Áno"
|
36
69
|
"no": "Nie"
|
@@ -40,6 +73,7 @@ sk:
|
|
40
73
|
powered_by: "%{active_admin} %{version}"
|
41
74
|
sidebars:
|
42
75
|
filters: "Filtre"
|
76
|
+
search_status: "Stav vyhľadávania"
|
43
77
|
pagination:
|
44
78
|
empty: "Nenájdený."
|
45
79
|
one: "Zobrazená <b>1</b> položka"
|
@@ -70,11 +104,14 @@ sk:
|
|
70
104
|
labels:
|
71
105
|
destroy: "Vymazať"
|
72
106
|
comments:
|
107
|
+
created_at: "Vytvorený"
|
73
108
|
resource_type: "Typ zdroja"
|
74
109
|
author_type: "Typ autora"
|
75
110
|
body: "Telo"
|
76
111
|
author: "Autor"
|
77
112
|
add: "Pridať komentár"
|
113
|
+
delete: "Zmazať komentár"
|
114
|
+
delete_confirmation: "Naozaj chcete zmazať tento komentár?"
|
78
115
|
resource: "Zdroj"
|
79
116
|
no_comments_yet: "Žiadny komentár"
|
80
117
|
author_missing: "Anonymný"
|
@@ -82,6 +119,19 @@ sk:
|
|
82
119
|
errors:
|
83
120
|
empty_text: "Komentár nebol uložený, je prázdny."
|
84
121
|
devise:
|
122
|
+
username:
|
123
|
+
title: "Užívateľské meno"
|
124
|
+
email:
|
125
|
+
title: "Email"
|
126
|
+
subdomain:
|
127
|
+
title: "Subdoména"
|
128
|
+
password:
|
129
|
+
title: "Heslo"
|
130
|
+
password_confirmation:
|
131
|
+
title: "Potvrdenie hesla"
|
132
|
+
sign_up:
|
133
|
+
title: "Registrácia"
|
134
|
+
submit: "Registrovať"
|
85
135
|
login:
|
86
136
|
title: "Prihlásenie"
|
87
137
|
remember_me: "Zapamätať si ma"
|
@@ -95,11 +145,20 @@ sk:
|
|
95
145
|
unlock:
|
96
146
|
title: "Zaslanie inštrukcií k odomknutiu účtu"
|
97
147
|
submit: "Zaslať inštrukcií k odomknutiu účtu"
|
148
|
+
resend_confirmation_instructions:
|
149
|
+
title: "Preposlanie potvrdzovacie inštrukcie"
|
150
|
+
submit: "Preposlať potvrdzovacie inštrukcie"
|
98
151
|
links:
|
99
152
|
sign_in: "Prihlásiť sa"
|
100
153
|
sign_up: "Registrovať sa"
|
101
154
|
forgot_your_password: "Zabudli ste heslo?"
|
102
155
|
sign_in_with_omniauth_provider: "Prihlásiť sa cez %{provider}"
|
156
|
+
resend_unlock_instructions: "Poslať znovu inštrukcie na odomknutie účtu"
|
157
|
+
resend_confirmation_instructions: "Preposlať potvrdzovacie inštrukcie"
|
158
|
+
unsupported_browser:
|
159
|
+
headline: "ActiveAdmin nepodporuje Internet Explorer vo verzii <= 8."
|
160
|
+
recommendation: "Odporúčame <a href=\"http://browsehappy.com/\">aktualizovať Váš prehliadač</a>."
|
161
|
+
turn_off_compatibility_view: "Ak používate Internet Explorer vo verzii >= 9, uistite sa, že <a href=\"https://support.microsoft.com/en-us/help/17471\">\"režim kompatibility\" je vypnutý</a>"
|
103
162
|
access_denied:
|
104
163
|
message: "Nemáte oprávnenie k vykonaniu tejto akcie."
|
105
164
|
index_list:
|