Browse Source

Fixed a name + localizations

closed-social-glitch-2
kibigo! 7 years ago
parent
commit
1c74ede69e
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      app/views/settings/preferences/show.html.haml
  2. +3
    -3
      config/locales/simple_form.en.yml

+ 1
- 1
app/views/settings/preferences/show.html.haml View File

@ -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

+ 3
- 3
config/locales/simple_form.en.yml View File

@ -13,8 +13,8 @@ en:
note:
one: <span class="note-counter">1</span> character left
other: <span class="note-counter">%{count}</span> 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

Loading…
Cancel
Save