decidim-admin 0.10.1 → 0.11.0.pre1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of decidim-admin might be problematic. Click here for more details.

Files changed (190) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/app/assets/config/decidim_admin_manifest.js +1 -0
  4. data/app/assets/javascripts/decidim/admin/application.js.es6 +13 -5
  5. data/app/assets/javascripts/decidim/admin/auto_buttons_by_position.component.js.es6 +42 -0
  6. data/app/assets/javascripts/decidim/admin/auto_label_by_position.component.js.es6 +33 -0
  7. data/app/assets/javascripts/decidim/admin/dynamic_fields.component.js.es6 +163 -0
  8. data/app/assets/javascripts/decidim/admin/field_dependent_inputs.component.js.es6 +39 -0
  9. data/app/assets/javascripts/decidim/admin/managed_users.js.es6 +12 -0
  10. data/app/assets/javascripts/decidim/admin/sort_list.component.js.es6 +1 -1
  11. data/app/assets/javascripts/decidim/admin/subform_toggler.component.js.es6 +35 -0
  12. data/app/assets/javascripts/decidim/admin/tab_focus.js.es6 +4 -4
  13. data/app/assets/stylesheets/decidim/admin/application.scss.erb +1 -1
  14. data/app/assets/stylesheets/decidim/admin/extra/_dropdown_inverted.scss +7 -5
  15. data/app/assets/stylesheets/decidim/admin/modules/_agenda.scss +34 -0
  16. data/app/assets/stylesheets/decidim/admin/modules/_buttons.scss +5 -0
  17. data/app/assets/stylesheets/decidim/admin/modules/_cards.scss +15 -0
  18. data/app/assets/stylesheets/decidim/admin/modules/_forms.scss +4 -0
  19. data/app/assets/stylesheets/decidim/admin/modules/_modules.scss +1 -0
  20. data/app/assets/stylesheets/decidim/admin/modules/_typography.scss +8 -0
  21. data/app/assets/stylesheets/decidim/admin/utils/_flex.scss +2 -2
  22. data/app/assets/stylesheets/decidim/admin/utils/_helpers.scss +28 -0
  23. data/app/assets/stylesheets/decidim/admin/utils/_mixins.scss +44 -0
  24. data/app/commands/decidim/admin/create_area.rb +3 -1
  25. data/app/commands/decidim/admin/{create_feature.rb → create_component.rb} +11 -11
  26. data/app/commands/decidim/admin/create_oauth_application.rb +36 -0
  27. data/app/commands/decidim/admin/create_participatory_space_private_user.rb +85 -0
  28. data/app/commands/decidim/admin/destroy_area.rb +42 -0
  29. data/app/commands/decidim/admin/{destroy_feature.rb → destroy_component.rb} +11 -11
  30. data/app/commands/decidim/admin/destroy_oauth_application.rb +39 -0
  31. data/app/commands/decidim/admin/{impersonate_managed_user.rb → impersonate_user.rb} +19 -13
  32. data/app/commands/decidim/admin/publish_component.rb +51 -0
  33. data/app/commands/decidim/admin/{unpublish_feature.rb → unpublish_component.rb} +12 -12
  34. data/app/commands/decidim/admin/update_area.rb +5 -1
  35. data/app/commands/decidim/admin/update_component.rb +62 -0
  36. data/app/commands/decidim/admin/{update_feature_permissions.rb → update_component_permissions.rb} +10 -10
  37. data/app/commands/decidim/admin/update_oauth_application.rb +39 -0
  38. data/app/controllers/decidim/admin/application_controller.rb +1 -1
  39. data/app/controllers/decidim/admin/areas_controller.rb +6 -4
  40. data/app/controllers/decidim/admin/{feature_permissions_controller.rb → component_permissions_controller.rb} +12 -12
  41. data/app/controllers/decidim/admin/{features → components}/base_controller.rb +9 -9
  42. data/app/controllers/decidim/admin/components_controller.rb +142 -0
  43. data/app/controllers/decidim/admin/concerns/has_private_users.rb +102 -0
  44. data/app/controllers/decidim/admin/dashboard_controller.rb +1 -1
  45. data/app/controllers/decidim/admin/exports_controller.rb +6 -6
  46. data/app/controllers/decidim/admin/impersonatable_users_controller.rb +29 -0
  47. data/app/controllers/decidim/admin/impersonations_controller.rb +122 -0
  48. data/app/controllers/decidim/admin/logs_controller.rb +1 -1
  49. data/app/controllers/decidim/admin/managed_users/impersonation_logs_controller.rb +25 -0
  50. data/app/controllers/decidim/admin/managed_users/promotions_controller.rb +3 -5
  51. data/app/controllers/decidim/admin/newsletters_controller.rb +1 -1
  52. data/app/controllers/decidim/admin/oauth_applications_controller.rb +90 -0
  53. data/app/controllers/decidim/admin/officializations_controller.rb +4 -3
  54. data/app/events/decidim/component_published_event.rb +6 -0
  55. data/app/forms/decidim/admin/{feature_form.rb → component_form.rb} +3 -3
  56. data/app/forms/decidim/admin/impersonate_user_form.rb +26 -0
  57. data/app/forms/decidim/admin/oauth_application_form.rb +32 -0
  58. data/app/forms/decidim/admin/organization_appearance_form.rb +6 -1
  59. data/app/forms/decidim/admin/organization_form.rb +1 -1
  60. data/app/forms/decidim/admin/participatory_space_private_user_form.rb +18 -0
  61. data/app/forms/decidim/admin/permissions_form.rb +1 -1
  62. data/app/helpers/decidim/admin/attributes_display_helper.rb +10 -3
  63. data/app/helpers/decidim/admin/bulk_actions_helper.rb +36 -0
  64. data/app/helpers/decidim/admin/exports_helper.rb +10 -10
  65. data/app/helpers/decidim/admin/settings_helper.rb +1 -1
  66. data/app/models/decidim/admin/abilities/admin_ability.rb +12 -9
  67. data/app/models/decidim/admin/abilities/participatory_process_admin_ability.rb +2 -2
  68. data/app/models/decidim/admin/abilities/user_manager_ability.rb +7 -6
  69. data/app/queries/decidim/admin/user_filter.rb +59 -0
  70. data/app/views/decidim/admin/area_types/edit.html.erb +1 -1
  71. data/app/views/decidim/admin/area_types/index.html.erb +2 -2
  72. data/app/views/decidim/admin/area_types/new.html.erb +1 -1
  73. data/app/views/decidim/admin/areas/edit.html.erb +1 -1
  74. data/app/views/decidim/admin/areas/index.html.erb +2 -2
  75. data/app/views/decidim/admin/areas/new.html.erb +1 -1
  76. data/app/views/decidim/admin/attachment_collections/edit.html.erb +1 -1
  77. data/app/views/decidim/admin/attachment_collections/index.html.erb +2 -2
  78. data/app/views/decidim/admin/attachment_collections/new.html.erb +1 -1
  79. data/app/views/decidim/admin/attachment_collections/show.html.erb +2 -3
  80. data/app/views/decidim/admin/attachments/edit.html.erb +1 -1
  81. data/app/views/decidim/admin/attachments/index.html.erb +1 -1
  82. data/app/views/decidim/admin/attachments/new.html.erb +1 -1
  83. data/app/views/decidim/admin/attachments/show.html.erb +2 -3
  84. data/app/views/decidim/admin/bulk_actions/_recategorize.html.erb +1 -1
  85. data/app/views/decidim/admin/categories/edit.html.erb +1 -1
  86. data/app/views/decidim/admin/categories/index.html.erb +2 -2
  87. data/app/views/decidim/admin/categories/new.html.erb +1 -1
  88. data/app/views/decidim/admin/categories/show.html.erb +2 -3
  89. data/app/views/decidim/admin/{feature_permissions → component_permissions}/edit.html.erb +3 -3
  90. data/app/views/decidim/admin/components/_component.html.erb +37 -0
  91. data/app/views/decidim/admin/{features → components}/_form.html.erb +6 -6
  92. data/app/views/decidim/admin/{features → components}/_settings_fields.html.erb +2 -2
  93. data/app/views/decidim/admin/components/edit.html.erb +7 -0
  94. data/app/views/decidim/admin/{features → components}/index.html.erb +6 -6
  95. data/app/views/decidim/admin/components/new.html.erb +8 -0
  96. data/app/views/decidim/admin/devise/mailers/reset_password_instructions.html.erb +1 -1
  97. data/app/views/decidim/admin/exports/_dropdown.html.erb +3 -3
  98. data/app/views/decidim/admin/impersonatable_users/index.html.erb +84 -0
  99. data/app/views/decidim/admin/impersonations/_form.html.erb +40 -0
  100. data/app/views/decidim/admin/impersonations/_handler_form.html.erb +5 -0
  101. data/app/views/decidim/admin/impersonations/new.html.erb +23 -0
  102. data/app/views/decidim/admin/managed_users/{impersonations → impersonation_logs}/index.html.erb +2 -0
  103. data/app/views/decidim/admin/managed_users/promotions/new.html.erb +4 -4
  104. data/app/views/decidim/admin/moderations/index.html.erb +2 -2
  105. data/app/views/decidim/admin/newsletters/_form.html.erb +1 -1
  106. data/app/views/decidim/admin/newsletters/edit.html.erb +1 -1
  107. data/app/views/decidim/admin/newsletters/index.html.erb +1 -1
  108. data/app/views/decidim/admin/newsletters/new.html.erb +1 -1
  109. data/app/views/decidim/admin/newsletters/show.html.erb +1 -1
  110. data/app/views/decidim/admin/oauth_applications/_form.html.erb +19 -0
  111. data/app/views/decidim/admin/oauth_applications/edit.html.erb +13 -0
  112. data/app/views/decidim/admin/oauth_applications/index.html.erb +38 -0
  113. data/app/views/decidim/admin/oauth_applications/new.html.erb +13 -0
  114. data/app/views/decidim/admin/oauth_applications/show.html.erb +27 -0
  115. data/app/views/decidim/admin/officializations/index.html.erb +2 -2
  116. data/app/views/decidim/admin/officializations/new.html.erb +2 -2
  117. data/app/views/decidim/admin/organization/_form.html.erb +1 -1
  118. data/app/views/decidim/admin/organization/edit.html.erb +1 -2
  119. data/app/views/decidim/admin/organization_appearance/edit.html.erb +1 -2
  120. data/app/views/decidim/admin/participatory_space_private_users/_form.html.erb +18 -0
  121. data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +59 -0
  122. data/app/views/decidim/admin/participatory_space_private_users/new.html.erb +7 -0
  123. data/app/views/decidim/admin/scope_types/edit.html.erb +1 -1
  124. data/app/views/decidim/admin/scope_types/index.html.erb +2 -2
  125. data/app/views/decidim/admin/scope_types/new.html.erb +1 -1
  126. data/app/views/decidim/admin/scopes/edit.html.erb +1 -1
  127. data/app/views/decidim/admin/scopes/index.html.erb +3 -3
  128. data/app/views/decidim/admin/scopes/new.html.erb +1 -1
  129. data/app/views/decidim/admin/static_pages/edit.html.erb +1 -1
  130. data/app/views/decidim/admin/static_pages/index.html.erb +3 -3
  131. data/app/views/decidim/admin/static_pages/new.html.erb +1 -1
  132. data/app/views/decidim/admin/static_pages/show.html.erb +2 -3
  133. data/app/views/decidim/admin/user_groups/index.html.erb +3 -3
  134. data/app/views/decidim/admin/users/_form.html.erb +3 -3
  135. data/app/views/decidim/admin/users/index.html.erb +2 -2
  136. data/app/views/decidim/admin/users/new.html.erb +1 -1
  137. data/app/views/layouts/decidim/admin/_application.html.erb +9 -9
  138. data/app/views/layouts/decidim/admin/_header.html.erb +3 -4
  139. data/app/views/layouts/decidim/admin/_template_top.html.erb +1 -1
  140. data/app/views/layouts/decidim/admin/_title_bar.html.erb +1 -1
  141. data/app/views/layouts/decidim/admin/login.html.erb +1 -1
  142. data/app/views/layouts/decidim/admin/pages.html.erb +1 -1
  143. data/app/views/layouts/decidim/admin/users.html.erb +5 -3
  144. data/config/locales/ca.yml +119 -50
  145. data/config/locales/en.yml +119 -50
  146. data/config/locales/es.yml +120 -51
  147. data/config/locales/eu.yml +122 -53
  148. data/config/locales/fi.yml +121 -52
  149. data/config/locales/fr.yml +159 -90
  150. data/config/locales/gl.yml +119 -50
  151. data/config/locales/it.yml +120 -51
  152. data/config/locales/nl.yml +207 -138
  153. data/config/locales/pl.yml +119 -50
  154. data/config/locales/pt-BR.yml +120 -51
  155. data/config/locales/pt.yml +120 -51
  156. data/config/locales/ru.yml +7 -51
  157. data/config/locales/sv.yml +120 -51
  158. data/config/locales/uk.yml +7 -52
  159. data/config/routes.rb +6 -2
  160. data/db/migrate/20180413233318_add_reason_to_decidim_impersonation_logs.rb +7 -0
  161. data/lib/decidim/admin/components.rb +11 -0
  162. data/lib/decidim/admin/engine.rb +12 -3
  163. data/lib/decidim/admin/test/forms/attachment_collection_form_examples.rb +9 -9
  164. data/lib/decidim/admin/test/forms/attachment_form_examples.rb +1 -1
  165. data/lib/decidim/admin/test/forms/category_form_examples.rb +11 -11
  166. data/lib/decidim/admin/test/{manage_feature_permissions_examples.rb → manage_component_permissions_examples.rb} +9 -9
  167. data/lib/decidim/admin/test/manage_moderations_examples.rb +2 -2
  168. data/lib/decidim/admin/test.rb +1 -1
  169. data/lib/decidim/admin/version.rb +1 -1
  170. data/lib/decidim/admin.rb +1 -1
  171. metadata +66 -43
  172. data/app/commands/decidim/admin/create_managed_user.rb +0 -69
  173. data/app/commands/decidim/admin/publish_feature.rb +0 -51
  174. data/app/commands/decidim/admin/update_feature.rb +0 -62
  175. data/app/controllers/decidim/admin/features_controller.rb +0 -142
  176. data/app/controllers/decidim/admin/managed_users/impersonations_controller.rb +0 -78
  177. data/app/controllers/decidim/admin/managed_users_controller.rb +0 -83
  178. data/app/events/decidim/feature_published_event.rb +0 -6
  179. data/app/forms/decidim/admin/impersonate_managed_user_form.rb +0 -20
  180. data/app/forms/decidim/admin/managed_user_form.rb +0 -24
  181. data/app/queries/decidim/admin/users_officialization.rb +0 -56
  182. data/app/views/decidim/admin/features/_feature.html.erb +0 -37
  183. data/app/views/decidim/admin/features/edit.html.erb +0 -7
  184. data/app/views/decidim/admin/features/new.html.erb +0 -8
  185. data/app/views/decidim/admin/managed_users/_form.html.erb +0 -12
  186. data/app/views/decidim/admin/managed_users/impersonations/_form.html.erb +0 -10
  187. data/app/views/decidim/admin/managed_users/impersonations/new.html.erb +0 -15
  188. data/app/views/decidim/admin/managed_users/index.html.erb +0 -44
  189. data/app/views/decidim/admin/managed_users/new.html.erb +0 -47
  190. data/lib/decidim/admin/features.rb +0 -11
