decidim-accountability 0.1.2 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -21
  3. data/app/assets/javascripts/decidim/accountability/accountability.js.es6 +3 -3
  4. data/app/assets/javascripts/decidim/accountability/admin/accountability_admin.js +3 -2
  5. data/app/assets/stylesheets/decidim/accountability/accountability/_categories.scss +13 -13
  6. data/app/assets/stylesheets/decidim/accountability/accountability/_lines_breadcrumb.scss +5 -5
  7. data/app/assets/stylesheets/decidim/accountability/accountability/_results.scss +5 -5
  8. data/app/commands/decidim/accountability/admin/create_result.rb +0 -1
  9. data/app/commands/decidim/accountability/admin/update_result.rb +0 -5
  10. data/app/controllers/decidim/accountability/application_controller.rb +1 -1
  11. data/app/controllers/decidim/accountability/results_controller.rb +1 -12
  12. data/app/forms/decidim/accountability/admin/result_form.rb +0 -11
  13. data/app/helpers/decidim/accountability/application_helper.rb +8 -6
  14. data/app/models/decidim/accountability/result.rb +3 -10
  15. data/app/services/decidim/accountability/result_search.rb +6 -3
  16. data/app/services/decidim/accountability/result_stats_calculator.rb +2 -6
  17. data/app/services/decidim/accountability/results_calculator.rb +1 -1
  18. data/app/views/decidim/accountability/admin/results/_form.html.erb +0 -4
  19. data/app/views/decidim/accountability/admin/results/index.html.erb +5 -2
  20. data/app/views/decidim/accountability/admin/shared/_extra.html.erb +1 -0
  21. data/app/views/decidim/accountability/admin/shared/_subnav.html.erb +1 -3
  22. data/app/views/decidim/accountability/results/_home_categories.html.erb +15 -9
  23. data/app/views/decidim/accountability/results/_home_header.html.erb +12 -13
  24. data/app/views/decidim/accountability/results/_linked_results.html.erb +1 -1
  25. data/app/views/decidim/accountability/results/_results_leaf.html.erb +5 -3
  26. data/app/views/decidim/accountability/results/_results_parent.html.erb +5 -3
  27. data/app/views/decidim/accountability/results/_show_leaf.html.erb +14 -14
  28. data/app/views/decidim/accountability/results/_show_parent.html.erb +1 -1
  29. data/config/locales/ca.yml +9 -41
  30. data/config/locales/en.yml +8 -40
  31. data/config/locales/es.yml +9 -41
  32. data/config/locales/eu.yml +99 -21
  33. data/config/locales/fi.yml +101 -21
  34. data/config/locales/fr.yml +157 -0
  35. data/config/locales/it.yml +157 -0
  36. data/config/locales/nl.yml +157 -0
  37. data/config/locales/pl.yml +158 -0
  38. data/config/locales/ru.yml +159 -0
  39. data/config/locales/uk.yml +159 -0
  40. data/db/migrate/20170426104125_create_accountability_results.rb +0 -1
  41. data/db/migrate/20170508104902_add_description_and_progress_to_statuses.rb +2 -0
  42. data/db/migrate/20170623094200_migrate_accountability_results_category.rb +2 -0
  43. data/db/migrate/20170623144902_add_children_counter_cache_to_results.rb +2 -0
  44. data/db/migrate/20170928073905_migrate_old_results.rb +53 -0
  45. data/lib/decidim/accountability.rb +2 -1
  46. data/lib/decidim/accountability/admin_engine.rb +0 -2
  47. data/lib/decidim/accountability/{list_engine.rb → engine.rb} +1 -2
  48. data/lib/decidim/accountability/feature.rb +53 -19
  49. data/lib/decidim/accountability/result_serializer.rb +66 -0
  50. data/lib/decidim/accountability/test/factories.rb +16 -16
  51. data/lib/decidim/accountability/version.rb +10 -0
  52. metadata +111 -53
  53. data/app/commands/decidim/accountability/admin/update_template_texts.rb +0 -47
  54. data/app/controllers/decidim/accountability/admin/imports_controller.rb +0 -30
  55. data/app/controllers/decidim/accountability/admin/template_texts_controller.rb +0 -38
  56. data/app/forms/decidim/accountability/admin/template_texts_form.rb +0 -19
  57. data/app/models/decidim/accountability/template_texts.rb +0 -17
  58. data/app/services/decidim/accountability/csv_exporter.rb +0 -77
  59. data/app/services/decidim/accountability/csv_importer.rb +0 -106
  60. data/app/views/decidim/accountability/admin/imports/new.html.erb +0 -47
  61. data/app/views/decidim/accountability/admin/template_texts/_form.html.erb +0 -30
  62. data/app/views/decidim/accountability/admin/template_texts/edit.html.erb +0 -8
  63. data/app/views/decidim/accountability/results/_tags.html.erb +0 -10
  64. data/config/i18n-tasks.yml +0 -10
  65. data/db/migrate/20170508161109_create_template_texts.rb +0 -14
  66. data/db/migrate/20170606102902_add_index_to_accountability_results_on_external_id.rb +0 -5
