From: Anton Khorev Date: Sun, 1 Dec 2024 01:00:25 +0000 (+0300) Subject: Show map color scheme on user preferences page X-Git-Tag: live~95^2~2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/a35f360d5eb96fc553afaf17818a3ace0665a03d?hp=141a2164239d4602c7ef937262376e5876607d9a Show map color scheme on user preferences page --- diff --git a/app/views/preferences/show.html.erb b/app/views/preferences/show.html.erb index 7681638ed..9bf83cbf1 100644 --- a/app/views/preferences/show.html.erb +++ b/app/views/preferences/show.html.erb @@ -25,6 +25,11 @@
<%= t ".site_color_schemes.#{preferred_color_scheme(:site)}" %>
+ +
<%= t ".preferred_map_color_scheme" %>
+
+ <%= t ".map_color_schemes.#{preferred_color_scheme(:map)}" %> +
diff --git a/config/locales/en.yml b/config/locales/en.yml index fb4f23430..770e8e40a 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1812,6 +1812,11 @@ en: auto: Auto light: Light dark: Dark + preferred_map_color_scheme: Preferred Map Color Scheme + map_color_schemes: + auto: Auto + light: Light + dark: Dark edit_preferences: Edit Preferences edit: title: Edit Preferences