@@ -21,7 +21,7 @@ ca:
21
21
  description: Descripció
22
22
  name: Nom
23
23
  parent_id: Superior
24
- feature:
24
+ component:
25
25
  name: Nom
26
26
  published_at: Publicat el
27
27
  weight: Pes
@@ -29,6 +29,12 @@ ca:
29
29
  newsletter:
30
30
  body: Cos
31
31
  subject: Assumpte
32
+ oauth_application:
33
+ name: Nom
34
+ organization_logo: Logotip de l'organització (quadrat)
35
+ organization_name: Nom de l'organització
36
+ organization_url: URL de l'organització
37
+ redirect_uri: URL de redirecció
32
38
  organization:
33
39
  cta_button_path: URL del botó d'acció
34
40
  cta_button_text: Text del botó d'acció
@@ -77,6 +83,12 @@ ca:
77
83
  organization: Organització
78
84
  slug: Nom curt d'URL
79
85
  title: Títol
86
+ errors:
87
+ models:
88
+ oauth_application:
89
+ attributes:
90
+ redirect_uri:
91
+ must_be_ssl: L'URL de redirecció ha de ser SSL
80
92
  activerecord:
81
93
  attributes:
82
94
  decidim/participatory_process:
@@ -111,6 +123,14 @@ ca:
111
123
  content: Contingut
