X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/037585db3933a2954b43bd4b30ea5e30ade00be2..ca719af262380a906103e7aec9befb4c903693a1:/app/views/site/welcome.html.erb diff --git a/app/views/site/welcome.html.erb b/app/views/site/welcome.html.erb index 92220039a..33c9a7e24 100644 --- a/app/views/site/welcome.html.erb +++ b/app/views/site/welcome.html.erb @@ -3,71 +3,91 @@ <% end %> <% content_for :heading do %> -
<%= t "welcome_page.introduction_html" %>
+<%= t ".introduction" %>
-<%= t "welcome_page.whats_on_the_map.on_html" %>
+<%= t ".whats_on_the_map.on_the_map_html", :real_and_current => tag.em(t(".whats_on_the_map.real_and_current")) %>
<%= t "welcome_page.whats_on_the_map.off_html" %>
+<%= t ".whats_on_the_map.off_the_map_html", :doesnt => tag.em(t(".whats_on_the_map.doesnt")) %>
<%= t "welcome_page.basic_terms.paragraph_1_html" %>
+<%= t ".basic_terms.paragraph_1" %>
-<%= t "welcome_page.basic_terms.editor_html" %>
-<%= t "welcome_page.basic_terms.node_html" %>
-<%= t "welcome_page.basic_terms.way_html" %>
-<%= t "welcome_page.basic_terms.tag_html" %>
-<%= t "welcome_page.rules.paragraph_1_html" %>
+<%= t ".rules.para_1_html", :imports_link => link_to(t(".rules.imports"), t(".rules.imports_url")), + :automated_edits_link => link_to(t(".rules.automated_edits"), t(".rules.automated_edits_url")) %>
<%= t "welcome_page.questions.paragraph_1_html", :help_url => help_path %>
-<%= t "welcome_page.add_a_note.paragraph_1_html" %>
-<%= t "welcome_page.add_a_note.paragraph_2_html", :map_url => root_path %>
-<%= t ".add_a_note.para_1" %>
+<%= t ".add_a_note.para_2_html", :map_link => link_to(t(".add_a_note.the_map"), root_path), + :note_icon => tag.span(:class => "icon note bg-dark rounded-1") %>