Skip to content

Commit 0e243f7

Browse files
committed
Merge branch 'release/0.31-stable' of github.com:AjuntamentdeBarcelona/decidim into release/0.31-stable-bcn
2 parents cd58543 + e1469c6 commit 0e243f7

478 files changed

Lines changed: 3527 additions & 2288 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

decidim-accountability/config/locales/ca-IT.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ ca-IT:
323323
accountability:
324324
proposal_linked:
325325
email_intro: 'La proposta "%{proposal_title}" s''ha inclòs en un resultat. Pots veure-ho des d''aquesta pàgina:'
326-
email_outro: Has rebut aquesta notificació perquè estàs seguint "%{proposal_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
326+
email_outro: Has rebut aquesta notificació perquè estàs seguint la proposta "%{proposal_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
327327
email_subject: Una actualització a %{proposal_title}
328328
notification_title: La proposta <a href="%{proposal_path}">%{proposal_title}</a> s'ha inclòs al resultat <a href="%{resource_path}">%{resource_title}</a>.
329329
result_progress_updated:

decidim-accountability/config/locales/ca.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ ca:
323323
accountability:
324324
proposal_linked:
325325
email_intro: 'La proposta "%{proposal_title}" s''ha inclòs en un resultat. Pots veure-ho des d''aquesta pàgina:'
326-
email_outro: Has rebut aquesta notificació perquè estàs seguint "%{proposal_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
326+
email_outro: Has rebut aquesta notificació perquè estàs seguint la proposta "%{proposal_title}". Pots deixar de rebre notificacions seguint l'enllaç anterior.
327327
email_subject: Una actualització a %{proposal_title}
328328
notification_title: La proposta <a href="%{proposal_path}">%{proposal_title}</a> s'ha inclòs al resultat <a href="%{resource_path}">%{resource_title}</a>.
329329
result_progress_updated:

decidim-accountability/config/locales/el.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,20 @@ el:
114114
milestones:
115115
create:
116116
invalid: Υπήρξε ένα πρόβλημα κατά τη δημιουργία αυτού του ορόσημου.
117+
success: Το ορόσημο δημιουργήθηκε επιτυχώς.
118+
destroy:
119+
success: Το ορόσημο διαγράφηκε επιτυχώς.
120+
edit:
121+
title: Επεξεργασία ορόσημου
122+
update: Ενημέρωση ορόσημου
117123
index:
118124
title: Ορόσημα
125+
new:
126+
create: Δημιουργία ορόσημου
127+
title: Νέο ορόσημο
128+
update:
129+
invalid: Υπήρξε ένα πρόβλημα κατά την ενημέρωση αυτού του ορόσημου.
130+
success: Το ορόσημο ενημερώθηκε επιτυχώς.
119131
models:
120132
result:
121133
name: Αποτέλεσμα
@@ -137,6 +149,8 @@ el:
137149
status: Κατάσταση
138150
submit_buttons:
139151
cancel: Ακύρωση
152+
taxonomies_form:
153+
change_taxonomies: Αλλαγή ταξινομιών
140154
create:
141155
invalid: Υπήρξε ένα πρόβλημα κατά τη δημιουργία αυτού του αποτελέσματος.
142156
success: Το αποτέλεσμα δημιουργήθηκε με επιτυχία.
@@ -162,6 +176,7 @@ el:
162176
success: Η κατάσταση των αποτελεσμάτων ενημερώθηκε με επιτυχία
163177
update_taxonomies:
164178
select_a_result: Επέλεξε ένα αποτέλεσμα
179+
select_a_taxonomy: Επιλέξτε μια ταξινόμηση
165180
shared:
166181
subnav:
167182
statuses: Καταστάσεις
@@ -234,6 +249,7 @@ el:
234249
progress: Πρόοδος
235250
start_date: Ημερομηνία έναρξης
236251
status: Κατάσταση
252+
taxonomies: Ταξινομίες
237253
title: Τίτλος
238254
status:
239255
fields:
@@ -248,6 +264,8 @@ el:
248264
other: "%{count} αποτελέσματα"
249265
home_header:
250266
global_status: Κατάσταση καθολικής εκτέλεσης
267+
milestones:
268+
title: Ορόσημα
251269
no_results: Δεν υπάρχει κανένα πρότζεκτ.
252270
root_taxonomies:
253271
title: 'Προβολή από:'
@@ -261,6 +279,8 @@ el:
261279
results:
262280
status_id_eq:
263281
label: Κατάσταση
282+
taxonomies_part_of_contains:
283+
label: Ταξινομία
264284
tooltips:
265285
deleted_results_info: Αδυναμία διαγραφής αυτού του αποτελέσματος
266286
components:
@@ -277,6 +297,7 @@ el:
277297
display_progress_enabled: Εμφάνιση προόδου
278298
geocoding_enabled: Χάρτες ενεργοποιημένοι
279299
intro: Εισαγωγή
300+
no_taxonomy_filters_found: Δεν βρέθηκαν φίλτρα ταξινομίας.
280301
taxonomy_filters: Επιλογή φίλτρων για το στοιχείο
281302
taxonomy_filters_add: Προσθήκη φίλτρου
282303
step:
@@ -313,6 +334,7 @@ el:
313334
component: Το στοιχείο στο οποίο ανήκει το αποτέλεσμα
314335
created_at: Η ημερομηνία δημιουργίας του αποτελέσματος
315336
description: Η περιγραφή του αποτελέσματος
337+
end_date: Η ημερομηνία κατά την οποία το αποτέλεσμα τελειώνει την εκτέλεση και έχει ολοκληρωθεί
316338
id: Ο μοναδικός αναγνωριστικός κωδικός του αποτελέσματος
317339
latitude: Το γεωγραφικό πλάτος του αποτελέσματος σε περίπτωση που έχει φυσική θέση
318340
longitude: Το γεωγραφικό μήκος του αποτελέσματος σε περίπτωση που έχει φυσική θέση