112
124
  slug: Nom curt d'URL
113
125
  title: Títol
126
+ doorkeeper/application:
127
+ authorize_url: URL d'autorització
128
+ client_id: Identificador de client
129
+ client_secret: Secret del client
130
+ organization_name: Nom de l'organització
131
+ organization_url: URL de l'organització
132
+ redirect_uri: URL de redirecció
133
+ site: Lloc web
114
134
  date:
115
135
  formats:
116
136
  datepicker: "%d/%m/%Y"
@@ -209,80 +229,88 @@ ca:
209
229
  update:
210
230
  error: S'ha produït un error en actualitzar aquesta categoria.
211
231
  success: Categoria actualitzada correctament.
212
- dashboard:
213
- show:
214
- view_more_logs: Veure més registres
215
- welcome: Benvingut al tauler d'administració de Decidim.
216
- exports:
217
- export_as: "%{name} com a %{export_format}"
218
- notice: La teva exportació està actualment en curs. Rebràs un correu electrònic quan hagi finalitzat.
219
- feature_permissions:
232
+ component_permissions:
220
233
  edit:
221
234
  everyone: Tothom
222
235
  submit: Desar permisos
223
236
  title: Edita els permisos
224
237
  update:
225
238
  success: Permisos actualitzats correctament.
226
- features:
239
+ components:
227
240
  create:
