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

use i18n for delete button

Markus Kahl955af2f83de8
diff --git a/modules/github_integration/app/components/deploy_targets/row_component.rb b/modules/github_integration/app/components/deploy_targets/row_component.rb
index 7d06e9dc506..7c51367f431 100644
--- a/modules/github_integration/app/components/deploy_targets/row_component.rb
+++ b/modules/github_integration/app/components/deploy_targets/row_component.rb
@@ -45,7 +45,7 @@ module DeployTargets
end
def delete_link
- link_to "Delete",
+ link_to I18n.t(:button_delete),
deploy_target_path(deploy_target, back_url: request.fullpath),
method: :delete,
class: "icon icon-delete"