@@ -0,0 +1,157 @@
1
+ it:
2
+ activemodel:
3
+ attributes:
4
+ result:
5
+ decidim_accountability_status_id: stato
6
+ decidim_category_id: Categoria
7
+ decidim_scope_id: Objetivos
8
+ description: Descrizione
9
+ end_date: Data di fine
10
+ progress: Avanzamento
11
+ proposal_ids: Proposte incluse
12
+ start_date: Date di inizio
13
+ title: Nome
14
+ status:
15
+ description: Descrizione
16
+ key: Chiave
17
+ name: Nome
18
+ progress: Avanzamento
19
+ timeline_entry:
20
+ description: Descrizione
21
+ entry_date: Data
22
+ decidim:
23
+ accountability:
24
+ actions:
25
+ confirm_destroy: Sei sicuro di voler eliminare questo %{name}?
26
+ destroy: Cancella
27
+ edit: Modifica
28
+ new: Nuovo %{name}
29
+ preview: Anteprima
30
+ timeline_entries: Evoluzione del progetto
31
+ title: Azioni
32
+ admin:
33
+ exports:
34
+ results: Risultati
35
+ models:
36
+ result:
37
+ name: Risultato
38
+ status:
39
+ name: Stato
40
+ timeline_entry:
41
+ name: Inserimento della linea temporale
42
+ results:
43
+ create:
44
+ invalid: C'è stato un problema durante la creazione di questo risultato
45
+ success: OK, il risultato è stato creato
46
+ destroy:
47
+ success: Il risultato è stato cancellato
48
+ edit:
49
+ title: Modifica il risultato (Ambito)
50
+ update: Aggiorna il risultato
51
+ index:
52
+ title: Risultati
53
+ new:
54
+ create: Crea il risultato
55
+ title: Nuovo risultato
56
+ update:
57
+ invalid: C'è stato un problema durante l'aggiornamento di questo risultato
58
+ success: OK, il risultato è stato modificato
59
+ shared:
60
+ subnav:
61
+ statuses: Gli stati
62
+ statuses:
63
+ create:
64
+ invalid: È stato un problema che crea questo stato
65
+ success: Stato creato con successo
66
+ destroy:
67
+ success: Stato eliminato con successo
68
+ edit:
69
+ title: Modifica lo stato
70
+ update: Aggiorna stato
71
+ index:
72
+ title: Gli stati
73
+ new:
74
+ create: Crea stato
75
+ title: Nuovo stato
76
+ update:
77
+ invalid: È stato un problema che aggiorna questo stato
78
+ success: Stato aggiornato con successo
79
+ timeline_entries:
80
+ create:
81
+ invalid: C'è stato un problema creando questa voce
82
+ success: Entrata creata con successo
83
+ destroy:
84
+ success: L'iscrizione è stata eliminata correttamente
85
+ edit:
86
+ title: Modifica voce
87
+ update: Aggiorna la voce
88
+ index:
89
+ title: Inserimento di timeline di progetto
90
+ new:
91
+ create: Crea voce
92
+ title: Nuovo arrivato
93
+ update:
94
+ invalid: È stato un problema che aggiorna questa voce
95
+ success: Entrata aggiornata con successo
96
+ models:
97
+ result:
98
+ fields:
99
+ end_date: Data di fine
100
+ progress: Avanzamento
101
+ start_date: Date di inizio
102
+ status: Stato
103
+ title: Nome
104
+ status:
105
+ fields:
106
+ description: Descrizione
107
+ key: Chiave
108
+ name: Nome
109
+ progress: Avanzamento
110
+ timeline_entry:
111
+ fields:
112
+ description: Descrizione
113
+ entry_date: Data
114
+ results:
115
+ count:
116
+ results_count:
117
+ one: 1 risultato
118
+ other: "%{count} risultati"
119
+ filters:
120
+ all: Tutto
121
+ global: Globale
122
+ scopes: Visibilità
123
+ home:
124
+ categories_label: Categorie
125
+ subcategories_label: Sotto-categorie
126
+ home_header:
127
+ global_status: Stato di esecuzione globale
128
+ nav_breadcrumb:
129
+ global: L'esecuzione globale
130
+ search:
131
+ search: Cerca azioni
132
+ show:
133
+ stats:
134
+ attendees: Partecipanti
135
+ comments: Commenti
136
+ contributions: Contributi
137
+ meetings: Riunioni
138
+ proposals: Proposte
139
+ votes: Voti
140
+ timeline:
141
+ title: Evoluzione del progetto
142
+ features:
143
+ accountability:
144
+ name: Responsabilità
145
+ settings:
146
+ global:
147
+ categories_label: Nome per "Categorie"
148
+ comments_enabled: Commenti abilitati
149
+ heading_leaf_level_results: Nome per "Progetti"
150
+ heading_parent_level_results: Nome per "Risultati"
151
+ intro: Intro
152
+ subcategories_label: Nome per "Sottocategorie"
153
+ step:
154
+ comments_blocked: Commenti bloccati
155
+ resource_links:
156
+ included_proposals:
157
+ result_proposals: Proposte incluse in questo risultato
@@ -0,0 +1,157 @@
1
+ nl:
2
+ activemodel:
3
+ attributes:
4
+ result:
5
+ decidim_accountability_status_id: staat
6
+ decidim_category_id: Categorie
7
+ decidim_scope_id: Reikwijdte
8
+ description: Beschrijving
9
+ end_date: Einddatum
10
+ progress: Vooruitgang
11
+ proposal_ids: Inclusief voorstellen
12
+ start_date: Begin datum
13
+ title: Titel
14
+ status:
15
+ description: Beschrijving
16
+ key: sleutel
17
+ name: Naam
18
+ progress: Vooruitgang
19
+ timeline_entry:
20
+ description: Beschrijving
21
+ entry_date: Datum
22
+ decidim:
23
+ accountability:
24
+ actions:
25
+ confirm_destroy: Weet u zeker dat u deze %{name} wilt verwijderen?
26
+ destroy: Verwijder
27
+ edit: Bewerk
28
+ new: Nieuw %{name}
29
+ preview: Voorbeeld
30
+ timeline_entries: Project evolutie
31
+ title: acties
32
+ admin:
33
+ exports:
34
+ results: Resultaten
35
+ models:
36
+ result:
37
+ name: Resultaat
38
+ status:
39
+ name: staat
40
+ timeline_entry:
41
+ name: Tijdlijn invoer
42
+ results:
43
+ create:
44
+ invalid: Er is een probleem opgetreden bij het maken van dit resultaat
45
+ success: Resultaat met succes gemaakt
46
+ destroy:
47
+ success: Resultaat met succes verwijderd
48
+ edit:
49
+ title: Bewerk resultaat
50
+ update: Update resultaat
51
+ index:
52
+ title: Resultaten
53
+ new:
54
+ create: Maak resultaat
55
+ title: Nieuw resultaat
56
+ update:
57
+ invalid: Er is een probleem opgetreden bij het bijwerken van dit resultaat
58
+ success: Resultaat met succes bijgewerkt
59
+ shared:
60
+ subnav:
61
+ statuses: statussen
62
+ statuses:
63
+ create:
64
+ invalid: Er is een probleem opgetreden bij het maken van deze status
65
+ success: Status succesvol gemaakt
66
+ destroy:
67
+ success: Status succesvol verwijderd
68
+ edit:
69
+ title: Bewerk status
70
+ update: Status bijwerken
71
+ index:
72
+ title: statussen
73
+ new:
74
+ create: Maak een status
75
+ title: Nieuwe status
76
+ update:
77
+ invalid: Er is een probleem opgedaan bij het updaten van deze status
78
+ success: Status succesvol bijgewerkt
79
+ timeline_entries:
80
+ create:
81
+ invalid: Er is een probleem opgetreden met het maken van deze invoer
82
+ success: Invoer succesvol gemaakt
83
+ destroy:
84
+ success: Invoer succesvol verwijderd
85
+ edit:
86
+ title: Bewerk invoer
87
+ update: Update invoer
88
+ index:
89
+ title: Project tijdlijn inzendingen
90
+ new:
91
+ create: Maak een entry
92
+ title: Nieuwe invoer
93
+ update:
94
+ invalid: Er is een probleem opgetreden met het bijwerken van dit item
95
+ success: Invoer succesvol bijgewerkt
96
+ models:
97
+ result:
98
+ fields:
99
+ end_date: Einddatum
100
+ progress: Vooruitgang
101
+ start_date: Begin datum
102
+ status: staat
103
+ title: Titel
104
+ status:
105
+ fields:
106
+ description: Beschrijving
107
+ key: sleutel
108
+ name: Naam
109
+ progress: Vooruitgang
110
+ timeline_entry:
111
+ fields:
112
+ description: Beschrijving
113
+ entry_date: Datum
114
+ results:
115
+ count:
116
+ results_count:
117
+ one: 1 resultaat
118
+ other: "%{count} resultaten"
119
+ filters:
120
+ all: Alle
121
+ global: Globaal
122
+ scopes: scopes
123
+ home:
124
+ categories_label: Categorieën
125
+ subcategories_label: subcategorieën
126
+ home_header:
127
+ global_status: Globale uitvoeringstatus
128
+ nav_breadcrumb:
129
+ global: Wereldwijde uitvoering
130
+ search:
131
+ search: Zoek naar acties
132
+ show:
133
+ stats:
134
+ attendees: Deelnemers
135
+ comments: Comments
136
+ contributions: bijdragen
137
+ meetings: Vergaderingen
138
+ proposals: Voorstellen
139
+ votes: steunen
140
+ timeline:
141
+ title: Project evolutie
142
+ features:
143
+ accountability:
144
+ name: Verantwoording
145
+ settings:
146
+ global:
147
+ categories_label: Naam voor "Categorieën"
148
+ comments_enabled: Reacties ingeschakeld
149
+ heading_leaf_level_results: Naam voor "Projecten"
150
+ heading_parent_level_results: Naam voor "Resultaten"
151
+ intro: Intro
152
+ subcategories_label: Naam voor "Subcategorieën"
153
+ step:
154
+ comments_blocked: Reacties geblokkeerd
155
+ resource_links:
156
+ included_proposals:
157
+ result_proposals: Voorstellen opgenomen in dit resultaat
@@ -0,0 +1,158 @@
1
+ pl:
2
+ activemodel:
3
+ attributes:
4
+ result:
5
+ decidim_accountability_status_id: status
6
+ decidim_category_id: Kategoria
7
+ decidim_scope_id: Zakres
8
+ description: Opis
9
+ end_date: Data zakończenia
10
+ progress: Postęp
11
+ proposal_ids: Zawarte propozycje
12
+ start_date: Data rozpoczęcia
13
+ title: Tytuł
14
+ status:
15
+ description: Opis
16
+ key: Klawisz
17
+ name: Nazwa
18
+ progress: Postęp
19
+ timeline_entry:
20
+ description: Opis
21
+ entry_date: Data
22
+ decidim:
23
+ accountability:
24
+ actions:
25
+ confirm_destroy: Czy na pewno chcesz usunąć to %{name}?
26
+ destroy: Kasować
27
+ edit: Edytuj
28
+ new: Nowe %{name}
29
+ preview: Podgląd
30
+ timeline_entries: Ewolucja projektu
31
+ title: Działania
32
+ admin:
33
+ exports:
34
+ results: wyniki
35
+ models:
36
+ result:
37
+ name: Wynik
38
+ status:
39
+ name: Status
40
+ timeline_entry:
41
+ name: Wprowadzenie do osi czasu
42
+ results:
43
+ create:
44
+ invalid: Podczas tworzenia tego wyniku wystąpił problem
45
+ success: Wynik został pomyślnie utworzony
46
+ destroy:
47
+ success: Wynik został pomyślnie usunięty
48
+ edit:
49
+ title: Edytuj wynik
50
+ update: Zaktualizuj wynik
51
+ index:
52
+ title: wyniki
53
+ new:
54
+ create: Utwórz wynik
55
+ title: Nowy wynik
56
+ update:
57
+ invalid: Podczas aktualizowania tego wyniku wystąpił problem
58
+ success: Wynik został zaktualizowany
59
+ shared:
60
+ subnav:
61
+ statuses: Statusy
62
+ statuses:
63
+ create:
64
+ invalid: Podczas tworzenia tego stanu wystąpił problem
65
+ success: Status został pomyślnie utworzony
66
+ destroy:
67
+ success: Status został pomyślnie usunięty
68
+ edit:
69
+ title: Edytuj status
70
+ update: Stan aktualizacji
71
+ index:
72
+ title: Statusy
73
+ new:
74
+ create: Utwórz stan
75
+ title: Nowy status
76
+ update:
77
+ invalid: Wystąpił problem z aktualizacją tego stanu
78
+ success: Stan został zaktualizowany
79
+ timeline_entries:
80
+ create:
81
+ invalid: Podczas tworzenia tego wpisu wystąpił problem
82
+ success: Wpis został pomyślnie utworzony
83
+ destroy:
84
+ success: Wpis został pomyślnie usunięty
85
+ edit:
86
+ title: Edytuj wpis
87
+ update: Aktualizuj wpis
88
+ index:
89
+ title: Projekty linii czasu
90
+ new:
91
+ create: Utwórz wpis
92
+ title: Nowe wejście
93
+ update:
94
+ invalid: Podczas aktualizowania tego wpisu wystąpił problem
95
+ success: Wprowadzono pomyślnie
96
+ models:
97
+ result:
98
+ fields:
99
+ end_date: Data zakończenia
100
+ progress: Postęp
101
+ start_date: Data rozpoczęcia
102
+ status: Status
103
+ title: Tytuł
104
+ status:
105
+ fields:
106
+ description: Opis
107
+ key: Klawisz
108
+ name: Nazwa
109
+ progress: Postęp
110
+ timeline_entry:
111
+ fields:
112
+ description: Opis
113
+ entry_date: Data
114
+ results:
115
+ count:
116
+ results_count:
117
+ one: 1 wynik
118
+ few: "%{count} wyników"
119
+ other: "%{count} wyników"
120
+ filters:
121
+ all: Wszystkie
122
+ global: Światowy
123
+ scopes: Zakresy
124
+ home:
125
+ categories_label: Kategorie
126
+ subcategories_label: Podkategorie
127
+ home_header:
128
+ global_status: Globalny status realizacji
129
+ nav_breadcrumb:
130
+ global: Globalna realizacja
131
+ search:
132
+ search: Szukaj działań
133
+ show:
134
+ stats:
135
+ attendees: Uczestnicy i uczestniczki
136
+ comments: Komentarze
137
+ contributions: Wkład
138
+ meetings: Spotkania
139
+ proposals: Propozycje
140
+ votes: Wsparcie
141
+ timeline:
142
+ title: Ewolucja projektu
143
+ features:
144
+ accountability:
145
+ name: Odpowiedzialność
146
+ settings:
147
+ global:
148
+ categories_label: Nazwa "Kategorie"
149
+ comments_enabled: Komentarze włączone
150
+ heading_leaf_level_results: Nazwa "Projekty"
151
+ heading_parent_level_results: Nazwa "Wyniki"
152
+ intro: Intro
153
+ subcategories_label: Nazwa "Podkategorie"
154
+ step:
155
+ comments_blocked: Komentarze zablokowane
156
+ resource_links:
157
+ included_proposals:
158
+ result_proposals: Propozycje zawarte w tym wyniku