228
- error: S'ha produït un error en afegir aquesta funcionalitat.
229
- success: Funcionalitat creada correctament.
241
+ error: S'ha produït un error en crear aquest component.
242
+ success: El component s'ha creat correctament.
230
243
  destroy:
231
- error: S'ha produït un error destruir aquesta funcionalitat.
232
- success: Funcionalitat eliminada correctament.
244
+ error: S'ha produït un error en destruir aquest component.
245
+ success: El component s'ha suprimit correctament.
233
246
  edit:
234
- title: Editar funcionalitat
247
+ title: Edita el component
235
248
  update: Actualitzar
236
249
  form:
237
250
  default_step_settings: Configuració per defecte
238
251
  global_settings: Configuració global
239
252
  step_settings: Configuració de fase
240
253
  index:
241
- add: Afegir funcionalitat
254
+ add: Afegeix un component
242
255
  headers:
243
256
  actions: Accions
244
- name: Nom de la funcionalitat
245
- type: Tipus de funcionalitat
257
+ name: Nom del component
258
+ type: Tipus de component
246
259
  new:
247
- add: Afegir funcionalitat
248
- title: 'Afegir funcionalitat: %{name}'
260
+ add: Afegeix un component
261
+ title: 'Afegir component: %{name}'
249
262
  publish:
