X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef880621a40a6065699ee69e3ba69c7a64a2afde..ea3760f94d9d74d3aaa8492182b9e1a15ec1effa:/app/views/site/welcome.html.erb?ds=sidebyside diff --git a/app/views/site/welcome.html.erb b/app/views/site/welcome.html.erb index 4377da670..33c9a7e24 100644 --- a/app/views/site/welcome.html.erb +++ b/app/views/site/welcome.html.erb @@ -3,98 +3,91 @@ <% end %> <% content_for :heading do %> -

<%= t "welcome_page.title" %>

-

<%= t "welcome_page.subtitle" %>

+

<%= t ".title" %>

<% end %> -
-

<%= t "welcome_page.introduction_html" %>

-
+

<%= t ".introduction" %>

-
-

<%= t "welcome_page.one_map_many_uses.title" %>

-
-
- <%= t "layouts.project_name.title" %> - <% t("welcome_page.one_map_many_uses.names").sample(6).each_with_index do |name, i| %> - <%= name %> - <% end %> -
-
-

<%= t "welcome_page.one_map_many_uses.paragraph_1_html" %>

-
+

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

-
-

<%= t "welcome_page.whats_on_the_map.title" %>

-
-
- -
-

<%= 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.title" %>

-

<%= t "welcome_page.basic_terms.paragraph_1_html" %>

-
-

- - <%= 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.changeset_html" %> -

-
-
+

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

-
-

<%= t "welcome_page.questions.title" %>

-
- -
-

<%= t "welcome_page.questions.paragraph_1_html" %>

+

<%= t ".basic_terms.paragraph_1" %>

+ +
    +
  • + + + + + <%= t ".basic_terms.an_editor_html", :editor => tag.strong(t(".basic_terms.editor")) %> +
  • +
  • + + + + + <%= t ".basic_terms.a_node_html", :node => tag.strong(t(".basic_terms.node")) %> +
  • +
  • + + + + + + + + <%= t ".basic_terms.a_way_html", :way => tag.strong(t(".basic_terms.way")) %> +
  • +
  • + + + + + <%= t ".basic_terms.a_tag_html", :tag => tag.strong(t(".basic_terms.tag")) %> +
  • +
+ +

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

+
+ + + + +

<%= 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.contributing.title" %>

- <% if @user %> -

- <%= t "welcome_page.contributing.paragraph_1_html" %> - <%= t "welcome_page.contributing.paragraph_located" %> - <%= t "welcome_page.contributing.paragraph_geocoded_html" %> - <%= t "welcome_page.contributing.paragraph_geolocated" %> -

- - <% else %> -

<%= t "welcome_page.contributing.paragraph_1_no_user_html" %>

- - <% end %> +<%= render "any_questions" %> + +
+<% if params[:oauth_return_url] %> + <%= t ".continue_authorization" %> +<% else %> + <%= t ".start_mapping" %> +<% end %>
-
-
-

<%= t "welcome_page.add_a_note.title" %>

-

<%= t "welcome_page.add_a_note.paragraph_1_html" %>

-

<%= t "welcome_page.add_a_note.paragraph_2_html" %>

-
+
+

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

+

<%= 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") %>