diff --git a/app/components/work_packages/date_picker/date_form_component.html.erb b/app/components/work_packages/date_picker/date_form_component.html.erb index e47c67aa808c..311e8e60ab24 100644 --- a/app/components/work_packages/date_picker/date_form_component.html.erb +++ b/app/components/work_packages/date_picker/date_form_component.html.erb @@ -29,7 +29,7 @@ unless @is_milestone body.with_column(classes: "wp-datepicker-dialog-date-form--due-date") do flex_layout do |due_date| - due_date.with_row(classes: container_classes(:due_date), data: { skip_morphing: true }) do + due_date.with_row(classes: container_classes(:due_date)) do render( Primer::Beta::Button.new( tag: :a, diff --git a/config/locales/crowdin/af.yml b/config/locales/crowdin/af.yml index d3f96ccb80fd..c8d16aab4663 100644 --- a/config/locales/crowdin/af.yml +++ b/config/locales/crowdin/af.yml @@ -1304,6 +1304,10 @@ af: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/ar.yml b/config/locales/crowdin/ar.yml index d0aede8f8dbd..c9aa94817e92 100644 --- a/config/locales/crowdin/ar.yml +++ b/config/locales/crowdin/ar.yml @@ -1340,6 +1340,10 @@ ar: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/az.yml b/config/locales/crowdin/az.yml index 5d8405843d48..22614af04bdd 100644 --- a/config/locales/crowdin/az.yml +++ b/config/locales/crowdin/az.yml @@ -1304,6 +1304,10 @@ az: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/be.yml b/config/locales/crowdin/be.yml index d9e2fb12d610..560ca2988adf 100644 --- a/config/locales/crowdin/be.yml +++ b/config/locales/crowdin/be.yml @@ -1322,6 +1322,10 @@ be: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/bg.yml b/config/locales/crowdin/bg.yml index 706126c1e5a2..571456b37f79 100644 --- a/config/locales/crowdin/bg.yml +++ b/config/locales/crowdin/bg.yml @@ -1304,6 +1304,10 @@ bg: values: inclusion: "филтърът има невалидни стойности." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/ca.yml b/config/locales/crowdin/ca.yml index 6c615bf77904..81e8786eae1c 100644 --- a/config/locales/crowdin/ca.yml +++ b/config/locales/crowdin/ca.yml @@ -1301,6 +1301,10 @@ ca: values: inclusion: "el filtre té valors invàlids." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "La relació crea un cercle de relacions." diff --git a/config/locales/crowdin/ckb-IR.yml b/config/locales/crowdin/ckb-IR.yml index cedf11f9baa6..8d5e0a9008de 100644 --- a/config/locales/crowdin/ckb-IR.yml +++ b/config/locales/crowdin/ckb-IR.yml @@ -1304,6 +1304,10 @@ ckb-IR: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/cs.yml b/config/locales/crowdin/cs.yml index 4e83763ae2db..a7977042111b 100644 --- a/config/locales/crowdin/cs.yml +++ b/config/locales/crowdin/cs.yml @@ -1322,6 +1322,10 @@ cs: values: inclusion: "filtr má neplatné hodnoty." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Vztah vytvoří cyklický vztah." diff --git a/config/locales/crowdin/da.yml b/config/locales/crowdin/da.yml index fc3ecd6c1b96..4ac6ab82eda3 100644 --- a/config/locales/crowdin/da.yml +++ b/config/locales/crowdin/da.yml @@ -1302,6 +1302,10 @@ da: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/de.yml b/config/locales/crowdin/de.yml index 28b23f8357e0..d715075970c6 100644 --- a/config/locales/crowdin/de.yml +++ b/config/locales/crowdin/de.yml @@ -42,8 +42,8 @@ de: created: "erstellt" commented: "kommentiert" restrict_visibility: Sichtbarkeit einschränken - restricted_journal: Restricted comments are visible to a limited group of members. - unsaved_changes_confirmation_message: You have unsaved changes. Are you sure you want to close the editor? + restricted_journal: Kommentare mit eingeschränkter Sichtbarkeit sind nur mit entsprechender Berechtigung sichtbar. + unsaved_changes_confirmation_message: Sie haben ungespeicherte Änderungen. Sind Sie sicher, dass Sie den Editor schließen möchten? admin: plugins: no_results_title_text: Es sind derzeit keine Plugins installiert. @@ -618,7 +618,7 @@ de: caption: "Fügen Sie Text oder Typ / um nach einem Attribut zu suchen. Sie können Leerzeichen hinzufügen, um sie zu trennen." headings: work_package: "Arbeitspaket" - parent: "Parent" + parent: "Eltern-Arbeitspaket" project: "Projekt" insert_as_text: "Keine Attribute gefunden. Als Text hinzufügen: \"%{word}\"" export_configuration: @@ -753,9 +753,9 @@ de: follows_description: "Das verknüpfte Arbeitspaket muss beendet sein bevor dieses Arbeitspaket starten kann" label_child_singular: "Untergeordnetes Arbeitspaket" label_child_plural: "Untergeordnete Arbeitspakete" - new_child: "Create new child" + new_child: "Neues Unter-Arbeitspaket" new_child_text: "Erstellt ein zugehöriges Arbeitspaket als Unterelement des aktuellen (übergeordneten) Arbeitspakets" - child: "Child" + child: "Unteraufgabe" child_description: "Macht das zugehörige Arbeitspaket zu einem Unterelement des aktuellen (übergeordneten) Arbeitspakets" label_closest: "Am nächsten" label_blocks_singular: "Blockiert" @@ -963,7 +963,7 @@ de: column_names: "Spalten" relations_to_type_column: "Beziehungen zu %{type}" relations_of_type_column: "Beziehungen der Art: %{type}" - child_work_packages: "Child work packages" + child_work_packages: "Unter-Arbeitspakete" group_by: "Gruppiere Ergebnisse nach" sort_by: "Ergebnisse sortieren nach" filters: "Filter" @@ -1076,7 +1076,7 @@ de: title: "Werktage" false: "Nur Werktage" true: "Mit Wochenenden" - journal_restricted: Restricted Journal + journal_restricted: Journal mit eingeschränkter Sichtbarkeit notify: "Benachrichtigung" #used in custom actions parent: "Übergeordnetes Arbeitspaket" parent_issue: "Übergeordnetes Arbeitspaket" @@ -1297,6 +1297,10 @@ de: values: inclusion: "Filter enthält ungültige Werte." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Die Beziehung erzeugt eine zirkuläre Abhängigkeit." @@ -2115,7 +2119,7 @@ de: succeeded: "Export abgeschlossen" failed: "Beim Versuch, die Arbeitspakete zu exportieren, ist ein Fehler aufgetreten: %{message}" errors: - embedded_table_with_too_many_columns: "This embedded work package table could not fit on the page, please reduce the number of columns." + embedded_table_with_too_many_columns: "Diese eingebettete Arbeitspakettabelle passte nicht auf die Seite. Bitte reduzieren Sie die Anzahl der Spalten." format: atom: "Atom" csv: "CSV" @@ -2162,7 +2166,7 @@ de: label: Sprache und Silbentrennung page_orientation: label: Seitenausrichtung - caption: Select the orientation of the pages in the PDF document. + caption: Wählen Sie die Ausrichtung der Seiten im PDF-Dokument. options: portrait: Hochformat landscape: Querformat @@ -3276,7 +3280,7 @@ de: permission_add_project: "Projekte erstellen" permission_add_work_package_attachments: "Anhänge hinzufügen" permission_add_work_package_attachments_explanation: "Erlaubt das Hinzufügen von Anhängen ohne die Berechtigung, das Arbeitspaket selbst zu bearbeiten" - permission_add_comments_with_restricted_visibility: "Write comments with restricted visibility" + permission_add_comments_with_restricted_visibility: "Kommentare mit eingeschränkter Sichtbarkeit schreiben" permission_archive_project: "Projekt archivieren" permission_create_user: "Benutzer erstellen" permission_manage_user: "Benutzer bearbeiten" @@ -3305,12 +3309,12 @@ de: permission_edit_work_package_notes_explanation: "Achtung: Benutzer mit dieser Berechtigung können den Kommentar eines anderen Benutzers bearbeiten." permission_edit_work_packages: "Arbeitspakete bearbeiten" permission_edit_messages: "Forenbeiträge bearbeiten" - permission_edit_own_comments_with_restricted_visibility: "Edit own comments with restricted visibility" + permission_edit_own_comments_with_restricted_visibility: "Eigene Kommentare mit eingeschränkter Sichtbarkeit bearbeiten" permission_edit_own_work_package_notes: "Eigene Kommentare bearbeiten" permission_edit_own_messages: "Eigene Forenbeiträge bearbeiten" permission_edit_own_time_entries: "Selbstgebuchte Aufwände bearbeiten" - permission_edit_others_comments_with_restricted_visibility: "Moderate comments with restricted visibility" - permission_edit_others_comments_with_restricted_visibility_explanation: "Caution: Users with this permission are able to edit other users' comments with restricted visibility." + permission_edit_others_comments_with_restricted_visibility: "Kommentare mit eingeschränkter Sichtbarkeit moderieren" + permission_edit_others_comments_with_restricted_visibility_explanation: "Achtung: Benutzer mit dieser Berechtigung können Kommentare anderer Benutzer mit eingeschränkter Sichtbarkeit bearbeiten." permission_edit_project: "Projekt bearbeiten" permission_edit_project_attributes: "Projektattribute bearbeiten" permission_edit_project_phases: "Projektphasen bearbeiten" @@ -3351,7 +3355,7 @@ de: permission_manage_own_reminders: "Eigene Erinnerungen erstellen" permission_view_project: "Projekt anzeigen" permission_view_changesets: "Revisionen des Projektarchivs in OpenProject ansehen" - permission_view_comments_with_restricted_visibility: "View comments with restricted visibility" + permission_view_comments_with_restricted_visibility: "Kommentare mit eingeschränkter Sichtbarkeit sehen" permission_view_commit_author_statistics: "Commit Autor Statistiken ansehen" permission_view_dashboards: "Dashboard anzeigen" permission_view_work_package_watchers: "Liste der Beobachter ansehen" @@ -3543,9 +3547,9 @@ de: manual: "auf Manuell setzen" automatic: "auf Automatisch setzen" search_input_placeholder: "Suchen ..." - setting_allowed_link_protocols: "Allowed link protocols" + setting_allowed_link_protocols: "Erlaubte Link-Protokolle" setting_allowed_link_protocols_text_html: >- - Allow these protocols to be rendered as links in work package descriptions, long text fields and comments. For example, %{tel_code} or %{element_code}. Enter one protocol per line.
Protocols %{http_code}, %{https_code}, and %{mailto_code} are always allowed. + Erlauben Sie es, diese Protokolle als Links in Arbeitspaket-Beschreibungen, langen Textfeldern und Kommentaren darzustellen. Zum Beispiel %{tel_code} oder %{element_code}. Geben Sie ein Protokoll pro Zeile ein.
Protokolle %{http_code}, %{https_code} und %{mailto_code} sind immer erlaubt. setting_after_first_login_redirect_url: "Weiterleitung nach erster Anmeldung" setting_after_first_login_redirect_url_text_html: > Legen Sie einen Pfad fest, an den Nutzer:innen nach der ersten Anmeldung weitergeleitet werden. Wenn leer, führt er auf die Startseite des Onboarding-Tours.
Beispiel: /meine/seite @@ -3782,7 +3786,7 @@ de: heading: "Projekt-Lebenszyklus" heading_description: "Der Projekt-Lebenszyklus definiert die Projektphasen, die für Ihre Projektplanung verwendet werden können und auf der Übersichtsseite jedes Projekts erscheinen. Diese Attribute können aktiviert oder deaktiviert werden, aber nicht auf Projektebene neu geordnet werden." label_add: "Hinzufügen" - label_add_description: "Add project phase definition" + label_add_description: "Neue Projektphase definieren" filter: label: "Projektphase suchen" section_header: "Phasen" diff --git a/config/locales/crowdin/el.yml b/config/locales/crowdin/el.yml index bb71c00fe368..6a4eca950d3a 100644 --- a/config/locales/crowdin/el.yml +++ b/config/locales/crowdin/el.yml @@ -1300,6 +1300,10 @@ el: values: inclusion: "το φίλτρο έχει μη έγκυρες τιμές." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Η σχέση αυτή δημιουργεί έναν κύκλο σχέσεων." diff --git a/config/locales/crowdin/eo.yml b/config/locales/crowdin/eo.yml index 8433cb2b4e92..40d0b5760647 100644 --- a/config/locales/crowdin/eo.yml +++ b/config/locales/crowdin/eo.yml @@ -1304,6 +1304,10 @@ eo: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/es.yml b/config/locales/crowdin/es.yml index b1a11248a4a5..a20164aeb51d 100644 --- a/config/locales/crowdin/es.yml +++ b/config/locales/crowdin/es.yml @@ -1302,6 +1302,10 @@ es: values: inclusion: "El filtro tiene valores inválidos." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "La relación crea un bucle de relaciones." diff --git a/config/locales/crowdin/et.yml b/config/locales/crowdin/et.yml index f699b9b12d78..df5d6f751eb4 100644 --- a/config/locales/crowdin/et.yml +++ b/config/locales/crowdin/et.yml @@ -1304,6 +1304,10 @@ et: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/eu.yml b/config/locales/crowdin/eu.yml index b74409762921..0e8096408ff8 100644 --- a/config/locales/crowdin/eu.yml +++ b/config/locales/crowdin/eu.yml @@ -1304,6 +1304,10 @@ eu: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/fa.yml b/config/locales/crowdin/fa.yml index 74217bc2beb5..d3138a4d2f18 100644 --- a/config/locales/crowdin/fa.yml +++ b/config/locales/crowdin/fa.yml @@ -1304,6 +1304,10 @@ fa: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "رابطه دایره روابط ایجاد می کند." diff --git a/config/locales/crowdin/fi.yml b/config/locales/crowdin/fi.yml index cacd5d322928..6ef78ccf6b38 100644 --- a/config/locales/crowdin/fi.yml +++ b/config/locales/crowdin/fi.yml @@ -1304,6 +1304,10 @@ fi: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/fil.yml b/config/locales/crowdin/fil.yml index 5007da51c7c7..4ad08b372f83 100644 --- a/config/locales/crowdin/fil.yml +++ b/config/locales/crowdin/fil.yml @@ -1304,6 +1304,10 @@ fil: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Ang relasyon ay lumilikha ng mga bilog na relasyon." diff --git a/config/locales/crowdin/fr.yml b/config/locales/crowdin/fr.yml index 86fb2db02db8..cea5b3b7edfc 100644 --- a/config/locales/crowdin/fr.yml +++ b/config/locales/crowdin/fr.yml @@ -1302,6 +1302,10 @@ fr: values: inclusion: "Les valeurs du filtre sont invalides." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "La relation créée un cercle de relations." diff --git a/config/locales/crowdin/he.yml b/config/locales/crowdin/he.yml index eabfedb50b6e..4bc92fa29ea6 100644 --- a/config/locales/crowdin/he.yml +++ b/config/locales/crowdin/he.yml @@ -1322,6 +1322,10 @@ he: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/hi.yml b/config/locales/crowdin/hi.yml index 0881476e8ae3..3d1d6639d964 100644 --- a/config/locales/crowdin/hi.yml +++ b/config/locales/crowdin/hi.yml @@ -1302,6 +1302,10 @@ hi: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/hr.yml b/config/locales/crowdin/hr.yml index 52541a652625..17a7199863a8 100644 --- a/config/locales/crowdin/hr.yml +++ b/config/locales/crowdin/hr.yml @@ -1313,6 +1313,10 @@ hr: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Odnos stvara krug odnosa." diff --git a/config/locales/crowdin/hu.yml b/config/locales/crowdin/hu.yml index 3e62fcd4e734..753e93b2f47e 100644 --- a/config/locales/crowdin/hu.yml +++ b/config/locales/crowdin/hu.yml @@ -1303,6 +1303,10 @@ hu: values: inclusion: "A szűrő érvénytelen értékeket tartalmaz" format: "%{message}\n" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "A kapcsolat körkörös függőséget hoz létre." diff --git a/config/locales/crowdin/id.yml b/config/locales/crowdin/id.yml index 1058dc2ec051..053498976f59 100644 --- a/config/locales/crowdin/id.yml +++ b/config/locales/crowdin/id.yml @@ -1291,6 +1291,10 @@ id: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Relasi menciptakan lingkaran relasi-relasi." diff --git a/config/locales/crowdin/it.yml b/config/locales/crowdin/it.yml index 8fa7dc268563..519daa8bad66 100644 --- a/config/locales/crowdin/it.yml +++ b/config/locales/crowdin/it.yml @@ -1301,6 +1301,10 @@ it: values: inclusion: "il filtro ha valori non validi." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "La relazione crea un riferimento circolare." diff --git a/config/locales/crowdin/ja.yml b/config/locales/crowdin/ja.yml index 2fbb629a0255..7bede16d88d2 100644 --- a/config/locales/crowdin/ja.yml +++ b/config/locales/crowdin/ja.yml @@ -1293,6 +1293,10 @@ ja: values: inclusion: "フィルタの値が無効です" format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "関係が、関係のループを作ります。" diff --git a/config/locales/crowdin/js-de.yml b/config/locales/crowdin/js-de.yml index f72fb0670b05..d81b5a557357 100644 --- a/config/locales/crowdin/js-de.yml +++ b/config/locales/crowdin/js-de.yml @@ -798,7 +798,7 @@ de: typeahead_placeholder: Nach möglichen Beobachtern suchen relation_labels: parent: "Übergeordnetes Arbeitspaket" - child: "Child" + child: "Kind" children: "Untergeordnete Arbeitspakete" relates: "Verwandt mit" duplicates: "Dupliziert" @@ -828,7 +828,7 @@ de: add_new_child: "Neue Unteraufgabe" create_new: "Neu erstellen" add_existing: "Bestehende hinzufügen" - add_existing_child: "Add child" + add_existing_child: "Kind hinzufügen" remove_child: "Unteraufgabe entfernen" add_new_relation: "Neue Beziehung erstellen" add_existing_relation: "Bestehende Beziehung hinzufügen" diff --git a/config/locales/crowdin/ka.yml b/config/locales/crowdin/ka.yml index c0161b103148..16de6a241c7d 100644 --- a/config/locales/crowdin/ka.yml +++ b/config/locales/crowdin/ka.yml @@ -1304,6 +1304,10 @@ ka: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/kk.yml b/config/locales/crowdin/kk.yml index ebbc5f6354f1..c3e872620861 100644 --- a/config/locales/crowdin/kk.yml +++ b/config/locales/crowdin/kk.yml @@ -1304,6 +1304,10 @@ kk: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/ko.yml b/config/locales/crowdin/ko.yml index 688e34e94164..4ff3f56424c2 100644 --- a/config/locales/crowdin/ko.yml +++ b/config/locales/crowdin/ko.yml @@ -1295,6 +1295,10 @@ ko: values: inclusion: "필터에 잘못된 값이 있습니다." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "이 관계는 관계의 원을 만듭니다." diff --git a/config/locales/crowdin/lt.yml b/config/locales/crowdin/lt.yml index 45cb7c665f4d..0e1435a54266 100644 --- a/config/locales/crowdin/lt.yml +++ b/config/locales/crowdin/lt.yml @@ -1319,6 +1319,10 @@ lt: values: inclusion: "filtras turi neteisingas reikšmes." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Ryšys sukuria ryšių ciklą." diff --git a/config/locales/crowdin/lv.yml b/config/locales/crowdin/lv.yml index b447cbf3b301..1b11c56692b6 100644 --- a/config/locales/crowdin/lv.yml +++ b/config/locales/crowdin/lv.yml @@ -1313,6 +1313,10 @@ lv: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/mn.yml b/config/locales/crowdin/mn.yml index dfc19a66f429..4561b9469467 100644 --- a/config/locales/crowdin/mn.yml +++ b/config/locales/crowdin/mn.yml @@ -1304,6 +1304,10 @@ mn: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/ms.yml b/config/locales/crowdin/ms.yml index 8a540266f86c..b98975c098ff 100644 --- a/config/locales/crowdin/ms.yml +++ b/config/locales/crowdin/ms.yml @@ -1293,6 +1293,10 @@ ms: values: inclusion: "penyaring mempunyai nilai yang tidak sah." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Hubungan ini mencipta sebuah lingkaran hubungan." diff --git a/config/locales/crowdin/ne.yml b/config/locales/crowdin/ne.yml index 15a130930bd6..75a975cd51ca 100644 --- a/config/locales/crowdin/ne.yml +++ b/config/locales/crowdin/ne.yml @@ -1304,6 +1304,10 @@ ne: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/nl.yml b/config/locales/crowdin/nl.yml index 132dd8d09a1b..07dd1f2bc5f8 100644 --- a/config/locales/crowdin/nl.yml +++ b/config/locales/crowdin/nl.yml @@ -1300,6 +1300,10 @@ nl: values: inclusion: "filter heeft ongeldige waarden." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "De relatie wordt gemaakt van een kring van relaties." diff --git a/config/locales/crowdin/no.yml b/config/locales/crowdin/no.yml index 571c887179b0..44eac806295a 100644 --- a/config/locales/crowdin/no.yml +++ b/config/locales/crowdin/no.yml @@ -1303,6 +1303,10 @@ values: inclusion: "filteret har ugyldige verdier." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Forholdet skaper en sirkel av forhold." diff --git a/config/locales/crowdin/pl.yml b/config/locales/crowdin/pl.yml index 339f8af3ed22..6e500046b4bb 100644 --- a/config/locales/crowdin/pl.yml +++ b/config/locales/crowdin/pl.yml @@ -1319,6 +1319,10 @@ pl: values: inclusion: "filtr ma nieważne wartości." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Relacja tworzy krąg relacji." diff --git a/config/locales/crowdin/pt-BR.yml b/config/locales/crowdin/pt-BR.yml index 4baff7e4a88c..31f885d8241c 100644 --- a/config/locales/crowdin/pt-BR.yml +++ b/config/locales/crowdin/pt-BR.yml @@ -1301,6 +1301,10 @@ pt-BR: values: inclusion: "o filtro tem valores inválidos." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "O relacionamento cria um círculo de relacionamentos." diff --git a/config/locales/crowdin/pt-PT.yml b/config/locales/crowdin/pt-PT.yml index ab9ef885b10c..066cc7512143 100644 --- a/config/locales/crowdin/pt-PT.yml +++ b/config/locales/crowdin/pt-PT.yml @@ -1301,6 +1301,10 @@ pt-PT: values: inclusion: "o filtro tem valores inválidos." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "A relação cria um círculo de relações." diff --git a/config/locales/crowdin/ro.yml b/config/locales/crowdin/ro.yml index b3e091fea351..631587880cff 100644 --- a/config/locales/crowdin/ro.yml +++ b/config/locales/crowdin/ro.yml @@ -1313,6 +1313,10 @@ ro: values: inclusion: "are valori invalide." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Relația creează un cerc închis." diff --git a/config/locales/crowdin/ru.yml b/config/locales/crowdin/ru.yml index 2281be3922d0..90faa306cbb7 100644 --- a/config/locales/crowdin/ru.yml +++ b/config/locales/crowdin/ru.yml @@ -1320,6 +1320,10 @@ ru: values: inclusion: "у фильтра недопустимые значения." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Зацикливание зависимостей." diff --git a/config/locales/crowdin/rw.yml b/config/locales/crowdin/rw.yml index 17aae515f1b9..5dae32fffddc 100644 --- a/config/locales/crowdin/rw.yml +++ b/config/locales/crowdin/rw.yml @@ -1304,6 +1304,10 @@ rw: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/si.yml b/config/locales/crowdin/si.yml index 323212bd246f..3aab687c1dd6 100644 --- a/config/locales/crowdin/si.yml +++ b/config/locales/crowdin/si.yml @@ -1304,6 +1304,10 @@ si: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "සම්බන්ධතාවය සබඳතා කවයක් නිර්මාණය කරයි." diff --git a/config/locales/crowdin/sk.yml b/config/locales/crowdin/sk.yml index 39c65bc0931e..a3e0585a2034 100644 --- a/config/locales/crowdin/sk.yml +++ b/config/locales/crowdin/sk.yml @@ -1322,6 +1322,10 @@ sk: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Vzťah vytvorí kruh vzťahov." diff --git a/config/locales/crowdin/sl.yml b/config/locales/crowdin/sl.yml index efb59786a4ed..2c9b4eb43afb 100644 --- a/config/locales/crowdin/sl.yml +++ b/config/locales/crowdin/sl.yml @@ -1321,6 +1321,10 @@ sl: values: inclusion: "filter ima neveljavne vrednosti." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Odnos ustvarja krog odnosov." diff --git a/config/locales/crowdin/sr.yml b/config/locales/crowdin/sr.yml index 4a4884186b1a..077ff5768275 100644 --- a/config/locales/crowdin/sr.yml +++ b/config/locales/crowdin/sr.yml @@ -1313,6 +1313,10 @@ sr: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/sv.yml b/config/locales/crowdin/sv.yml index 3b12f191ea9e..d6554eaa94e5 100644 --- a/config/locales/crowdin/sv.yml +++ b/config/locales/crowdin/sv.yml @@ -1304,6 +1304,10 @@ sv: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Förhållandet skapar en cirkel av relationer." diff --git a/config/locales/crowdin/th.yml b/config/locales/crowdin/th.yml index 27ba1c2f2ea7..5e1820f28544 100644 --- a/config/locales/crowdin/th.yml +++ b/config/locales/crowdin/th.yml @@ -1295,6 +1295,10 @@ th: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/tr.yml b/config/locales/crowdin/tr.yml index 6124297eb542..9a7eea959ea2 100644 --- a/config/locales/crowdin/tr.yml +++ b/config/locales/crowdin/tr.yml @@ -1303,6 +1303,10 @@ tr: values: inclusion: "filtrede geçersiz değerler var." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "İlişki, bir ilişki çemberi oluşturur." diff --git a/config/locales/crowdin/uk.yml b/config/locales/crowdin/uk.yml index e863e4d1cc70..0d2a22423997 100644 --- a/config/locales/crowdin/uk.yml +++ b/config/locales/crowdin/uk.yml @@ -1316,6 +1316,10 @@ uk: values: inclusion: "фільтр має неприпустимі значення." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Відносини створюють коло відносин." diff --git a/config/locales/crowdin/uz.yml b/config/locales/crowdin/uz.yml index 548f16073043..a19e39e2d8fa 100644 --- a/config/locales/crowdin/uz.yml +++ b/config/locales/crowdin/uz.yml @@ -1304,6 +1304,10 @@ uz: values: inclusion: "filter has invalid values." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "The relationship creates a circle of relationships." diff --git a/config/locales/crowdin/vi.yml b/config/locales/crowdin/vi.yml index aabaebee7128..4d4e4048ca51 100644 --- a/config/locales/crowdin/vi.yml +++ b/config/locales/crowdin/vi.yml @@ -1295,6 +1295,10 @@ vi: values: inclusion: "bộ lọc có các giá trị không hợp lệ." format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "Mối quan hệ tạo ra một vòng tròn các mối quan hệ." diff --git a/config/locales/crowdin/zh-CN.yml b/config/locales/crowdin/zh-CN.yml index 29e1b2af78e7..639d4911cdbf 100644 --- a/config/locales/crowdin/zh-CN.yml +++ b/config/locales/crowdin/zh-CN.yml @@ -1291,6 +1291,10 @@ zh-CN: values: inclusion: "过滤器有无效值。" format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "关系会创建关系的循环。" diff --git a/config/locales/crowdin/zh-TW.yml b/config/locales/crowdin/zh-TW.yml index 56bc44992cee..caa3da2f9646 100644 --- a/config/locales/crowdin/zh-TW.yml +++ b/config/locales/crowdin/zh-TW.yml @@ -1293,6 +1293,10 @@ zh-TW: values: inclusion: "過濾條件錯誤" format: "%{message}" + queries/principals/filters/restricted_mentionable_on_work_package_filter: + attributes: + values: + single_value_requirement: "must be a single work package" relation: typed_dag: circular_dependency: "無限迴圈的關聯。" diff --git a/frontend/src/stimulus/controllers/dynamic/work-packages/date-picker/preview.controller.ts b/frontend/src/stimulus/controllers/dynamic/work-packages/date-picker/preview.controller.ts index b0d4c64ce71a..28467267a803 100644 --- a/frontend/src/stimulus/controllers/dynamic/work-packages/date-picker/preview.controller.ts +++ b/frontend/src/stimulus/controllers/dynamic/work-packages/date-picker/preview.controller.ts @@ -124,21 +124,21 @@ export default class PreviewController extends DialogPreviewController { } } - private get dueDateField():HTMLInputElement { - return document.getElementsByName('work_package[due_date]')[0] as HTMLInputElement; + private get dueDateField():HTMLInputElement|undefined { + return document.getElementsByName('work_package[due_date]')[0] as HTMLInputElement|undefined; } - private get startDateField():HTMLInputElement { + private get startDateField():HTMLInputElement|undefined { return document.getElementsByName('work_package[start_date]')[0] as HTMLInputElement; } - private get durationField():HTMLInputElement { + private get durationField():HTMLInputElement|undefined { return document.getElementsByName('work_package[duration]')[0] as HTMLInputElement; } handleFlatpickrDatesChanged(event:CustomEvent<{ dates:Date[] }>) { const dates = event.detail.dates; - let fieldUpdatedWithUserValue:HTMLInputElement|null = null; + let fieldUpdatedWithUserValue:HTMLInputElement|null|undefined = null; if (this.isMilestone) { this.currentStartDate = dates[0]; @@ -162,7 +162,7 @@ export default class PreviewController extends DialogPreviewController { } } - dateFieldToChange():HTMLInputElement { + dateFieldToChange():HTMLInputElement|undefined { if (this.isMilestone) { return this.startDateField; } @@ -172,7 +172,7 @@ export default class PreviewController extends DialogPreviewController { this.highlightedField = currentlyHighledField as HTMLInputElement; } - let dateFieldToChange:HTMLInputElement; + let dateFieldToChange:HTMLInputElement|undefined; if (this.highlightedField === this.dueDateField || (this.highlightedField === this.durationField && !this.scheduleManuallyValue) || (this.highlightedField === this.durationField @@ -185,7 +185,11 @@ export default class PreviewController extends DialogPreviewController { return dateFieldToChange; } - swapDateFieldsIfNeeded(selectedDate:Date, dateFieldToChange:HTMLInputElement) { + swapDateFieldsIfNeeded(selectedDate:Date, dateFieldToChange:HTMLInputElement|undefined) { + if (dateFieldToChange === undefined) { + return; + } + // It needs to be swapped if the other field is set, the field to change is // unset, and setting it would make start and end be in the wrong order. if ( @@ -376,7 +380,11 @@ export default class PreviewController extends DialogPreviewController { } } - highlightField(newHighlightedField:HTMLInputElement) { + highlightField(newHighlightedField:HTMLInputElement|undefined) { + if (newHighlightedField === undefined) { + return; + } + this.highlightedField = newHighlightedField; Array.from(document.getElementsByClassName('op-datepicker-modal--date-field_current')).forEach( (el) => { @@ -555,10 +563,12 @@ export default class PreviewController extends DialogPreviewController { * See: https://stackoverflow.com/a/64886383/8900797 */ private prepareInputFieldsForSafari() { - [this.startDateField, this.dueDateField].forEach((field:HTMLInputElement) => { - const value = field.value; - field.defaultValue = ''; - field.value = value; - }); + [this.startDateField, this.dueDateField] + .filter((field):field is NonNullable => field != null) + .forEach((field) => { + const value = field.value; + field.defaultValue = ''; + field.value = value; + }); } } diff --git a/frontend/src/stimulus/controllers/dynamic/work-packages/dialog/preview.controller.ts b/frontend/src/stimulus/controllers/dynamic/work-packages/dialog/preview.controller.ts index 605587649667..23e44c6e80dc 100644 --- a/frontend/src/stimulus/controllers/dynamic/work-packages/dialog/preview.controller.ts +++ b/frontend/src/stimulus/controllers/dynamic/work-packages/dialog/preview.controller.ts @@ -75,8 +75,12 @@ export abstract class DialogPreviewController extends Controller { // assistive technologies. This is why morph cannot be used here. this.frameMorphRenderer = (event:CustomEvent) => { event.detail.render = (currentElement:HTMLElement, newElement:HTMLElement) => { + let ignoreActiveValue = false; + if (document.activeElement?.tagName === 'INPUT') { + ignoreActiveValue = true; + } Idiomorph.morph(currentElement, newElement, { - ignoreActiveValue: true, + ignoreActiveValue, callbacks: { beforeNodeMorphed: (oldNode:Element) => { // In case the element is an OpenProject custom dom element, morphing is prevented.