From da0e2e4306274363ba1079dfd3f28648c068add6 Mon Sep 17 00:00:00 2001 From: Pikne Date: Thu, 3 Jul 2025 17:49:23 +0300 Subject: [PATCH] Fix message reuse for Terms of Use link in signup form --- app/views/users/new.html.erb | 2 +- config/locales/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/users/new.html.erb b/app/views/users/new.html.erb index ae4f6906c..a53fdbc83 100644 --- a/app/views/users/new.html.erb +++ b/app/views/users/new.html.erb @@ -68,7 +68,7 @@ <% end %>

<%= t(".by_signing_up.html", - :tou_link => link_to(t("layouts.tou"), + :tou_link => link_to(t(".by_signing_up.tou"), "https://wiki.osmfoundation.org/wiki/Terms_of_Use", :target => :new), :privacy_policy_link => link_to(t(".by_signing_up.privacy_policy"), diff --git a/config/locales/en.yml b/config/locales/en.yml index 854dd5fc9..6c507f317 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2997,6 +2997,7 @@ en: display name description: "Your publicly displayed username. You can change this later in the preferences." by_signing_up: html: "By signing up, you agree to our %{tou_link}, %{privacy_policy_link} and %{contributor_terms_link}." + tou: "Terms of Use" privacy_policy: privacy policy privacy_policy_url: https://osmfoundation.org/wiki/Privacy_Policy privacy_policy_title: OSMF privacy policy including section on email addresses -- 2.39.5