decidim-accountability/config/locales/ru.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ ru:
3838
admin:
3939
exports:
4040
results: Итоги
41+
import_components:
42+
form:
43+
no_components:
4144
models:
4245
result:
4346
name: Итог

decidim-accountability/config/locales/tr-TR.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ tr:
4242
accountability:
4343
actions:
4444
add_milestone: Aşama ekle
45+
add_result: Sonuç ekle
4546
confirm_delete_result: Bu sonucu silmek istediğinizden emin misiniz?
4647
confirm_destroy: Bu %{name}silmek istediğinize emin misiniz?
4748
deleted_results_info: Silinen sonuçlar çöp kutusundan geri yüklenebilir.
@@ -85,6 +86,31 @@ tr:
8586
new:
8687
download_export: ' İhracat i CSV formatında indirin '
8788
import: İçe aktar
89+
info: |
90+
<p>Aşağıdaki adımları izlemenizi öneririz:</p>
91+
<ol>
92+
<li><a href='%{link_new_status}' target='_blank'>Eklemek istediğiniz Sonuçlar için Durumları oluşturun</a></li>
93+
<li><a href='%{link_new_result}' target='_blank'>İçe Aktarma işleminden önce, formatı ve doldurmanız gerekenleri daha iyi anlamak için bu Yönetici paneli üzerinden en az bir Sonucu manuel olarak oluşturun</a>.</li>
94+
<li>%{link_export_csv}</li>
95+
<li>Değişiklikleri yerel olarak yapın. CSV dosyasının yalnızca aşağıdaki sütunlarını değiştirebilirsiniz (geri kalanlar göz ardı edilecektir):</li>
96+
<ul>
97+
98+
<li><b>taxonomies/ids:</b> Taksonomilerin Kimlikleri (birden fazla ise virgülle ayırın)</li>
99+
100+
<li><b>parent/id:</b> Üst öğenin Kimliği (ilgili Sonuçlar için). İsteğe bağlı</li>
101+
102+
<li><b>başlık/en:</b> İngilizce başlık. Bu, platformunuzun dil yapılandırmasına bağlı olacaktır.</li>
103+
<li><b>açıklama/en:</b> İngilizce açıklama. Bu, platformunuzun dil yapılandırmasına bağlı olacaktır.</li>
104+
105+
<li><b>başlangıç_tarihi:</b> Sonucun yürütülmeye başladığı tarih (YYYY-MM-DD formatında)</li>
106+
<li><b>bitiş_tarihi:</b> Sonucun yürütülmenin bittiği tarih (YYYY-MM-DD formatında)</li>
107+
<li><b>durum/id:</b> Bu sonuç için Durumun Kimliği</li>
108+
<li><b>ilerleme:</b> Yürütmenin yüzdesi (0 ile 100 arası)</li>
109+
<li><b>öneri_kimlikleri:</b> İlgili önerilerin dahili kimlikleri (virgülle ayrılmış). Otomatik olarak <span class='attribute-name'>proposal_url</span></li> adresine dönüştürülür.
110+
111+
</ul>
112+
</li>
113+
</ol>
88114
title: Sonuçları CSV dosyasından içe aktarın
89115
imports:
90116
create:
@@ -99,8 +125,11 @@ tr:
99125
edit:
100126
title: Aşamayı düzenle
101127
update: Aşamayı güncelle
128+
index:
129+
title: Kilometre taşları
102130
new:
103131
create: Aşama oluştur
132+
title: Yeni dönüm noktası
104133
update:
105134
invalid: Bu aşama güncellenirken bir hata oluştu.
106135
success: Aşama başarıyla güncellendi.
@@ -217,6 +246,10 @@ tr:
217246
last_activity:
218247
new_result: 'Yeni sonuç:'
219248
models:
249+
milestone:
250+
fields:
251+
entry_date: Tarih
252+
title: Başlık
220253
result:
221254
fields:
222255
created_at: Oluşturuldu
@@ -225,6 +258,7 @@ tr:
225258
progress: İlerleme
226259
start_date: Başlangıç tarihi
227260
status: durum
261+
taxonomies: Sınıflandırmalar
228262
title: Başlık
229263
status:
230264
fields:
@@ -242,6 +276,8 @@ tr:
242276
milestones:
243277
title: Aşamalar
244278
no_results: Proje Bulunamadı
279+
root_taxonomies:
280+
title: 'Tarafından görüntüle:'
245281
search:
246282
search: İşlemleri ara
247283
show:
@@ -252,6 +288,8 @@ tr:
252288
results:
253289
status_id_eq:
254290
label: Durum
291+
taxonomies_part_of_contains:
292+
label: Sınıflandırma
255293
tooltips:
256294
deleted_results_info: Bu sonuç silinemiyor
257295
components:
@@ -268,11 +306,13 @@ tr:
268306
default_taxonomy_help: Varsayılan olarak hangi sınıflandırmayı göstermek istediğinizi seçin. Eğer herhangi bir sınıflandırma seçilmezse, sonuçlar liste biçiminde gösterilecektir.
269307
define_taxonomy_filters: Bu ayarı kullanmadan önce lütfen bu katılımcı alan için bazı filtreler tanımlayın.
270308
display_progress_enabled: İlerlemeyi göster
309+
geocoding_enabled: Haritalar etkinleştirildi
271310
intro: Tanıtım
272311
no_taxonomy_filters_found: Sınıflandırma filtresi bulunamadı.
273312
taxonomy_filters_add: Filtre ekle
274313
step:
275314
comments_blocked: Yorumlar engellendi
315+
visualization: Görselleştirme
276316
download_your_data:
277317
show:
278318
result_comments: Sonuç yorumlarını dışa aktar
@@ -292,14 +332,26 @@ tr:
292332
open_data:
293333
help:
294334
result_comments:
335+
alignment: Bu yorumun olumlu, olumsuz veya tarafsız olup olmadığı
295336
author: Bu yorumu yapan katılımcının adı
296337
body: Yorumun kendisi
338+
commentable_id: Yorumlanabilir öğenin benzersiz kimliği
339+
commentable_type: Yorumlanabilir içeriğin türü (sonuç mu, öneri mi, vb.)
297340
created_at: Bu yorumun oluşturulduğu tarih
341+
id: Bu yorumun kimliği
298342
root_commentable_url: Bu yoruma bağlı kaynağın URL bağlantısı
299343
results:
300344
address: Sonucun adresi (varsa)
345+
children_count: Çocuk sonuçlarının sayısı
346+
comments_count: Bu sonucun aldığı yorum sayısı
301347
created_at: Sonucun oluşturulma tarihi
348+
description: Sonucun açıklaması
349+
end_date: Sonucun yürütülmesinin sona erdiği ve tamamlandığı tarih
350+
id: Sonucun benzersiz tanımlayıcısı
351+
proposal_urls: Bu sonuçta yer alan tekliflerin URL'leri
302352
taxonomies:
353+
title: Sonuç başlığı
354+
updated_at: Güncelleme Tarihi
303355
participatory_spaces:
304356
highlighted_results:
305357
see_all: Tüm sonuçları gör (%{count})
@@ -310,3 +362,4 @@ tr:
310362
result_proposal: Bu sonuca dahil teklifler
311363
statistics:
312364
results_count: Sonuçlar
365+
results_count_tooltip: Bu alandan elde edilen karar veya sonuç sayısı.