250
- success: La funcionalitat s'ha publicat correctament.
251
- title: Funcionalitats
263
+ success: El component s'ha publicat correctament.
264
+ title: Components
252
265
  unpublish:
253
- success: La funcionalitat ha estat despublicada exitosament.
266
+ success: El component s'ha despublicat correctament.
254
267
  update:
255
- error: S'ha produït un error en actualitzar aquesta funcionalitat.
256
- success: La funcionalitat s'ha actualitzat correctament.
257
- logs:
258
- logs_list:
259
- no_logs_yet: Encara no hi ha cap registre d'activitat
260
- managed_users:
268
+ error: S'ha produït un error en actualitzar aquest component.
269
+ success: El component s'ha actualitzat correctament.
270
+ dashboard:
271
+ show:
272
+ view_more_logs: Veure més registres
273
+ welcome: Benvingut al tauler d'administració de Decidim.
274
+ exports:
275
+ export_as: "%{name} com a %{export_format}"
276
+ notice: La teva exportació està actualment en curs. Rebràs un correu electrònic quan hagi finalitzat.
277
+ impersonatable_users:
278
+ index:
279
+ filter:
280
+ all: Tots
281
+ managed: Gestionat
282
+ not_managed: No gestionat
283
+ filter_by: Filtra per
284
+ impersonate: Suplantar
285
+ impersonate_new_managed_user: Substitueix un nou usuari administrat
286
+ managed: Gestionat
287
+ name: Nom
288
+ needs_authorization_warning: Necessiteu almenys una autorització habilitada per a aquesta organització.
289
+ not_managed: No gestionat
290
+ promote: Promocionar
291
+ search: Cerca
292
+ status: Estat
293
+ view_logs: Veure registres
294
+ impersonations:
261
295
  close_session:
262
296
  error: S'ha produït un error en tancar la sessió de suplantació actual.
263
297
  success: La sessió de suplantació actual s'ha finalitzat amb èxit.
264
298
  create:
265
- error: S'ha produït un error en crear l'usuari gestionat.
299
+ error: S'ha produït un error en impersonar l'usuari.
266
300
  success: L'usuari gestionat s'ha creat correctament.
267
301
  form:
302
+ authorization_method: Mètode d'autorització
268
303
  name: Nom
269
- impersonate:
270
- error: S'ha produït un error en suplantar l'usuari gestionat.
271
- impersonations:
272
- new:
273
- impersonate: Suplantar
274
- new_managed_user_impersonation: Nova suplantació d'usuaris gestionats
275
- index:
276
- impersonate: Suplantar
277
- needs_authoriation_warning: Necessiteu almenys una autorització habilitada per a aquesta organització.
278
- promote: Promocionar
279
- view_logs: Veure registres
304
+ reason: Raó
280
305
  new:
281
- create: Crear
282
- new_managed_user: Nou usuari gestionat
283
- no_authorization_handlers: No hi ha autoritzacions disponibles per gestionar usuaris. Poseu-vos en contacte amb l'administrador del sistema.
284
- select_authorization_method: Seleccioneu un mètode d'autorització
285
- step: Fase %{current} de %{total}
306
+ impersonate: Suplantar
307
+ impersonate_existing_managed_user: Impersonar l'usuari gestionat "%{name}"
308
+ impersonate_existing_user: Impersona l'usuari "%{name}"
309
+ impersonate_new_managed_user: Impersona un nou usuari administrat
310
+ logs:
311
+ logs_list:
312
+ no_logs_yet: Encara no hi ha cap registre d'activitat
313
+ managed_users:
286
314
  promotion:
287
315
  error: S'ha produït un error en promoure l'usuari gestionat.
288
316
  success: S'ha promogut amb èxit l'usuari gestionat.
@@ -299,8 +327,9 @@ ca:
299
327
  areas: Àrees
