From: Andy Allan Date: Wed, 25 Apr 2018 08:46:05 +0000 (+0800) Subject: Lazy translation lookup and key renames for fixthemap page. X-Git-Tag: live~3591^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/7d0a94552c78652c1c8a858b15998b6254184ed1 Lazy translation lookup and key renames for fixthemap page. --- diff --git a/app/views/site/fixthemap.html.erb b/app/views/site/fixthemap.html.erb index f47068252..571a9b25f 100644 --- a/app/views/site/fixthemap.html.erb +++ b/app/views/site/fixthemap.html.erb @@ -3,19 +3,19 @@ <% end %> <% content_for :heading do %> -

<%= t "fixthemap.title" %>

+

<%= t ".title" %>

<% end %>

<%= t "layouts.intro_header" %>

<%= t "layouts.intro_text" %>

-

<%= t "fixthemap.how_to_help.title" %>

+

<%= t ".how_to_help.title" %>

-

<%= t "fixthemap.how_to_help.join_the_community.title" %>

- <%= t "fixthemap.how_to_help.join_the_community.explanation_html" %> +

<%= t ".how_to_help.join_the_community.title" %>

+ <%= t ".how_to_help.join_the_community.explanation_html" %> @@ -23,12 +23,12 @@

<%= t "site.welcome.add_a_note.title" %>

<%= t "site.welcome.add_a_note.paragraph_1_html" %>

-

<%= t "fixthemap.how_to_help.add_a_note.instructions_html", :map_url => root_path %>

+

<%= t ".how_to_help.add_a_note.instructions_html", :map_url => root_path %>

-

<%= t "fixthemap.other_concerns.title" %>

-

<%= t "fixthemap.other_concerns.explanation_html" %>

+

<%= t ".other_concerns.title" %>

+

<%= t ".other_concerns.explanation_html" %>

<%= t "site.welcome.questions.title" %>

diff --git a/config/locales/en.yml b/config/locales/en.yml index e61af8d3b..a56aa0a57 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -968,26 +968,6 @@ en: text: Make a Donation learn_more: "Learn More" more: More - fixthemap: - title: Report a problem / Fix the map - how_to_help: - title: How to Help - join_the_community: - title: Join the community - explanation_html: | - If you have noticed a problem with our map data, for example a road is missing or your address, the best way to - proceed is to join the OpenStreetMap community and add or repair the data yourself. - add_a_note: - instructions_html: | - Just click or the same icon on the map display. - This will add a marker to the map, which you can move - by dragging. Add your message, then click save, and other mappers will investigate. - other_concerns: - title: Other concerns - explanation_html: | - If you have concerns about how our data is being used or about the contents please consult our - copyright page for more legal information, or contact the appropriate - OSMF working group. help_page: title: Getting Help introduction: | @@ -1416,6 +1396,26 @@ en: output: "Output" paste_html: "Paste HTML to embed in website" export_button: "Export" + fixthemap: + title: Report a problem / Fix the map + how_to_help: + title: How to Help + join_the_community: + title: Join the community + explanation_html: | + If you have noticed a problem with our map data, for example a road is missing or your address, the best way to + proceed is to join the OpenStreetMap community and add or repair the data yourself. + add_a_note: + instructions_html: | + Just click or the same icon on the map display. + This will add a marker to the map, which you can move + by dragging. Add your message, then click save, and other mappers will investigate. + other_concerns: + title: Other concerns + explanation_html: | + If you have concerns about how our data is being used or about the contents please consult our + copyright page for more legal information, or contact the appropriate + OSMF working group. sidebar: search_results: Search Results close: Close