activeadmin 2.3.0 → 2.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 (74) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +106 -35
  3. data/CONTRIBUTING.md +50 -54
  4. data/README.md +1 -1
  5. data/app/assets/javascripts/active_admin/base.js +519 -0
  6. data/app/assets/stylesheets/active_admin/_base.scss +29 -29
  7. data/app/assets/stylesheets/active_admin/_header.scss +3 -5
  8. data/app/assets/stylesheets/active_admin/_mixins.scss +1 -1
  9. data/{vendor → app}/assets/stylesheets/active_admin/_normalize.scss +0 -0
  10. data/app/assets/stylesheets/active_admin/components/_tables.scss +1 -2
  11. data/app/assets/stylesheets/active_admin/mixins/_all.scss +8 -8
  12. data/app/assets/stylesheets/active_admin/mixins/_variables.scss +5 -0
  13. data/app/assets/stylesheets/active_admin/print.scss +2 -2
  14. data/app/assets/stylesheets/active_admin/structure/_main_structure.scss +1 -1
  15. data/app/javascript/active_admin/base.js +28 -0
  16. data/app/{assets/javascripts/active_admin/ext/jquery-ui.es6 → javascript/active_admin/ext/jquery-ui.js} +0 -0
  17. data/app/{assets/javascripts/active_admin/ext/jquery.es6 → javascript/active_admin/ext/jquery.js} +0 -0
  18. data/app/{assets/javascripts/active_admin/lib/batch_actions.es6 → javascript/active_admin/initializers/batch-actions.js} +4 -2
  19. data/app/javascript/active_admin/initializers/checkbox-toggler.js +3 -0
  20. data/app/{assets/javascripts/active_admin/initializers/datepicker.es6 → javascript/active_admin/initializers/datepicker.js} +0 -0
  21. data/app/javascript/active_admin/initializers/dropdown-menu.js +9 -0
  22. data/app/javascript/active_admin/initializers/filters.js +10 -0
  23. data/app/{assets/javascripts/active_admin/lib/has_many.es6 → javascript/active_admin/initializers/has-many.js} +0 -0
  24. data/app/javascript/active_admin/initializers/per-page.js +13 -0
  25. data/app/javascript/active_admin/initializers/table-checkbox-toggler.js +3 -0
  26. data/app/{assets/javascripts/active_admin/initializers/tabs.es6 → javascript/active_admin/initializers/tabs.js} +0 -0
  27. data/app/{assets/javascripts/active_admin/lib/checkbox-toggler.es6 → javascript/active_admin/lib/checkbox-toggler.js} +2 -2
  28. data/app/{assets/javascripts/active_admin/lib/dropdown-menu.es6 → javascript/active_admin/lib/dropdown-menu.js} +2 -9
  29. data/app/javascript/active_admin/lib/filters.js +39 -0
  30. data/app/{assets/javascripts/active_admin/lib/modal_dialog.es6 → javascript/active_admin/lib/modal-dialog.js} +3 -1
  31. data/app/javascript/active_admin/lib/per-page.js +38 -0
  32. data/app/{assets/javascripts/active_admin/lib/table-checkbox-toggler.es6 → javascript/active_admin/lib/table-checkbox-toggler.js} +4 -2
  33. data/app/javascript/active_admin/lib/utils.js +40 -0
  34. data/config/locales/az.yml +138 -0
  35. data/config/locales/de.yml +18 -0
  36. data/config/locales/en-CA.yml +3 -3
  37. data/config/locales/en-GB.yml +3 -3
  38. data/config/locales/en.yml +3 -3
  39. data/config/locales/es.yml +3 -3
  40. data/config/locales/fr.yml +4 -4
  41. data/config/locales/lv.yml +2 -2
  42. data/config/locales/sk.yml +59 -0
  43. data/config/locales/vi.yml +1 -0
  44. data/docs/1-general-configuration.md +20 -0
  45. data/docs/3-index-pages.md +1 -1
  46. data/docs/9-batch-actions.md +2 -2
  47. data/docs/Gemfile.lock +103 -103
  48. data/lib/active_admin.rb +0 -1
  49. data/lib/active_admin/application.rb +1 -1
  50. data/lib/active_admin/csv_builder.rb +7 -3
  51. data/lib/active_admin/filters/active_filter.rb +1 -1
  52. data/lib/active_admin/filters/resource_extension.rb +24 -0
  53. data/lib/active_admin/inputs/filters/date_range_input.rb +15 -12
  54. data/lib/active_admin/localizers/resource_localizer.rb +1 -1
  55. data/lib/active_admin/namespace_settings.rb +13 -0
  56. data/lib/active_admin/order_clause.rb +1 -1
  57. data/lib/active_admin/resource.rb +1 -1
  58. data/lib/active_admin/resource/naming.rb +1 -1
  59. data/lib/active_admin/resource_controller/decorators.rb +2 -2
  60. data/lib/active_admin/resource_controller/polymorphic_routes.rb +3 -2
  61. data/lib/active_admin/version.rb +1 -1
  62. data/lib/active_admin/views/components/paginated_collection.rb +2 -1
  63. data/lib/active_admin/views/components/table_for.rb +1 -0
  64. data/lib/active_admin/views/pages/base.rb +5 -3
  65. data/lib/active_admin/views/pages/index.rb +1 -0
  66. data/lib/generators/active_admin/install/templates/active_admin.rb.erb +14 -1
  67. metadata +35 -45
  68. data/app/assets/images/active_admin/nested_menu_arrow.gif +0 -0
  69. data/app/assets/images/active_admin/nested_menu_arrow_dark.gif +0 -0
  70. data/app/assets/images/active_admin/orderable.png +0 -0
  71. data/app/assets/javascripts/active_admin/base.es6 +0 -23
  72. data/app/assets/javascripts/active_admin/initializers/filters.es6 +0 -45
  73. data/app/assets/javascripts/active_admin/lib/active_admin.es6 +0 -41
  74. data/app/assets/javascripts/active_admin/lib/per_page.es6 +0 -47