decidim-admin/app/cells/decidim/admin/content_block/show.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<%= icon "delete-bin-line", role: "img", "aria-hidden": true %>
1313
<% end %>
1414
<% end %>
15-
<%= icon "menu-line", role: "img", "aria-hidden": true %>
15+
<%= icon("draggable", class: "dragger hover:cursor-grab") %>
1616
</div>
1717
</div>
1818
</li>

decidim-admin/app/helpers/decidim/admin/settings_helper.rb

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ def render_select_form_field(form, attribute, name, i18n_scope, options)
108108
html = form.select(
109109
name,
110110
choices,
111-
{ include_blank: attribute.include_blank, label: options[:label] }
111+
{ include_blank: attribute.include_blank, label: options[:label] },
112+
{ disabled: options[:readonly] || false }
112113
)
113114
html << content_tag(:p, options[:help_text], class: "help-text") if options[:help_text]
114115
html
@@ -225,6 +226,8 @@ def integer_with_units(form, attribute, name, i18n_scope, options)
225226
# @param name (see #settings_attribute_input)
226227
# @param i18n_scope (see #settings_attribute_input)
227228
def taxonomy_filters(form, name, i18n_scope)
229+
return disabled_taxonomy_filters(name, i18n_scope) if @component&.new_record?
230+
228231
current_filters = content_tag(:div, class: "js-current-filters") do
229232
render partial: "decidim/admin/taxonomy_filters_selector/component_table",
230233
locals: { field_name: "#{form.object_name}[#{name}][]", component: @component }
@@ -248,6 +251,15 @@ def taxonomy_filters(form, name, i18n_scope)
248251