300
328
  configuration: Configuració
301
329
  dashboard: Tauler de control
302
- managed_users: Usuaris gestionats
330
+ impersonations: Impersonacions
303
331
  newsletters: Butlletins
332
+ oauth_applications: Aplicacions OAuth
304
333
  officializations: Oficialitzacions
305
334
  scope_types: Tipus d'àmbit
306
335
  scopes: Àmbits
@@ -333,10 +362,9 @@ ca:
333
362
  admin: Administrador
334
363
  ended_at: Va acabar el
335
364
  expired_at: Vençut el
365
+ reason: Raó
336
366
  started_at: Va començar el
337
367
  user: Usuari
338
- managed_user:
339
- name: Usuari gestionat
340
368
  newsletter:
341
369
  fields:
342
370
  created_at: Data de creació
@@ -344,6 +372,13 @@ ca:
344
372
  sent_at: Enviat el
345
373
  subject: Assumpte
346
374
  name: Butlletí
375
+ oauth_application:
376
+ fields:
377
+ created_at: Creat el
378
+ name: Nom
379
+ name: Aplicació OAuth
380
+ participatory_space_private_user:
381
+ name: Usuari privat de l'espai de participació
347
382
  scope:
348
383
  fields:
349
384
  name: Nom
@@ -413,6 +448,25 @@ ca:
413
448
  update:
414
449
  error: S'ha produït un error en actualitzar aquest butlletí.
415
450
  success: Butlletí actualitzat correctament. Si us plau, revisa'l abans d'enviar-lo.
451
+ oauth_applications:
452
+ create:
453
+ error: S'ha produït un error en crear aquesta aplicació.
454
+ success: L'aplicació s'ha creat correctament.
455
+ destroy:
456
+ error: S'ha produït un error en destruir aquesta aplicació.
457
+ success: S'ha destruït l'aplicació amb èxit.
458
+ edit:
459
+ save: Desa
460
+ title: Edita l'aplicació
461
+ index:
462
+ confirm_delete: Estàs segur de que vols suprimir aquesta aplicació?
463
+ title: Aplicacions OAuth
464
+ new:
465
+ save: Desa
466
+ title: Nova aplicació
467
+ update:
468
+ error: S'ha produït un error en actualitzar aquesta aplicació.
469
+ success: S'ha actualitzat l'aplicació amb èxit.
416
470
  officializations:
417
471
  create:
418
472
  success: L'usuari s'ha oficialitzat amb èxit
@@ -466,6 +520,17 @@ ca:
466
520
  homepage_highlighted_content_banner_title: Bàner de contingut ressaltat
467
521
  layout_appearance_title: Edita l'aparença del disseny global
468
522
  omnipresent_banner_appearance_title: Edita bàner omnipresent
523
+ participatory_space_private_users:
524
+ create:
525
+ error: S'ha produït un error en afegir un usuari privat a aquest espai de participació.
526
+ success: L'accés per usuari privat de l'espai de participació s'ha creat correctament.
527
+ destroy:
528
+ success: L'accés per usuari privat de l'espai de participació s'ha eliminat correctament.
529
+ index:
530
+ title: Usuari privat de l'espai participatiu
531
+ new:
532
+ create: Crear
533
+ title: Nou usuari privat de l'espai participatiu.
469
534
  scope_types:
470
535
  create:
471
536
  error: S'ha produït un error en crear un nou tipus d'àmbit.
@@ -520,8 +585,8 @@ ca:
520
585
  areas: Àrees
521
586
  authorization_workflows: Mètodes de verificació
522
587
  dashboard: Tauler de control
588
+ impersonatable_users: Usuaris impersonables
523
589
  impersonations: Suplantacions
524
- managed_users: Usuaris gestionats
525
590
  officializations: Oficialitzacions
526
591
  scope_types: Tipus d'àmbit
527
592
  scopes: Àmbits
@@ -562,6 +627,10 @@ ca:
562
627
  new:
563
628
  create: Convidar
564
629
  title: Convidar un usuari com a administrador
630
+ forms:
631
+ errors:
632
+ impersonate_user:
633
+ reason: Heu d'indicar un motiu quan impersoneu un usuari no administrat
565
634
  moderations:
566
635
  actions:
567
636
  hidden: Ocults
@@ -22,7 +22,7 @@ en:
22
22
  description: Description
23
23
  name: Name
24
24
  parent_id: Parent
25
- feature:
25
+ component:
26
26
  name: Name
27
27
  published_at: Published at
28
28
  weight: Weight
@@ -30,6 +30,12 @@ en:
30
30
  newsletter:
31
31
  body: Body
32
32
  subject: Subject