@@ -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}&nbsp;-&nbsp;%{to}</b> <b>%{total}</b>"
53
+ multiple_without_total: "Nəticə: %{model} <b>%{from}&nbsp;-&nbsp;%{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"
@@ -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:"
@@ -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 destroyed 1 %{model}"
72
- other: "Successfully destroyed %{count} %{plural_model}"
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 comment?"
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"
@@ -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 destroyed 1 %{model}"
72
- other: "Successfully destroyed %{count} %{plural_model}"
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 comment?"
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"
@@ -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 destroyed 1 %{model}"
95
- other: "Successfully destroyed %{count} %{plural_model}"
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 comment?"
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"
@@ -23,7 +23,7 @@ es:
23
23
  view: "Ver"
24
24
  edit: "Editar"
25
25
  delete: "Eliminar"
26
- delete_confirmation: "¿Está seguro de que quiere eliminar esto?"
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: "Eliminar %{plural_model}: ¿Está seguro?"
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: "¿Está seguro que desea borrar este comentario?"
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"
@@ -7,7 +7,7 @@ fr:
7
7
  view: "Voir"
8
8
  edit: "Modifier"
9
9
  delete: "Supprimer"
10
- delete_confirmation: "Êtes-vous certain de vouloir supprimer ceci ?"
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: "Êtes-vous sûr de vouloir faire cela ?"
73
- delete_confirmation: "Êtes-vous sûr de vouloir supprimer ces %{plural_model} ?"
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: "Êtes-vous sûr de vouloir supprimer ce commentaire ?"
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"
@@ -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 destroyed 1 %{model}"
64
- other: "Successfully destroyed %{count} %{plural_model}"
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:
@@ -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:
@@ -11,6 +11,7 @@ vi:
11
11
  new_model: "Tạo mới %{model}"
12
12
  edit_model: "Chỉnh sửa %{model}"
13
13
  delete_model: "Xóa %{model}"
14
+ create_another: "Tạo thêm %{model}"
14
15
  details: "%{model} Chi tiết"
15
16
  cancel: "Hủy"
16
17
  empty: "Trống"
@@ -106,6 +106,26 @@ ActiveAdmin.setup do |config|
106
106
  end
107
107
  ```
108
108
 
109
+ If you are creating a multi-tenant application you may want to have multiple namespaces mounted to the same path. We can do this using the `route_options` settings on the namespace
110
+
111
+ ```ruby
112
+ config.namespace :site_1 do |admin|
113
+ admin.route_options = { path: :admin, constraints: ->(request){ request.domain == "site1.com" } }
114
+ end
115
+
116
+ config.namespace :site_2 do |admin|
117
+ admin.route_options = { path: :admin, constraints: ->(request){ request.domain == "site2.com" } }
118
+ end
119
+ ```
120
+
121
+ If you would like to mount the namespace to a subdomain instead of path we can use the `route_options` for this as well
122
+
123
+ ```ruby
124
+ config.namespace :admin do |admin|
125
+ admin.route_options = { path: '', subdomain: 'admin' }
126
+ end
127
+ ```
128
+
109
129
  Each setting available in the Active Admin setup block is configurable on a per
110
130
  namespace basis.
111
131