Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix erroneous calls to #title

Alexander Brandon Coles3f4f93ade8dd
diff --git a/app/components/enterprise_trials/dialog_component.html.erb b/app/components/enterprise_trials/dialog_component.html.erb
index 1ec312bc262..a0e16f15a09 100644
--- a/app/components/enterprise_trials/dialog_component.html.erb
+++ b/app/components/enterprise_trials/dialog_component.html.erb
@@ -2,7 +2,7 @@
render(
Primer::Alpha::Dialog.new(
id: "enterprise-trial-dialog",
- title:,
+ title: t(".title"),
size: :medium_portrait,
data: { "keep-open-on-submit": true }
)
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 33c30e6339f..8fae569f031 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -2401,6 +2401,10 @@ en:
enumeration_caption_order_changed: "Order successfully changed."
enumeration_could_not_be_moved: "Enumeration could not be moved."
+ enterprise_trials:
+ dialog_component:
+ title: Enterprise Trial
+
error_auth_source_sso_failed: "Single Sign-On (SSO) for user '%{value}' failed"
error_can_not_archive_project: "This project cannot be archived: %{errors}"
error_can_not_delete_entry: "Unable to delete entry"
diff --git a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
index 39641ca2a20..c88330ad4a1 100644
--- a/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
+++ b/modules/meeting/app/components/meeting_agenda_items/item_component/show_component.html.erb
@@ -49,7 +49,7 @@
grid.with_area(:presenter, tag: :div, classes: "ellipsis") do
flex_layout(align_items: :flex_end) do |flex|
flex.with_column(classes: "ellipsis custom-presenter-flex") do
- render(Users::AvatarComponent.new(user: @meeting_agenda_item.presenter, size: "mini", title:, classes: "op-principal_flex"))
+ render(Users::AvatarComponent.new(user: @meeting_agenda_item.presenter, size: "mini", classes: "op-principal_flex"))
end
end
end
diff --git a/modules/meeting/app/components/recurring_meetings/row_component.rb b/modules/meeting/app/components/recurring_meetings/row_component.rb
index f60ff76d765..740a69f7ae4 100644
--- a/modules/meeting/app/components/recurring_meetings/row_component.rb
+++ b/modules/meeting/app/components/recurring_meetings/row_component.rb
@@ -95,7 +95,7 @@ module RecurringMeetings
def status
scheme = status_scheme(state)
- render(Primer::Beta::Label.new(title:, scheme:)) do
+ render(Primer::Beta::Label.new(scheme:)) do
render(Primer::Beta::Text.new) { t("label_meeting_state_#{state}") }
end
end