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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
tests[Op#56922]: normalize i18n
Kabiru Mwenja13b919cde36f
diff --git a/modules/storages/app/components/storages/admin/storages/oauth_access_grant_nudge_modal_component.html.erb b/modules/storages/app/components/storages/admin/storages/oauth_access_grant_nudge_modal_component.html.erbindex 46bb927797a..98dae582f9b 100644--- a/modules/storages/app/components/storages/admin/storages/oauth_access_grant_nudge_modal_component.html.erb+++ b/modules/storages/app/components/storages/admin/storages/oauth_access_grant_nudge_modal_component.html.erb@@ -81,7 +81,7 @@scheme: :primary,size: :medium,type: :submit,- aria: { label: confirm_button_aria_label },+ aria: { label: login_button_aria_label },data: {'storages--oauth-access-grant-nudge-modal-target': 'requestAccessButton',action: 'storages--oauth-access-grant-nudge-modal#requestAccess'@@ -89,7 +89,7 @@)) do |button|button.with_trailing_action_icon(icon: :"link-external")- confirm_button_text+ login_button_labelendend)diff --git a/modules/storages/app/components/storages/admin/storages/oauth_access_grant_nudge_modal_component.rb b/modules/storages/app/components/storages/admin/storages/oauth_access_grant_nudge_modal_component.rbindex 4cc227fd8c2..25c7bc1a034 100644--- a/modules/storages/app/components/storages/admin/storages/oauth_access_grant_nudge_modal_component.rb+++ b/modules/storages/app/components/storages/admin/storages/oauth_access_grant_nudge_modal_component.rb@@ -52,15 +52,15 @@ module Storagesattr_reader :storage- def confirm_button_text = I18n.t("storages.oauth_grant_nudge_modal.confirm_button_label", provider_type:)+ def login_button_label = I18n.t("storages.oauth_grant_nudge_modal.login_button_label", provider_type:)def heading_text = I18n.t("storages.oauth_grant_nudge_modal.heading", provider_type:)def waiting_title = I18n.t("storages.oauth_grant_nudge_modal.requesting_access_to", storage: storage.name)def cancel_button_text = I18n.t(:button_close)- def body_text = I18n.t("storages.oauth_grant_nudge_modal.body", provider_type:)+ def body_text = I18n.t("storages.oauth_grant_nudge_modal.description", provider_type:)def provider_type = I18n.t("storages.provider_types.#{storage.short_provider_type}.name")- def confirm_button_aria_label- I18n.t("storages.oauth_grant_nudge_modal.confirm_button_aria_label", storage: storage.name)+ def login_button_aria_label+ I18n.t("storages.oauth_grant_nudge_modal.login_button_aria_label", storage: storage.name)enddef confirm_button_urldiff --git a/modules/storages/config/locales/en.yml b/modules/storages/config/locales/en.ymlindex d69e5972520..187cc8148bd 100644--- a/modules/storages/config/locales/en.yml+++ b/modules/storages/config/locales/en.yml@@ -320,14 +320,14 @@ en:of each desired project to use it.oauth_access_granted_modal:access_granted: Access granted- access_granted_screen_reader: "Access granted. You are now ready to add projects to %{storage}"- storage_ready: "You are now ready add projects to %{storage}"+ access_granted_screen_reader: Access granted. You are now ready to add projects to %{storage}+ storage_ready: You are now ready to add projects to %{storage}oauth_grant_nudge_modal:- body: In order to add projects to this storage you need to be logged into %{provider_type}. Please, log in and try again.cancel_button_label: I will do it later- confirm_button_aria_label: "Login to %{storage}"- confirm_button_label: "%{provider_type} log in"- heading: "Login to %{provider_type} required"+ description: In order to add projects to this storage you need to be logged into %{provider_type}. Please, log in and try again.+ heading: Login to %{provider_type} required+ login_button_aria_label: Login to %{storage}+ login_button_label: "%{provider_type} log in"requesting_access_to: Requesting access to %{storage}open_project_storage_modal:success: