Skip to content

Commit

Permalink
remove junk i added
Browse files Browse the repository at this point in the history
  • Loading branch information
Ember-ruby committed Jun 29, 2024
1 parent 7144ff4 commit e662d4e
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 17 deletions.
12 changes: 0 additions & 12 deletions app/helpers/admin/settings/discovery_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,4 @@ def discovery_hint_text
def discovery_recommended_value
authorized_fetch_overridden? ? :overridden : nil
end

def public_feed_auth?
Setting.timeline_preview
end

def public_timelines_recommended_value
public_feed_auth? ? :overridden : nil
end

def public_timelines_warning_hint_text
public_feed_auth? ? t('admin.settings.security.public_timelines_warning_hint') : nil
end
end
3 changes: 1 addition & 2 deletions app/views/admin/instances/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,9 @@

%hr.spacer/

// %p= t('admin.instances.local_stats.description_html')
- if @instance.domain_block
%h3= t('admin.instances.local_stats.title')

.table-wrapper
%table.table.horizontal-table
%tbody
Expand Down
1 change: 0 additions & 1 deletion config/locales/en-GB.yml
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,6 @@ en-GB:
title: Content policies
local_stats:
title: Stats
# description_html: Uhh yeah
domain_digest: Domain Digest
edited: Edited
created: Created
Expand Down
2 changes: 0 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,6 @@ en:
title: Content policies
local_stats:
title: Stats
# description_html: Uhh yeah
domain_digest: Domain Digest
edited: Edited
created: Created
Expand Down Expand Up @@ -787,7 +786,6 @@ en:
authorized_fetch_hint: Requiring authentication from federated servers enables stricter enforcement of both user-level and server-level blocks. However, this comes at the cost of a performance penalty, reduces the reach of your replies, and may introduce compatibility issues with some federated services. In addition, this will not prevent dedicated actors from fetching your public posts and accounts.
authorized_fetch_overridden_hint: You are currently unable to change this setting because it is overridden by an environment variable.
federation_authentication: Federation authentication enforcement
public_timelines_warning_hint: Setting only has an effect when 'Allow unauthenticated access to public timelines' is off
title: Server settings
site_uploads:
delete: Delete uploaded file
Expand Down

0 comments on commit e662d4e

Please sign in to comment.