Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/pull/3962'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Mar 8, 2023
2 parents 63303c2 + 59ed461 commit 9241d98
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 21 deletions.
6 changes: 4 additions & 2 deletions app/views/confirmations/confirm.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
</span>
</h1>

<p class='text-muted'><%= t ".reconfirm_html",
:reconfirm => url_for(:action => "confirm_resend") %></p>
<p class='text-muted'>
<%= t ".resend_html",
:reconfirm_link => link_to(t(".click_here"), url_for(:action => "confirm_resend")) %>
</p>
<% end %>
4 changes: 3 additions & 1 deletion app/views/shared/_markdown_help.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<h5><%= t ".title_html" %></h5>
<h5>
<%= t ".heading_html", :kramdown_link => link_to(t(".kramdown"), t(".kramdown_url")) %>
</h5>
<dl>
<dt><%= t ".headings" %></dt>
<dd># <%= t ".heading" %><br>
Expand Down
4 changes: 2 additions & 2 deletions app/views/site/_potlatch.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="container">
<p><%= t ".removed" %></p>
<p><%= t ".desktop_html" %></p>
<p><%= t ".id_html", :settings_url => preferences_path %></p>
<p><%= t ".desktop_application_html", :download_link => link_to(t(".download"), t(".download_url")) %></p>
<p><%= t ".id_editor_html", :change_preferences_link => link_to(t(".change_preferences"), preferences_path) %></p>
</div>
3 changes: 2 additions & 1 deletion app/views/site/communities.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@
</ul>

<h2><%= t ".other_groups.title" %></h2>
<p><%= t ".other_groups.about_html" %></p>
<p><%= t ".other_groups.other_groups_html", :communities_wiki_link => link_to(t(".other_groups.communities_wiki"),
t(".other_groups.communities_wiki_url")) %>
5 changes: 4 additions & 1 deletion app/views/site/fixthemap.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
</div>

<h2><%= t ".other_concerns.title" %></h2>
<p><%= t ".other_concerns.explanation_html" %></p>
<p>
<%= t ".other_concerns.concerns_html", :copyright_link => link_to(t(".other_concerns.copyright"), copyright_path),
:working_group_link => link_to(t(".other_concerns.working_group"), t(".other_concerns.working_group_url")) %>
</p>

<%= render "any_questions" %>
8 changes: 5 additions & 3 deletions app/views/users/terms.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@

<div>
<p id="contributorGuidance" class="text-muted">
<%= t ".guidance_html",
:summary => "https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary",
:translations => "https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations" %>
<%= t ".guidance_info_html",
:readable_summary_link => link_to(t(".readable_summary"),
"https://www.osmfoundation.org/wiki/License/Contributor_Terms_Summary"),
:informal_translations_link => link_to(t(".informal_translations"),
"https://www.osmfoundation.org/wiki/License/Contributor_Terms/Informal_Translations") %>
</p>
</div>
<div class="mb-3">
Expand Down
33 changes: 22 additions & 11 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1627,7 +1627,8 @@ en:
success: "Confirmed your account, thanks for signing up!"
already active: "This account has already been confirmed."
unknown token: "That confirmation code has expired or does not exist."
reconfirm_html: "If you need us to resend the confirmation email, <a href=\"%{reconfirm}\">click here</a>."
resend_html: "If you need us to resend the confirmation email, %{reconfirm_link}."
click_here: click here
confirm_resend:
failure: "User %{name} not found."
confirm_email:
Expand Down Expand Up @@ -1803,7 +1804,9 @@ en:
support: support
shared:
markdown_help:
title_html: Parsed with <a href="https://kramdown.gettalong.org/quickref.html">kramdown</a>
heading_html: Parsed with %{kramdown_link}
kramdown_url: https://kramdown.gettalong.org/quickref.html
kramdown: kramdown
headings: Headings
heading: Heading
subheading: Subheading
Expand Down Expand Up @@ -2084,10 +2087,12 @@ en:
by dragging. Add your message, then click save, and other mappers will investigate.
other_concerns:
title: Other concerns
explanation_html: |
concerns_html: |
If you have concerns about how our data is being used or about the contents please consult our
<a href='/copyright'>copyright page</a> for more legal information, or contact the appropriate
<a href='https://wiki.osmfoundation.org/wiki/Working_Groups'>OSMF working group</a>.
%{copyright_link} for more legal information, or contact the appropriate %{working_group_link}.
copyright: copyright page
working_group: OSMF working group
working_group_url: https://wiki.osmfoundation.org/wiki/Working_Groups
help:
title: Getting Help
introduction: |
Expand Down Expand Up @@ -2135,8 +2140,11 @@ en:
description: Browse the wiki for in-depth OpenStreetMap documentation.
potlatch:
removed: Your default OpenStreetMap editor is set as Potlatch. Because Adobe Flash Player has been withdrawn, Potlatch is no longer available to use in a web browser.
desktop_html: You can still use Potlatch by <a href="https://www.systemed.net/potlatch/">downloading the desktop application for Mac and Windows</a>.
id_html: Alternatively, you can set your default editor to iD, which runs in your web browser as Potlatch formerly did. <a href="%{settings_url}">Change your preferences here</a>.
desktop_application_html: You can still use Potlatch by %{download_link}.
download: downloading the desktop application for Mac and Windows
download_url: https://www.systemed.net/potlatch/
id_editor_html: Alternatively, you can set your default editor to iD, which runs in your web browser as Potlatch formerly did. %{change_preferences_link}.
change_preferences: Change your preferences here
any_questions:
title: Any questions?
paragraph_1_html: |
Expand Down Expand Up @@ -2301,11 +2309,12 @@ en:
The following communities are formally established as Local Chapters:
other_groups:
title: Other Groups
about_html: |
other_groups_html: |
There is no need to formally establish a group to the same extent as the Local Chapters.
Indeed many groups exist very sucessfully as an informal gathering of people or as a
community group. Anyone can set up or join these. Read more on the
<a href="https://wiki.openstreetmap.org/wiki/User_group">Communities wiki page</a>.
community group. Anyone can set up or join these. Read more on the %{communities_wiki_link}.
communities_wiki: Communities wiki page
communities_wiki_url: https://wiki.openstreetmap.org/wiki/User_group
traces:
visibility:
private: "Private (only shared as anonymous, unordered points)"
Expand Down Expand Up @@ -2570,7 +2579,9 @@ en:
consider_pd: "In addition to the above, I consider my contributions to be in the Public Domain"
consider_pd_why: "what's this?"
consider_pd_why_url: https://wiki.osmfoundation.org/wiki/Licence_and_Legal_FAQ/Why_would_I_want_my_contributions_to_be_public_domain
guidance_html: 'Information to help understand these terms: a <a href="%{summary}">human readable summary</a> and some <a href="%{translations}">informal translations</a>'
guidance_info_html: "Information to help understand these terms: a %{readable_summary_link} and some %{informal_translations_link}"
readable_summary: human readable summary
informal_translations: informal translations
continue: Continue
declined: "https://wiki.openstreetmap.org/wiki/Contributor_Terms_Declined"
decline: "Decline"
Expand Down

0 comments on commit 9241d98

Please sign in to comment.