From a35f360d5eb96fc553afaf17818a3ace0665a03d Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Sun, 1 Dec 2024 04:00:25 +0300 Subject: [PATCH] Show map color scheme on user preferences page --- app/views/preferences/show.html.erb | 5 +++++ config/locales/en.yml | 5 +++++ 2 files changed, 10 insertions(+) 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 -- 2.39.5