Add explanation link to pd declaration page

This commit is contained in:
Anton Khorev 2025-01-17 18:02:56 +03:00
parent 4469c9f5e5
commit f5f7985fdb
2 changed files with 9 additions and 5 deletions

View file

@ -3,9 +3,11 @@
<% end %> <% end %>
<%= bootstrap_form_tag do |f| %> <%= bootstrap_form_tag do |f| %>
<%= f.form_group :help => link_to(t(".consider_pd_why"), t(".consider_pd_why_url"), :target => :new) do %>
<%= f.check_box :consider_pd, <%= f.check_box :consider_pd,
:label => t(".consider_pd"), :label => t(".consider_pd"),
:autocomplete => :off, :autocomplete => :off,
:checked => current_user.consider_pd, :checked => current_user.consider_pd,
:disabled => current_user.consider_pd %> :disabled => current_user.consider_pd %>
<% end %>
<% end %> <% end %>

View file

@ -328,6 +328,8 @@ en:
show: show:
title: Consider my contributions to be in the Public Domain title: Consider my contributions to be in the Public Domain
consider_pd: "I consider my contributions to be in the Public Domain" consider_pd: "I consider my contributions to be in the Public Domain"
consider_pd_why: "Why would I want my contributions to be Public Domain?"
consider_pd_why_url: https://osmfoundation.org/wiki/Licence_and_Legal_FAQ/Why_would_I_want_my_contributions_to_be_public_domain
browse: browse:
deleted_ago_by_html: "Deleted %{time_ago} by %{user}" deleted_ago_by_html: "Deleted %{time_ago} by %{user}"
edited_ago_by_html: "Edited %{time_ago} by %{user}" edited_ago_by_html: "Edited %{time_ago} by %{user}"