activeadmin 1.1.0 → 1.2.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.

Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +5 -7
  3. data/CHANGELOG.md +65 -6
  4. data/activeadmin.gemspec +1 -1
  5. data/config/locales/en.yml +1 -0
  6. data/config/locales/eo.yml +144 -0
  7. data/config/locales/it.yml +8 -3
  8. data/config/locales/ja.yml +5 -0
  9. data/config/locales/pt-BR.yml +8 -0
  10. data/config/locales/sv-SE.yml +2 -0
  11. data/config/locales/vi.yml +47 -6
  12. data/docs/2-resource-customization.md +1 -1
  13. data/features/index/filters.feature +11 -0
  14. data/features/new_page.feature +29 -0
  15. data/features/step_definitions/filter_steps.rb +9 -10
  16. data/gemfiles/rails_50.gemfile +1 -1
  17. data/gemfiles/rails_51.gemfile +1 -1
  18. data/lib/active_admin/csv_builder.rb +6 -4
  19. data/lib/active_admin/filters/active_filter.rb +46 -10
  20. data/lib/active_admin/form_builder.rb +1 -1
  21. data/lib/active_admin/inputs/filters/select_input.rb +5 -1
  22. data/lib/active_admin/orm/active_record/comments/views/active_admin_comments.rb +8 -3
  23. data/lib/active_admin/resource_controller/data_access.rb +5 -1
  24. data/lib/active_admin/resource_dsl.rb +2 -0
  25. data/lib/active_admin/version.rb +1 -1
  26. data/lib/active_admin/view_helpers/display_helper.rb +2 -2
  27. data/lib/bug_report_templates/active_admin_master.rb +0 -1
  28. data/lib/generators/active_admin/install/install_generator.rb +1 -1
  29. data/lib/generators/active_admin/install/templates/{admin_user.rb.erb → admin_users.rb.erb} +0 -0
  30. data/lib/generators/active_admin/resource/resource_generator.rb +1 -1
  31. data/spec/support/rails_template.rb +3 -0
  32. data/spec/support/rails_template_with_data.rb +5 -5
  33. data/spec/support/templates/post_decorator.rb +14 -0
  34. data/spec/unit/action_builder_spec.rb +33 -0
  35. data/spec/unit/csv_builder_spec.rb +9 -0
  36. data/spec/unit/filters/active_filter_spec.rb +54 -0
  37. data/spec/unit/filters/filter_form_builder_spec.rb +22 -0
  38. data/spec/unit/pretty_format_spec.rb +9 -1
  39. data/spec/unit/resource_controller/data_access_spec.rb +14 -10
  40. data/spec/unit/view_helpers/breadcrumbs_spec.rb +1 -0
  41. data/spec/unit/view_helpers/display_helper_spec.rb +11 -2
  42. metadata +7 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a84a106c0900650dea61f07201b5917cd693955
4
- data.tar.gz: cd12642360eba01bdd56347eca1afb8b7faf4b9f
3
+ metadata.gz: 13d4e946e40362654bc8af6e1e905e8c7a3a679d
4
+ data.tar.gz: bd8a87269036be0171e9731f4239cea4dd3ca667
5
5
  SHA512:
6
- metadata.gz: 65e3bd10aeeba694b950408dea2e8cd2dc45cd498ab408094a091ec32212cf285fb80f7f4f897d8906e90ae084b0011cf17f02beb16312ce2ce241e0f1865417
7
- data.tar.gz: 83d974c9f52817a78db747973fa862b9b203ae6ef7ab1c7df3e4c1b2a76b2a6dec1235e9428750571731e983bc7ccedf994270b3b75cf500594bd77776769d1f
6
+ metadata.gz: 6b0a1f546b0d811e928f3ca6e94972ea1742e8ec57e3e78b5cbc49535907be1097c27e1eb3ed779b8bacc5538a344c94b81aa368374edda389bf144ecffef995
7
+ data.tar.gz: 21e63c49e42e02777083b3a4ee1b7bb77ba63b11fefd894b25378f61ba2a3d51e66097e6cbc256d8877b61abf399c8f81a05c105bde672b7532c8ecbf09948a1
@@ -8,10 +8,6 @@ dist: trusty
8
8
 
