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
[#34316] fix incomprehensible statement in User Settings
Tobias Dillmann51388aa26b44
diff --git a/app/views/users/_consent.html.erb b/app/views/users/_consent.html.erbindex 38901662394..d7ac96b638b 100644--- a/app/views/users/_consent.html.erb+++ b/app/views/users/_consent.html.erb@@ -1,10 +1,12 @@<section class="form--section"><h3 class="form--section-title"><%=t('consent.title')%></h3>+ <% consent_link = admin_settings_users_path(anchor: 'consent_settings') %>+<%= render ::Components::OnOffStatusComponent.new({is_on: @user.consented_at.present?,on_text: format_time(@user.consented_at),- on_description: t('consent.user_has_consented'),+ on_description: link_translate('consent.user_has_consented', links: { consent_settings: consent_link }),off_text: t(:label_never),- off_description: t('consent.not_yet_consented')+ off_description: link_translate('consent.not_yet_consented', links: { consent_settings: consent_link })}) %></section>diff --git a/config/locales/en.yml b/config/locales/en.ymlindex 0b0ee449c0a..20b8df165ac 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -1503,8 +1503,8 @@ en:failure_message: Consent failed, cannot proceed.title: User Consentdecline_warning_message: You have declined to consent and have been logged out.- user_has_consented: User has consented to your configured statement at the given time.- not_yet_consented: User has not consented yet, will be requested upon next login.+ user_has_consented: The user gave their consent to your [configured consent information text](consent_settings).+ not_yet_consented: The user has not yet given their consent to your [configured consent information text](consent_settings). They will be reminded the next time they log in.contact_mail_instructions: Define the mail address that users can reach a data controller to perform data change or removal requests.contact_your_administrator: Please contact your administrator if you want to have your account deleted.contact_this_mail_address: Please contact %{mail_address} if you want to have your account deleted.