Skip to content

Commit

Permalink
Merge pull request #3188 from digitalfabrik/enhancement/extend-check-…
Browse files Browse the repository at this point in the history
…all-languages

Extend select all checkbox to events and pois
  • Loading branch information
JoeyStk authored Nov 11, 2024
2 parents 1e3e18c + 8567ee5 commit 2bcb475
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
{{ event_translation_form.mt_translations_to_create.label }}
</label>
{% render_field event_translation_form.mt_translations_to_create %}
<div class="mt-4 font-bold">
<input id="select-all-languages" type="checkbox" />
<label for="select-all-languages">
{% translate "Select all languages" %}
</label>
</div>
{% endif %}
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
{{ poi_translation_form.mt_translations_to_create.label }}
</label>
{% render_field poi_translation_form.mt_translations_to_create %}
<div class="mt-4 font-bold">
<input id="select-all-languages" type="checkbox" />
<label for="select-all-languages">
{% translate "Select all languages" %}
</label>
</div>
{% endif %}
</div>
</div>
Expand Down
10 changes: 6 additions & 4 deletions integreat_cms/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -5942,6 +5942,12 @@ msgstr "Diese Veranstaltung löschen"
msgid "Date and time"
msgstr "Datum und Uhrzeit"

#: cms/templates/events/event_form_sidebar/minor_edit_box.html
#: cms/templates/pages/page_form_sidebar/minor_edit_box.html
#: cms/templates/pois/poi_form_sidebar/minor_edit_box.html
msgid "Select all languages"
msgstr "Alle Sprachen auswählen"

#: cms/templates/events/event_list.html
#: cms/templates/events/event_list_archived.html
msgid "Archived events"
Expand Down Expand Up @@ -7227,10 +7233,6 @@ msgstr ""
"Um automatische Übersetzungen nutzen zu können, muss der HIX-Wert mindestens "
"%(minimum_hix)s betragen."

#: cms/templates/pages/page_form_sidebar/minor_edit_box.html
msgid "Select all languages"
msgstr "Alle Sprachen auswählen"

#: cms/templates/pages/page_form_sidebar/settings_box.html
msgid "Settings of the page"
msgstr "Einstellungen der Seite"
Expand Down
2 changes: 2 additions & 0 deletions integreat_cms/release_notes/current/unreleased/3185.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
en: Extend select all checkboxes to translation of events and pois
de: Weite das Kontrollkästchen "Alles auswählen" auf für Übersetzungen von Veranstaltungen und Orte aus

0 comments on commit 2bcb475

Please sign in to comment.