Merge branch 'master' into glitch-soc/merge-upstream
Conflicts: - `app/serializers/rest/account_serializer.rb`: Upstream added code too close to glitch-soc-specific followers-hiding code. Ported upstream changes.
This commit is contained in:
@@ -73,6 +73,7 @@ module Mastodon
|
||||
:it,
|
||||
:ja,
|
||||
:ka,
|
||||
:kab,
|
||||
:kk,
|
||||
:kn,
|
||||
:ko,
|
||||
|
@@ -232,6 +232,7 @@ en:
|
||||
deleted_status: "(deleted status)"
|
||||
title: Audit log
|
||||
announcements:
|
||||
destroyed_msg: Announcement successfully deleted!
|
||||
edit:
|
||||
title: Edit announcement
|
||||
empty: No announcements found.
|
||||
@@ -240,8 +241,12 @@ en:
|
||||
create: Create announcement
|
||||
title: New announcement
|
||||
published: Published
|
||||
published_msg: Announcement successfully published!
|
||||
scheduled_msg: Announcement scheduled for publication!
|
||||
time_range: Time range
|
||||
title: Announcements
|
||||
unpublished_msg: Announcement successfully unpublished!
|
||||
updated_msg: Announcement successfully updated!
|
||||
custom_emojis:
|
||||
assign_category: Assign category
|
||||
by_domain: Domain
|
||||
|
@@ -179,7 +179,13 @@ Rails.application.routes.draw do
|
||||
resources :email_domain_blocks, only: [:index, :new, :create, :destroy]
|
||||
resources :action_logs, only: [:index]
|
||||
resources :warning_presets, except: [:new]
|
||||
resources :announcements, except: [:show]
|
||||
|
||||
resources :announcements, except: [:show] do
|
||||
member do
|
||||
post :publish
|
||||
post :unpublish
|
||||
end
|
||||
end
|
||||
|
||||
resource :settings, only: [:edit, :update]
|
||||
|
||||
|
Reference in New Issue
Block a user