33
+ oauth_application:
34
+ name: Name
35
+ organization_logo: Organization logo (square)
36
+ organization_name: Organization name
37
+ organization_url: Organization URL
38
+ redirect_uri: Redirect URI
33
39
  organization:
34
40
  cta_button_path: Call To Action button path
35
41
  cta_button_text: Call To Action button text
@@ -78,6 +84,12 @@ en:
78
84
  organization: Organization
79
85
  slug: URL slug
80
86
  title: Title
87
+ errors:
88
+ models:
89
+ oauth_application:
90
+ attributes:
91
+ redirect_uri:
92
+ must_be_ssl: The redirect URI must be a SSL URI
81
93
  activerecord:
82
94
  attributes:
83
95
  decidim/participatory_process:
@@ -112,6 +124,14 @@ en:
112
124
  content: Content
113
125
  slug: URL slug
114
126
  title: Title
127
+ doorkeeper/application:
128
+ authorize_url: Authorize URL
129
+ client_id: Client ID
130
+ client_secret: Client Secret
131
+ organization_name: Organization name
132
+ organization_url: Organization URL
133
+ redirect_uri: Redirect URI
134
+ site: Site
115
135
  date:
116
136
  formats:
117
137
  datepicker: "%m/%d/%Y"
@@ -210,80 +230,88 @@ en:
210
230
  update:
211
231
  error: There was an error updating this category.
212
232
  success: Category updated successfully.
213
- dashboard:
214
- show:
215
- view_more_logs: View more logs
216
- welcome: Welcome to the Decidim Admin Panel.
217
- exports:
218
- export_as: "%{name} as %{export_format}"
219
- notice: Your export is currently in progress. You'll receive an email when it's complete.
220
- feature_permissions:
233
+ component_permissions:
221
234
  edit:
222
235
  everyone: Everyone
223
236
  submit: Save permissions
224
237
  title: Edit permissions
225
238
  update:
226
239
  success: Permissions updated successfully.
227
- features:
240
+ components:
228
241
  create:
229
- error: There was an error creating this feature.
230
- success: Feature created successfully.
242
+ error: There was an error creating this component.
243
+ success: Component created successfully.
231
244
  destroy:
232
- error: There has been an error destroying this feature.
233
- success: Feature deleted successfully.
245
+ error: There has been an error destroying this component.
246
+ success: Component deleted successfully.
234
247
  edit:
235
- title: Edit feature
248
+ title: Edit component
236
249
  update: Update
237
250
  form:
238
251
  default_step_settings: Default step settings
239
252
  global_settings: Global settings
240
253
  step_settings: Step settings
241
254
  index:
242
- add: Add feature
255
+ add: Add component
243
256
  headers:
244
257
  actions: Actions
245
- name: Feature name
246
- type: Feature type
258
+ name: Component name
259
+ type: Component type
247
260
  new:
248
- add: Add feature
249
- title: 'Add feature: %{name}'
261
+ add: Add component
262
+ title: 'Add component: %{name}'
250
263
  publish:
251
- success: The feature has been successfully published.
252
- title: Features
264
+ success: The component has been successfully published.
265
+ title: Components
253
266
  unpublish:
254
- success: The feature has been successfully unpublished.
267
+ success: The component has been successfully unpublished.
255
268
  update:
256
- error: There has been an error updating this feature.
257
- success: The feature was updated successfully.
258
- logs:
259
- logs_list:
260
- no_logs_yet: There are no logs yet
261
- managed_users:
269
+ error: There has been an error updating this component.
270
+ success: The component was updated successfully.
271
+ dashboard:
272
+ show:
273
+ view_more_logs: View more logs
274
+ welcome: Welcome to the Decidim Admin Panel.
275
+ exports:
276
+ export_as: "%{name} as %{export_format}"
277
+ notice: Your export is currently in progress. You'll receive an email when it's complete.
278
+ impersonatable_users:
279
+ index:
280
+ filter:
281
+ all: All
282
+ managed: Managed
283
+ not_managed: Not managed
284
+ filter_by: Filter by
285
+ impersonate: Impersonate
286
+ impersonate_new_managed_user: Impersonate new managed user
287
+ managed: Managed
288
+ name: Name
289
+ needs_authorization_warning: You need at least one authorization enabled for this organization.
290
+ not_managed: Not managed
291
+ promote: Promote
292
+ search: Search
293
+ status: Status
294
+ view_logs: View logs
295
+ impersonations:
262
296
  close_session:
263
297
  error: There has been an error closing the current impersonation session.
264
298
  success: The current impersonation session has been successfully ended.
265
299
  create:
266
- error: There has been an error creating the managed user.
300
+ error: There has been an error impersonating the user.
267
301
  success: The managed user has been successfully created.
268
302
  form:
303
+ authorization_method: Authorization method
269
304
  name: Name