9
9
  bundler_args: --without development
10
10
 
11
- branches:
12
- only:
13
- - master
14
-
15
11
  cache: bundler
16
12
 
17
13
  before_install:
@@ -26,9 +22,9 @@ script:
26
22
 
27
23
  rvm:
28
24
  - jruby-9.1.12.0
29
- - 2.2.7
30
- - 2.3.4
31
- - 2.4.1
25
+ - 2.2.8
26
+ - 2.3.5
27
+ - 2.4.2
32
28
 
33
29
  gemfile:
34
30
  - gemfiles/rails_42.gemfile
@@ -45,6 +41,8 @@ matrix:
45
41
  fast_finish: true
46
42
 
47
43
  allow_failures:
44
+ - rvm: jruby-9.1.12.0
45
+ gemfile: gemfiles/rails_42.gemfile
48
46
  - rvm: jruby-9.1.12.0
49
47
  gemfile: gemfiles/rails_50.gemfile
50
48
  - rvm: jruby-9.1.12.0
@@ -1,6 +1,34 @@
1
1
  # Changelog
2
2
 
3
- ## ## 1.1.0 [☰](https://github.com/activeadmin/activeadmin/compare/v1.0.0...v1.1.0)
3
+ ## 1.2.0 [☰](https://github.com/activeadmin/activeadmin/compare/v1.1.0...v1.2.0)
4
+
5
+ ### Enhancements
6
+
7
+ #### Minor
8
+
9
+ * Do not display pagination info when there are no comments [#5119][] by [@alex-bogomolov][]
10
+ * Revert generated config files to pluralized [#5120][] by [@varyonic][], [#5137][] by [@deivid-rodriguez][]
11
+ * Warn when action definition overwrites controller method [#5167][] by [@aarek][]
12
+ * Better performance of comments show view [#5208][] by [@dhyegofernando][]
13
+ * Mitigate memory bloat [#4118][] with CSV exports [#5251][] by [@f1sherman][]
14
+ * Fix issue applying custom decorations [#5253][] by [@faucct][]
15
+ * Translations:
16
+ * Brazilian locale upated [#5125][] by [@renotocn][]
17
+ * Japanese locale updated [#5143][] by [@5t111111][], [#5157][] by [innparusu95][]
18
+ * Italian locale updated [#5180][] by [@blocknotes][]
19
+ * Swedish locale updated [#5187][] by [@jawa][]
20
+ * Vietnamese locale updated [#5194][] by [@Nguyenanh][]
21
+ * Esperanto locale added [#5210][] by [@RobinvanderVliet][]
22
+
23
+ ### Bug Fixes
24
+
25
+ * Fix a couple of issues rendering filter labels [#5223][] by [@wspurgin][]
26
+ * Prevent NameError when filtering on a namespaced association [#5240][] by [@DanielHeath][]
27
+ * Fix undefined method error in Ransack when building filters [#5238][] by [@wspurgin][]
28
+ * Fixed [#5198][] Prevent XSS on sidebar's current filter rendering [#5272][] by [@deivid-rodriguez][]
29
+ * Sanitize display_name [#5284][] by [@markstory][].
30
+
31
+ ## 1.1.0 [☰](https://github.com/activeadmin/activeadmin/compare/v1.0.0...v1.1.0)
4
32
 
5
33
  ### Bug Fixes
6
34
 
@@ -13,8 +41,10 @@
13
41
 
14
42
  ### Removals
15
43
 
16
- * Ruby 2.1 support has been dropped [#5002][] by [@deivid-rodriguez][]
44
+ * Ruby 2.1 support has been dropped [#5003][] by [@deivid-rodriguez][]
17
45
  * Replaced `sass-rails` with `sass` dependency [#5037][] by [@javierjulio][]
46
+ * AA won't work properly with jQuery 1 & 2. Use jQuery 3 instead (`#= require jquery3`
47
+ in `active_admin.js.coffee`)
18
48
 
19
49
  ### Deprecations
20
50
 
@@ -172,10 +202,12 @@ Please check [0-6-stable](https://github.com/activeadmin/activeadmin/blob/0-6-st
172
202
  [#3731]: https://github.com/activeadmin/activeadmin/issues/3731
173
203
  [#3783]: https://github.com/activeadmin/activeadmin/issues/3783
174
204
  [#3894]: https://github.com/activeadmin/activeadmin/issues/3894
205
+ [#4118]: https://github.com/activeadmin/activeadmin/issues/4118
175
206
  [#4187]: https://github.com/activeadmin/activeadmin/issues/4187
176
207
  [#4173]: https://github.com/activeadmin/activeadmin/issues/4173
177
208
  [#4254]: https://github.com/activeadmin/activeadmin/issues/4254
178
209
  [#5043]: https://github.com/activeadmin/activeadmin/issues/5043
210
+ [#5198]: https://github.com/activeadmin/activeadmin/issues/5198
179
211
 
180
212
  [#4477]: https://github.com/activeadmin/activeadmin/pull/4477
181
213
  [#4759]: https://github.com/activeadmin/activeadmin/pull/4759
@@ -191,33 +223,60 @@ Please check [0-6-stable](https://github.com/activeadmin/activeadmin/blob/0-6-st
191
223
  [#4996]: https://github.com/activeadmin/activeadmin/pull/4996
192
224
  [#4997]: https://github.com/activeadmin/activeadmin/pull/4997
193
225
  [#5029]: https://github.com/activeadmin/activeadmin/pull/5029
194
- [#5002]: https://github.com/activeadmin/activeadmin/pull/5002
226
+ [#5003]: https://github.com/activeadmin/activeadmin/pull/5003
195
227
  [#5037]: https://github.com/activeadmin/activeadmin/pull/5037
196
228
  [#5044]: https://github.com/activeadmin/activeadmin/pull/5044
197
229
  [#5046]: https://github.com/activeadmin/activeadmin/pull/5046
198
230
  [#5060]: https://github.com/activeadmin/activeadmin/pull/5060
199
231
  [#5069]: https://github.com/activeadmin/activeadmin/pull/5069
200
232
  [#5088]: https://github.com/activeadmin/activeadmin/pull/5088
201
- [#5093]: https://github.com/activeadmin/activeadmin/pull/5093
202
-
233
+ [#5093]: https://github.com/activeadmin/activeadmin/pull/5093
234
+ [#5119]: https://github.com/activeadmin/activeadmin/pull/5119
235
+ [#5120]: https://github.com/activeadmin/activeadmin/pull/5120
236
+ [#5125]: https://github.com/activeadmin/activeadmin/pull/5125
237
+ [#5137]: https://github.com/activeadmin/activeadmin/pull/5137
238
+ [#5143]: https://github.com/activeadmin/activeadmin/pull/5143
239
+ [#5167]: https://github.com/activeadmin/activeadmin/pull/5167
240
+ [#5180]: https://github.com/activeadmin/activeadmin/pull/5180
241
+ [#5187]: https://github.com/activeadmin/activeadmin/pull/5187
242
+ [#5194]: https://github.com/activeadmin/activeadmin/pull/5194
243
+ [#5208]: https://github.com/activeadmin/activeadmin/pull/5208
244
+ [#5210]: https://github.com/activeadmin/activeadmin/pull/5210
245
+ [#5251]: https://github.com/activeadmin/activeadmin/pull/5251
246
+ [#5253]: https://github.com/activeadmin/activeadmin/pull/5253
247
+ [#5272]: https://github.com/activeadmin/activeadmin/pull/5272
248
+ [#5284]: https://github.com/activeadmin/activeadmin/pull/5284
249
+
250
+ [@5t111111]: https://github.com/5t111111
251
+ [@aarek]: https://github.com/aarek
203
252
  [@ajw725]: https://github.com/ajw725
253
+ [@alex-bogomolov]: https://github.com/alex-bogomolov
204
254
  [@bolshakov]: https://github.com/bolshakov
255
+ [@blocknotes]: https://github.com/blocknotes
205
256
  [@chancancode]: https://github.com/chancancode
206
257
  [@craigmcnamara]: https://github.com/craigmcnamara
207
258
  [@deivid-rodriguez]: https://github.com/deivid-rodriguez
259
+ [@dhyegofernando]: https://github.com/dhyegofernando
208
260
  [@dmitry]: https://github.com/dmitry
209
261
  [@drn]: https://github.com/drn
262
+ [@f1sherman]: https://github.com/f1sherman
263
+ [@faucct]: https://github.com/faucct
210
264
  [@Fivell]: https://github.com/Fivell
211
265
  [@gonzedge]: https://github.com/gonzedge
266
+ [@innparusu95]: https://github.com/innparusu95
212
267
  [@javierjulio]: https://github.com/javierjulio
268
+ [@jawa]: https://github.com/jawa
213
269
  [@johnnyshields]: https://github.com/johnnyshields
270
+ [@markstory]: https://github.com/markstory
271
+ [@Nguyenanh]: https://github.com/Nguyenanh
214
272
  [@PChambino]: https://github.com/PChambino
215
273
  [@potatosalad]: https://github.com/potatosalad
216
274
  [@pranas]: https://github.com/pranas
275
+ [@renotocn]: https://github.com/renotocn
276
+ [@RobinvanderVliet]: https://github.com/RobinvanderVliet
217
277
  [@seanlinsley]: https://github.com/seanlinsley
218
278
  [@shekibobo]: https://github.com/shekibobo
219
279
  [@timoschilling]: https://github.com/timoschilling
220
280
  [@TimPetricola]: https://github.com/TimPetricola
221
281
  [@varyonic]: https://github.com/varyonic
222
282
  [@zorab47]: https://github.com/zorab47
223
- [@alex-bogomolov]: https://github.com/alex-bogomolov
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
23
23
  s.add_dependency 'formtastic', '~> 3.1'
24
24
  s.add_dependency 'formtastic_i18n'
25
25
  s.add_dependency 'inherited_resources', '~> 1.7'
26
- s.add_dependency 'jquery-rails'
26
+ s.add_dependency 'jquery-rails', '>= 4.2.0'
27
27
  s.add_dependency 'kaminari', '>= 0.15', '< 2.0'
28
28
  s.add_dependency 'railties', '>= 4.2', '< 5.2'
29
29
  s.add_dependency 'ransack', '~> 1.3'
@@ -21,6 +21,7 @@ en:
21
21
  has_many_new: "Add New %{model}"
22
22
  has_many_delete: "Delete"
23
23
  has_many_remove: "Remove"
24
+ move: "Move"
24
25
  filters:
25
26
  buttons:
26
27
  filter: "Filter"
@@ -0,0 +1,144 @@
1
+ eo:
2
+ active_admin:
3
+ dashboard: Panelo
4
+ dashboard_welcome:
5
+ welcome: "Bonvenon al Active Admin. Jen la defaŭlta panela paĝo."
6
+ call_to_action: "Por aldoni sekciojn al via panelo, vidu 'app/admin/dashboard.rb'"
7
+ view: "Vidi"
8
+ edit: "Redakti"
9
+ delete: "Forigi"
10
+ delete_confirmation: "Ĉu vi certas, ke vi volas forigi tion?"
11
+ create_another: "Krei alian %{model}"
12
+ new_model: "Nova %{model}"
13
+ edit_model: "Redakti %{model}"
14
+ delete_model: "Forigi %{model}"
15
+ details: "Detaloj de %{model}"
16
+ cancel: "Nuligi"
17
+ empty: "Malplena"
18
+ previous: "Antaŭa"
19
+ next: "Sekva"
20
+ download: "Elŝuti:"
21
+ has_many_new: "Aldoni novan %{model}"
22
+ has_many_delete: "Forigi"
23
+ has_many_remove: "Forigi"
24
+ move: "Movi"
25
+ filters:
26
+ buttons:
27
+ filter: "Filtri"
28
+ clear: "Viŝi filtrilojn"
29
+ predicates:
30
+ contains: "Enhavas"
31
+ equals: "Egalas al"
32
+ starts_with: "Komenciĝas per"
33
+ ends_with: "Finiĝas per"
34
+ greater_than: "Pli grandas ol"
35
+ less_than: "Malpli grandas ol"
36
+ gteq_datetime: "Pli grandas ol aŭ egalas al"
37
+ lteq_datetime: "Malpli grandas ol aŭ egalas al"
38
+ from: "De"
39
+ to: "Al"
40
+ search_status:
41
+ headline: "Serĉstato:"
42
+ current_scope: "Regiono:"
43
+ current_filters: "Nunaj filtriloj:"
44
+ no_current_filters: "Neniu"
45
+ status_tag:
46
+ "yes": "Jes"
47
+ "no": "Ne"
48
+ main_content: "Aldonu %{model}#main_content por montri la enhavon."
49
+ logout: "Elsaluti"
50
+ powered_by: "Povigita de %{active_admin} %{version}"
51
+ sidebars:
52
+ filters: "Filtriloj"
53
+ search_status: "Serĉstato"
54
+ pagination:
55
+ empty: "Neniu %{model} trovita"
56
+ one: "Montras <b>1</b> %{model}"
57
+ one_page: "Montras <b>ĉiujn %{n}</b> %{model}"
58
+ multiple: "Montras %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> de <b>%{total}</b> entute"
59
+ multiple_without_total: "Montras %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>"
60
+ per_page: "Paĝe: "
61
+ entry:
62
+ one: "ero"
63
+ other: "eroj"
64
+ any: "Ĉiuj"
65
+ blank_slate:
66
+ content: "Ankoraŭ ne estas %{resource_name}."
67
+ link: "Krei novan"
68
+ dropdown_actions:
69
+ button_label: "Agoj"
70
+ batch_actions:
71
+ button_label: "Amasagoj"
72
+ default_confirmation: "Ĉu vi certas, ke vi volas fari tion?"
73
+ delete_confirmation: "Ĉu vi certas, ke vi volas forigi tiujn %{plural_model}?"
74
+ succesfully_destroyed:
75
+ one: "1 %{model} sukcese forigita"
76
+ other: "%{count} %{plural_model} sukcese forigitaj"
77
+ selection_toggle_explanation: "(Baskuligi elekton)"
78
+ action_label: "%{title} elektita"
79
+ labels:
80
+ destroy: "Forigi"
81
+ comments:
82
+ created_at: "Kreita"
83
+ resource_type: "Resursotipo"
84
+ author_type: "Aŭtorotipo"
85
+ body: "Enhavo"
86
+ author: "Aŭtoro"
87
+ add: "Aldoni komenton"
88
+ delete: "Forigi komenton"
89
+ delete_confirmation: "Ĉu vi certas, ke vi volas forigi tiun komenton?"
90
+ resource: "Resurso"
91
+ no_comments_yet: "Ankoraŭ neniu komento."
92
+ author_missing: "Anonimulo"
93
+ title_content: "Komentoj (%{count})"
94
+ errors:
95
+ empty_text: "La komento ne estis konservita, la teksto estis malplena."
96
+ devise:
97
+ username:
98
+ title: "Uzantnomo"
99
+ email:
100
+ title: "Retpoŝtadreso"
101
+ subdomain:
102
+ title: "Subdomajno"
103
+ password:
104
+ title: "Pasvorto"
105
+ password_confirmation:
106
+ title: "Konfirmi pasvorton"
107
+ sign_up:
108
+ title: "Registriĝi"
109
+ submit: "Registriĝi"
110
+ login:
111
+ title: "Ensaluti"
112
+ remember_me: "Memori min"
113
+ submit: "Ensaluti"
114
+ reset_password:
115
+ title: "Ĉu vi forgesis vian pasvorton?"
116
+ submit: "Restarigi mian pasvorton"
117
+ change_password:
118
+ title: "Ŝanĝi vian pasvorton"
119
+ submit: "Ŝanĝi mian pasvorton"
120
+ unlock:
121
+ title: "Resendi klarigojn por malŝlosi"
122
+ submit: "Resendi klarigojn por malŝlosi"
123
+ resend_confirmation_instructions:
124
+ title: "Resendi klarigojn por konfirmi"
125
+ submit: "Resendi klarigojn por konfirmi"
126
+ links:
127
+ sign_up: "Registriĝi"
128
+ sign_in: "Ensaluti"
129
+ forgot_your_password: "Ĉu vi forgesis vian pasvorton?"
130
+ sign_in_with_omniauth_provider: "Ensaluti per %{provider}"
131
+ resend_unlock_instructions: "Resendi klarigojn por malŝlosi"
132
+ resend_confirmation_instructions: "Resendi klarigojn por konfirmi"
133
+ unsupported_browser:
134
+ headline: "Rimarku ke ActiveAdmin ne plu subtenas versiojn 8 kaj mal
135
+ de Internet Explorer."
136
+ recommendation: "Ni rekomendas, ke vi <a href=\"http://browsehappy.com/\">ĝisdatigu vian retumilon</a> por plibonigi vian sperton."
137
+ turn_off_compatibility_view: "Se vi uzas version 8 aŭ pli novan de Internet Explorer, estu certa, ke vi <a href=\"https://support.microsoft.com/en-us/help/17471\">malŝaltu \"kongruecan reĝimon\"</a>."
138
+ access_denied:
139
+ message: "Vi ne rajtas fari tiun agon."
140
+ index_list:
141
+ table: "Tabelo"
142
+ block: "Listo"
143
+ grid: "Krado"
144
+ blog: "Blogo"
@@ -20,6 +20,7 @@ it:
20
20
  has_many_new: "Aggiungi nuovo/a %{model}"
21
21
  has_many_delete: "Rimuovi"
22
22
  has_many_remove: "Rimuovi"
23
+ move: "Sposta"
23
24
  filters:
24
25
  buttons:
25
26
  filter: "Filtra"
@@ -31,6 +32,10 @@ it:
31
32
  ends_with: "Finisce con"
32
33
  greater_than: "Maggiore di"
33
34
  less_than: "Minore di"
35
+ gteq_datetime: "Maggiore o uguale a"
36
+ lteq_datetime: "Minore o uguale a"
37
+ from: "Da"
38
+ to: "A"
34
39
  search_status:
35
40
  headline: "Situazione filtri:"
36
41
  current_scope: "Contesto selezionato:"
@@ -62,12 +67,12 @@ it:
62
67
  button_label: "Azioni"
63
68
  batch_actions:
64
69
  button_label: "Azioni multiple"
65
- default_confirmation: "Sei sicuro di che voler fare questo?"
70
+ default_confirmation: "Sei sicuro di che voler proseguire?"
66
71
  delete_confirmation: "Sei sicuro di volere cancellare %{plural_model}?"
67
72
  succesfully_destroyed:
68
73
  one: "Eliminato con successo 1 %{model}"
69
74
  other: "Eliminati con successo %{count} %{plural_model}"
70
- selection_toggle_explanation: "(Toggle Selection)"
75
+ selection_toggle_explanation: "(cambia selezione)"
71
76
  action_label: "%{title} Selezionati"
72
77
  labels:
73
78
  destroy: "Elimina"
@@ -122,7 +127,7 @@ it:
122
127
  resend_unlock_instructions: "Invia di nuovo le istruzioni per lo sblocco"
123
128
  resend_confirmation_instructions: "Invia di nuovo le istruzioni per la conferma"
124
129
  unsupported_browser:
125
- headline: "Perfavore, notare che ActiveAdmin non supporta più Internet Explorer 8 o inferiore"
130
+ headline: "Avviso: ActiveAdmin non supporta Internet Explorer 8 o inferiore"
126
131
  recommendation: "Ti raccomandiamo di aggiornare alla versione più recente di <a href=\"http://windows.microsoft.com/ie\">Internet Explorer</a>, <a href=\"https://chrome.google.com/\">Google Chrome</a>, o <a href=\"https://mozilla.org/firefox/\">Firefox</a>."
127
132
  turn_off_compatibility_view: "Se stai utilizzando Internet Explorer 9 o successivo, assicurati di <a href=\"https://support.microsoft.com/it-it/help/17471\">disabilitare la \"Modalità Compatibilità\"</a>."
128
133
  access_denied:
@@ -8,6 +8,7 @@ ja:
8
8
  edit: "編集"
9
9
  delete: "削除"
10
10
  delete_confirmation: "本当に削除しますか?"
11
+ create_another: "%{model} を追加する"
11
12
  new_model: "%{model} を作成する"
12
13
  edit_model: "%{model} を編集する"
13
14
  delete_model: "%{model} を削除する"
@@ -31,6 +32,10 @@ ja:
31
32
  ends_with: "で終わる"
32
33
  greater_than: "より大きい"
33
34
  less_than: "より小さい"
35
+ gteq_datetime: "以上"
36
+ lteq_datetime: "以下"
37
+ from: "開始"
38
+ to: "終了"
34
39
  search_status:
35
40
  headline: "検索条件:"
36
41
  current_scope: "範囲:"
@@ -8,6 +8,7 @@ pt-BR:
8
8
  edit: "Editar"
9
9
  delete: "Remover"
10
10
  delete_confirmation: "Você tem certeza que deseja remover este item?"
11
+ create_another: "Criar outro %{model}"
11
12
  new_model: "Novo(a) %{model}"
12
13
  edit_model: "Editar %{model}"
13
14
  delete_model: "Remover %{model}"
@@ -31,6 +32,10 @@ pt-BR:
31
32
  ends_with: "Termina com"
32
33
  greater_than: "Maior Que"
33
34
  less_than: "Menor Que"
35
+ gteq_datetime: "Maior ou igual a"
36
+ lteq_datetime: "Menor ou igual a"
37
+ from: "A partir de"
38
+ to: "Até"
34
39
  search_status:
35
40
  headline: "Buscou:"
36
41
  current_scope: "Em:"
@@ -51,6 +56,7 @@ pt-BR:
51
56
  one_page: "Exibindo <b>todos(as) os(as) %{n}</b> %{model}"
52
57
  multiple: "Exibindo %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> de um total de <b>%{total}</b>"
53
58
  multiple_without_total: "Exibindo %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>"
59
+ per_page: "Por página: "
54
60
  entry:
55
61
  one: "registro"
56
62
  other: "registros"
@@ -95,6 +101,8 @@ pt-BR:
95
101
  title: "Subdomínio"
96
102
  password:
97
103
  title: "Senha"
104
+ password_confirmation:
105
+ title: "Confirmação de senha"
98
106
  sign_up:
99
107
  title: "Cadastre-se"
100
108
  submit: "Continuar"
@@ -31,6 +31,8 @@
31
31
  ends_with: "Slutar med"
32
32
  greater_than: "Större än"
33
33
  less_than: "Mindre än"
34
+ from: "Från"
35
+ to: "Till"
34
36
  search_status:
35
37
  headline: "Sök status:"
36
38
  current_scope: "Scope:"
@@ -1,9 +1,9 @@
1
1
  vi:
2
2
  active_admin:
3
- dashboard: Dashboard
3
+ dashboard: Bảng điều khiển
4
4
  dashboard_welcome:
5
- welcome: "Chào mừng bạn đến với Active Admin. Đây là trang Dashboard mặc định."
6
- call_to_action: "Để thêm phần phần cho trang Dashboar hãy chỉnh sửa 'app/admin/dashboard.rb'"
5
+ welcome: "Chào mừng bạn đến với Active Admin. Đây là trang điều khiển mặc định."
6
+ call_to_action: "Để thêm phần phần cho trang điều khiển hãy chỉnh sửa 'app/admin/dashboard.rb'"
7
7
  view: "Xem"
8
8
  edit: "Chỉnh sửa"
9
9
  delete: "Xóa"
@@ -25,12 +25,21 @@ vi:
25
25
  filter: "Lọc"
26
26
  clear: "Xóa dữ liệu lọc"
27
27
  predicates:
28
- contains: "Thông tin"
28
+ contains: " chứa"
29
29
  equals: "Bằng"
30
30
  starts_with: "Bắt đầu với"
31
31
  ends_with: "Kết thúc với việc"
32
32
  greater_than: "Lớn hơn"
33
33
  less_than: "Nhỏ hơn"
34
+ gteq_datetime: "Lớn hơn hoặc bằng"
35
+ lteq_datetime: "Nhỏ hơn hoặc bằng"
36
+ from: "Từ"
37
+ to: "Đến"
38
+ search_status:
39
+ headline: "Danh sách tìm kiếm:"
40
+ current_scope: "Phạm vi:"
41
+ current_filters: "Bộ lộc hiện tại:"
42
+ no_current_filters: "Không có"
34
43
  status_tag:
35
44
  "yes": "Có"
36
45
  "no": "Không Có"
@@ -39,12 +48,14 @@ vi:
39
48
  powered_by: "Powered by %{active_admin} %{version}"
40
49
  sidebars:
41
50
  filters: "Bộ Lọc"
51
+ search_status: "Trạng thái tìm kiếm"
42
52
  pagination:
43
53
  empty: "Không có %{model} nào được tìm thấy"
44
54
  one: "Đang hiển thị <b>1</b> %{model}"
45
55
  one_page: "Đang hiển thị <b>tất cả %{n}</b> %{model}"
46
56
  multiple: "Đang hiển thị %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> of <b>%{total}</b> trong tất cả."
47
57
  multiple_without_total: "Đang hiển thị %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b>."
58
+ per_page: "Mỗi trang: "
48
59
  entry:
49
60
  one: "entry"
50
61
  other: "entries"
@@ -66,15 +77,33 @@ vi:
66
77
  labels:
67
78
  destroy: "Xóa"
68
79
  comments:
80
+ created_at: "Đã tạo"
81
+ resource_type: "Resource Type"
69
82
  body: "Nội dung"
70
83
  author: "Tác giả"
71
84
  add: "Thêm bình luận"
72
- resource: "Tài nguyên"
85
+ delete: "Xoá bình luận"
86
+ delete_confirmation: "Bạn có chắc chắn muốn xóa những bình luận này?"
87
+ resource: "Resource"
73
88
  no_comments_yet: "Chưa có bình luận."
89
+ author_missing: "Vô danh"
74
90
  title_content: "Bình luận (%{count})"
75
91
  errors:
76
92
  empty_text: "Lời bình luận chưa được lưu, vì nội dung còn trống."
77
93
  devise:
94
+ username:
95
+ title: "Tên người dùng"
96
+ email:
97
+ title: "Email"
98
+ subdomain:
99
+ title: "Tên miền phụ"
100
+ password:
101
+ title: "Mật khẩu"
102
+ password_confirmation:
103
+ title: "Mật khẩu xác nhận"
104
+ sign_up:
105
+ title: "Đăng ký"
106
+ submit: "Đăng ký"
78
107
  login:
79
108
  title: "Đăng nhập"
80
109
  remember_me: "Ghi nhớ tôi"
@@ -85,8 +114,20 @@ vi:
85
114
  change_password:
86
115
  title: "Thay đổi mật khẩu của bạn"
87
116
  submit: "Thay đổi mật khẩu của tôi"
117
+ unlock:
118
+ title: "Gởi lại hướng dẫn mở khoá"
119
+ submit: "Gởi lại hướng dẫn mở khoá"
120
+ resend_confirmation_instructions:
121
+ title: "Gởi lại hướng dẫn xác nhận"
122
+ submit: "Gởi lại hướng dẫn xác nhận"
88
123
  links:
89
124
  sign_in: "Đăng nhập"
90
125
  forgot_your_password: "Quên mật khẩu của bạn?"
91
126
  sign_in_with_omniauth_provider: "Đăng nhập với %{provider}"
92
-
127
+ access_denied:
128
+ message: "Bạn không có quyền thực hiện tính năng này"
129
+ index_list:
130
+ table: "Bảng"
131
+ block: "Danh sách"
132
+ grid: "Lưới"
133
+ blog: "Blog"