From 7d0a94552c78652c1c8a858b15998b6254184ed1 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 25 Apr 2018 16:46:05 +0800 Subject: [PATCH] Lazy translation lookup and key renames for fixthemap page. --- app/views/site/fixthemap.html.erb | 14 +++++------ config/locales/en.yml | 40 +++++++++++++++---------------- 2 files changed, 27 insertions(+), 27 deletions(-) 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 -- 2.43.2