From 1c74ede69e7a9916c19da6f05daa215231eba81c Mon Sep 17 00:00:00 2001 From: kibigo! Date: Mon, 4 Dec 2017 00:19:39 -0800 Subject: [PATCH] Fixed a name + localizations --- app/views/settings/preferences/show.html.haml | 2 +- config/locales/simple_form.en.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/settings/preferences/show.html.haml b/app/views/settings/preferences/show.html.haml index 030a902cf2..40589fbec5 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 diff --git a/config/locales/simple_form.en.yml b/config/locales/simple_form.en.yml index 1ce24e3c63..66ec13634f 100644 --- a/config/locales/simple_form.en.yml +++ b/config/locales/simple_form.en.yml @@ -13,8 +13,8 @@ en: note: one: 1 character left other: %{count} characters left - setting_noindex: Affects your public profile and status pages setting_flavour: Affects how Mastodon looks when you're logged in from any device + setting_noindex: Affects your public profile and status pages setting_skin: Reskins the selected Mastodon flavour imports: data: CSV file exported from another Mastodon instance @@ -44,11 +44,11 @@ en: setting_default_privacy: Post privacy setting_default_sensitive: Always mark media as sensitive setting_delete_modal: Show confirmation dialog before deleting a toot + setting_flavour: Mastodon Flavour setting_noindex: Opt-out of search engine indexing setting_reduce_motion: Reduce motion in animations - setting_system_font_ui: Use system's default font - setting_flavour: Mastodon Flavour setting_skin: Skin + setting_system_font_ui: Use system's default font setting_unfollow_modal: Show confirmation dialog before unfollowing someone severity: Severity type: Import type