From 1c74ede69e7a9916c19da6f05daa215231eba81c Mon Sep 17 00:00:00 2001 From: kibigo! Date: Mon, 4 Dec 2017 00:19:39 -0800 Subject: Fixed a name + localizations --- app/views/settings/preferences/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml index 030a902cf..40589fbec 100644 --- a/app/views/settings/preferences/show.html.haml +++ b/app/views/settings/preferences/show.html.haml @@ -26,7 +26,7 @@ %h4= t 'preferences.web' .fields-group - - if Themes.instance.names.size > 1 + - if Themes.instance.flavours.size > 1 = f.input :setting_flavour, collection: Themes.instance.flavours, label_method: lambda { |flavour| I18n.t("themes.#{flavour}", default: flavour) }, wrapper: :with_label, include_blank: false = f.input :setting_skin, collection: Themes.instance.skins_for(current_theme), label_method: lambda { |skin| I18n.t("themes.#{current_theme}.skins.#{skin}", default: skin) }, wrapper: :with_label, include_blank: false -- cgit