270
- impersonate:
271
- error: There has been an error impersonating the managed user.
272
- impersonations:
273
- new:
274
- impersonate: Impersonate
275
- new_managed_user_impersonation: New managed user impersonation
276
- index:
277
- impersonate: Impersonate
278
- needs_authoriation_warning: You need at least one authorization enabled for this organization.
279
- promote: Promote
280
- view_logs: View logs
305
+ reason: Reason
281
306
  new:
282
- create: Create
283
- new_managed_user: New managed user
284
- no_authorization_handlers: There are no available authorization handlers to manage users. Please contact your system administrator.
285
- select_authorization_method: Select an authorization method
286
- step: Step %{current} of %{total}
307
+ impersonate: Impersonate
308
+ impersonate_existing_managed_user: Impersonate managed user "%{name}"
309
+ impersonate_existing_user: Impersonate user "%{name}"
310
+ impersonate_new_managed_user: Impersonate new managed user
311
+ logs:
312
+ logs_list:
313
+ no_logs_yet: There are no logs yet
314
+ managed_users:
287
315
  promotion:
288
316
  error: There has been an error promoting the managed user.
289
317
  success: The managed user has been successfully promoted.
@@ -300,8 +328,9 @@ en:
300
328
  areas: Areas
301
329
  configuration: Configuration
302
330
  dashboard: Dashboard
303
- managed_users: Managed users
331
+ impersonations: Impersonations
304
332
  newsletters: Newsletters
333
+ oauth_applications: OAuth applications
305
334
  officializations: Officializations
306
335
  scope_types: Scope types
307
336
  scopes: Scopes
@@ -334,10 +363,9 @@ en:
334
363
  admin: Admin
335
364
  ended_at: Ended at
336
365
  expired_at: Expired at
366
+ reason: Reason
337
367
  started_at: Started at
338
368
  user: User
339
- managed_user:
340
- name: Managed user
341
369
  newsletter:
342
370
  fields:
343
371
  created_at: Created at
@@ -345,6 +373,13 @@ en:
345
373
  sent_at: Sent at
346
374
  subject: Subject
347
375
  name: Newsletter
376
+ oauth_application:
377
+ fields:
378
+ created_at: Created at
379
+ name: Name
380
+ name: OAuth application
381
+ participatory_space_private_user:
382
+ name: Participatory space private user
348
383
  scope:
349
384
  fields:
350
385
  name: Name
@@ -414,6 +449,25 @@ en:
414
449
  update:
415
450
  error: There's been an error updating this newsletter.
416
451
  success: Newsletter updated successfully. Please review it before sending.
452
+ oauth_applications:
453
+ create:
454
+ error: There's been an error creating this application.
455
+ success: Application created successfully.
456
+ destroy:
457
+ error: There's been an error destroying this application.
458
+ success: Application destroyed successfully.
459
+ edit:
460
+ save: Save
461
+ title: Edit application
462
+ index:
463
+ confirm_delete: Are you sure you want to delete this application?
464
+ title: OAuth applications
465
+ new:
466
+ save: Save
467
+ title: New application
468
+ update:
469
+ error: There's been an error updating this application.
470
+ success: Application updated successfully.
417
471
  officializations:
418
472
  create:
419
473
  success: User officialized successfully
@@ -467,6 +521,17 @@ en:
467
521
  homepage_highlighted_content_banner_title: Highligted content banner
468
522
  layout_appearance_title: Edit layout appearance
469
523
  omnipresent_banner_appearance_title: Edit omnipresent
524
+ participatory_space_private_users:
525
+ create:
526
+ error: There was an error adding a private user for this participatory space.
527
+ success: Participatory space private user access created successfully.
528
+ destroy:
529
+ success: Participatory space private user access destroyed successfully.
530
+ index:
531
+ title: Participatory space private user
532
+ new:
533
+ create: Create
534
+ title: New Participatory Space private user.
470
535
  scope_types:
471
536
  create:
472
537
  error: There was an error creating a new scope type.
@@ -521,8 +586,8 @@ en:
521
586
  areas: Areas
522
587
  authorization_workflows: Verification methods
523
588
  dashboard: Dashboard
589
+ impersonatable_users: Impersonatable users
524
590
  impersonations: Impersonations
525
- managed_users: Managed users
526
591
  officializations: Officializations
527
592
  scope_types: Scope types
528
593
  scopes: Scopes
@@ -563,6 +628,10 @@ en:
563
628
  new:
564
629
  create: Invite
565
630
  title: Invite user as administrator
631
+ forms:
632
+ errors:
633
+ impersonate_user:
634
+ reason: You need to provide a reason when impersonating a non managed user
566
635
  moderations:
567
636
  actions:
568
637
  hidden: Hidden