From: Anton Khorev Date: Thu, 5 Sep 2024 21:49:09 +0000 (+0300) Subject: Remove unnecessary site.about locale scope from About page X-Git-Tag: live~164^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/6a77a78d197e4ca5b71f90200155886ebbcec14e Remove unnecessary site.about locale scope from About page --- diff --git a/app/views/site/about.html.erb b/app/views/site/about.html.erb index 6cc32edd0..56e82f8f8 100644 --- a/app/views/site/about.html.erb +++ b/app/views/site/about.html.erb @@ -27,9 +27,9 @@ -

<%= t "site.about.local_knowledge_title" %>

+

<%= t ".local_knowledge_title" %>

-

<%= t "site.about.local_knowledge_html" %>

+

<%= t ".local_knowledge_html" %>

@@ -38,17 +38,17 @@ -

<%= t "site.about.community_driven_title" %>

+

<%= t ".community_driven_title" %>

- <%= t "site.about.community_driven_1_html", :osm_blog_link => link_to(t("site.about.community_driven_osm_blog"), - t("site.about.community_driven_osm_blog_url")), - :user_diaries_link => link_to(t("site.about.community_driven_user_diaries"), - diary_entries_path), - :community_blogs_link => link_to(t("site.about.community_driven_community_blogs"), - t("site.about.community_driven_community_blogs_url")), - :osm_foundation_link => link_to(t("site.about.community_driven_osm_foundation"), - t("site.about.community_driven_osm_foundation_url")) %> + <%= t ".community_driven_1_html", :osm_blog_link => link_to(t(".community_driven_osm_blog"), + t(".community_driven_osm_blog_url")), + :user_diaries_link => link_to(t(".community_driven_user_diaries"), + diary_entries_path), + :community_blogs_link => link_to(t(".community_driven_community_blogs"), + t(".community_driven_community_blogs_url")), + :osm_foundation_link => link_to(t(".community_driven_osm_foundation"), + t(".community_driven_osm_foundation_url")) %>

@@ -58,12 +58,12 @@ -

<%= t "site.about.open_data_title" %>

+

<%= t ".open_data_title" %>

- <%= t "site.about.open_data_1_html", :open_data => tag.i(t("site.about.open_data_open_data")), - :copyright_license_link => link_to(t("site.about.open_data_copyright_license"), - copyright_path) %>

+ <%= t ".open_data_1_html", :open_data => tag.i(t(".open_data_open_data")), + :copyright_license_link => link_to(t(".open_data_copyright_license"), + copyright_path) %>

@@ -108,7 +108,7 @@ -

<%= t "site.about.partners_title" %>

+

<%= t ".partners_title" %>

<%= t "layouts.hosting_partners_2024_html", :fastly => link_to(t("layouts.partners_fastly"), "https://www.fastly.com/"), :corpmembers => link_to(t("layouts.partners_corpmembers"), "https://osmfoundation.org/wiki/Corporate_Members"),