249252
label_tag(name, t(name, scope: i18n_scope)) + container + drawer
250253
end
254+
255+
def disabled_taxonomy_filters(name, i18n_scope)
256+
container = content_tag(:div) do
257+
message = t("taxonomy_filters_unavailable", scope: "decidim.components.settings.global")
258+
content_tag(:p, message, class: "help-text")
259+
end
260+
261+
label_tag(name, t(name, scope: i18n_scope)) + container
262+
end
251263
end
252264
end
253265
end

decidim-admin/app/packs/stylesheets/decidim/admin/_forms.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
transition: all 0.2s ease;
5555

5656
svg[role="img"] {
57-
cursor: default !important;
5857
transition: color 0.2s ease;
5958
}
6059

decidim-admin/app/packs/stylesheets/decidim/admin/_table-list.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
}
142142

143143
.dragging-handle {
144-
@apply cursor-ns-resize align-top p-3;
144+
@apply cursor-grab align-top p-3;
145145

146146
.dragger {
147147
@apply text-2xl;

decidim-admin/app/packs/stylesheets/decidim/admin/_taxonomies.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515

1616
td {
17-
@apply align-top cursor-ns-resize;
17+
@apply align-top cursor-grab;
1818

1919
&.js-drag-handle .dragger {
2020
@apply mt-1;

0 commit comments

Comments
 (0)