Improve admin UI for accounts (#7360)
* Improve design of account statuses admin UI (consistent with reports) * Make account moderation notes look consistent with report notes * i18n-tasks remove-unused * Fix code style issues * Fix tests
This commit is contained in:
parent
660db468c0
commit
c7d1a2e400
|
@ -3,7 +3,6 @@
|
||||||
module Admin
|
module Admin
|
||||||
class ReportedStatusesController < BaseController
|
class ReportedStatusesController < BaseController
|
||||||
before_action :set_report
|
before_action :set_report
|
||||||
before_action :set_status, only: [:update, :destroy]
|
|
||||||
|
|
||||||
def create
|
def create
|
||||||
authorize :status, :update?
|
authorize :status, :update?
|
||||||
|
@ -14,20 +13,6 @@ module Admin
|
||||||
redirect_to admin_report_path(@report)
|
redirect_to admin_report_path(@report)
|
||||||
end
|
end
|
||||||
|
|
||||||
def update
|
|
||||||
authorize @status, :update?
|
|
||||||
@status.update!(status_params)
|
|
||||||
log_action :update, @status
|
|
||||||
redirect_to admin_report_path(@report)
|
|
||||||
end
|
|
||||||
|
|
||||||
def destroy
|
|
||||||
authorize @status, :destroy?
|
|
||||||
RemovalWorker.perform_async(@status.id)
|
|
||||||
log_action :destroy, @status
|
|
||||||
render json: @status
|
|
||||||
end
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def status_params
|
def status_params
|
||||||
|
@ -51,9 +36,5 @@ module Admin
|
||||||
def set_report
|
def set_report
|
||||||
@report = Report.find(params[:report_id])
|
@report = Report.find(params[:report_id])
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_status
|
|
||||||
@status = @report.statuses.find(params[:id])
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -5,7 +5,6 @@ module Admin
|
||||||
helper_method :current_params
|
helper_method :current_params
|
||||||
|
|
||||||
before_action :set_account
|
before_action :set_account
|
||||||
before_action :set_status, only: [:update, :destroy]
|
|
||||||
|
|
||||||
PER_PAGE = 20
|
PER_PAGE = 20
|
||||||
|
|
||||||
|
@ -26,40 +25,18 @@ module Admin
|
||||||
def create
|
def create
|
||||||
authorize :status, :update?
|
authorize :status, :update?
|
||||||
|
|
||||||
@form = Form::StatusBatch.new(form_status_batch_params.merge(current_account: current_account))
|
@form = Form::StatusBatch.new(form_status_batch_params.merge(current_account: current_account, action: action_from_button))
|
||||||
flash[:alert] = I18n.t('admin.statuses.failed_to_execute') unless @form.save
|
flash[:alert] = I18n.t('admin.statuses.failed_to_execute') unless @form.save
|
||||||
|
|
||||||
redirect_to admin_account_statuses_path(@account.id, current_params)
|
redirect_to admin_account_statuses_path(@account.id, current_params)
|
||||||
end
|
end
|
||||||
|
|
||||||
def update
|
|
||||||
authorize @status, :update?
|
|
||||||
@status.update!(status_params)
|
|
||||||
log_action :update, @status
|
|
||||||
redirect_to admin_account_statuses_path(@account.id, current_params)
|
|
||||||
end
|
|
||||||
|
|
||||||
def destroy
|
|
||||||
authorize @status, :destroy?
|
|
||||||
RemovalWorker.perform_async(@status.id)
|
|
||||||
log_action :destroy, @status
|
|
||||||
render json: @status
|
|
||||||
end
|
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def status_params
|
|
||||||
params.require(:status).permit(:sensitive)
|
|
||||||
end
|
|
||||||
|
|
||||||
def form_status_batch_params
|
def form_status_batch_params
|
||||||
params.require(:form_status_batch).permit(:action, status_ids: [])
|
params.require(:form_status_batch).permit(:action, status_ids: [])
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_status
|
|
||||||
@status = @account.statuses.find(params[:id])
|
|
||||||
end
|
|
||||||
|
|
||||||
def set_account
|
def set_account
|
||||||
@account = Account.find(params[:account_id])
|
@account = Account.find(params[:account_id])
|
||||||
end
|
end
|
||||||
|
@ -72,5 +49,15 @@ module Admin
|
||||||
page: page > 1 && page,
|
page: page > 1 && page,
|
||||||
}.select { |_, value| value.present? }
|
}.select { |_, value| value.present? }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def action_from_button
|
||||||
|
if params[:nsfw_on]
|
||||||
|
'nsfw_on'
|
||||||
|
elsif params[:nsfw_off]
|
||||||
|
'nsfw_off'
|
||||||
|
elsif params[:delete]
|
||||||
|
'delete'
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -336,7 +336,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.simple_form.new_report_note {
|
.simple_form.new_report_note,
|
||||||
|
.simple_form.new_account_moderation_note {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
%tr
|
.speech-bubble
|
||||||
%td
|
.speech-bubble__bubble
|
||||||
= simple_format(h(account_moderation_note.content))
|
= simple_format(h(account_moderation_note.content))
|
||||||
%td
|
.speech-bubble__owner
|
||||||
= account_moderation_note.account.acct
|
= admin_account_link_to account_moderation_note.account
|
||||||
%td
|
%time.formatted{ datetime: account_moderation_note.created_at.iso8601 }= l account_moderation_note.created_at
|
||||||
%time.formatted{ datetime: account_moderation_note.created_at.iso8601, title: l(account_moderation_note.created_at) }
|
= table_link_to 'trash', t('admin.account_moderation_notes.delete'), admin_account_moderation_note_path(account_moderation_note), method: :delete if can?(:destroy, account_moderation_note)
|
||||||
= l account_moderation_note.created_at
|
|
||||||
%td
|
|
||||||
= link_to t('admin.account_moderation_notes.delete'), admin_account_moderation_note_path(account_moderation_note), method: :delete if can?(:destroy, account_moderation_note)
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
= @account.acct
|
= @account.acct
|
||||||
|
|
||||||
.table-wrapper
|
.table-wrapper
|
||||||
%table.table
|
%table.table.inline-table
|
||||||
%tbody
|
%tbody
|
||||||
%tr
|
%tr
|
||||||
%th= t('admin.accounts.username')
|
%th= t('admin.accounts.username')
|
||||||
|
@ -73,17 +73,17 @@
|
||||||
|
|
||||||
%tr
|
%tr
|
||||||
%th= t('admin.accounts.follows')
|
%th= t('admin.accounts.follows')
|
||||||
%td= @account.following_count
|
%td= number_to_human @account.following_count
|
||||||
%tr
|
%tr
|
||||||
%th= t('admin.accounts.followers')
|
%th= t('admin.accounts.followers')
|
||||||
%td= @account.followers_count
|
%td= number_to_human @account.followers_count
|
||||||
%tr
|
%tr
|
||||||
%th= t('admin.accounts.statuses')
|
%th= t('admin.accounts.statuses')
|
||||||
%td= link_to @account.statuses_count, admin_account_statuses_path(@account.id)
|
%td= link_to number_to_human(@account.statuses_count), admin_account_statuses_path(@account.id)
|
||||||
%tr
|
%tr
|
||||||
%th= t('admin.accounts.media_attachments')
|
%th= t('admin.accounts.media_attachments')
|
||||||
%td
|
%td
|
||||||
= link_to @account.media_attachments.count, admin_account_statuses_path(@account.id, { media: true })
|
= link_to number_to_human(@account.media_attachments.count), admin_account_statuses_path(@account.id, { media: true })
|
||||||
= surround '(', ')' do
|
= surround '(', ')' do
|
||||||
= number_to_human_size @account.media_attachments.sum('file_file_size')
|
= number_to_human_size @account.media_attachments.sum('file_file_size')
|
||||||
%tr
|
%tr
|
||||||
|
@ -120,11 +120,12 @@
|
||||||
= link_to t('admin.accounts.perform_full_suspension'), admin_account_suspension_path(@account.id), method: :post, data: { confirm: t('admin.accounts.are_you_sure') }, class: 'button' if can?(:suspend, @account)
|
= link_to t('admin.accounts.perform_full_suspension'), admin_account_suspension_path(@account.id), method: :post, data: { confirm: t('admin.accounts.are_you_sure') }, class: 'button' if can?(:suspend, @account)
|
||||||
|
|
||||||
- if !@account.local? && @account.hub_url.present?
|
- if !@account.local? && @account.hub_url.present?
|
||||||
%hr
|
%hr.spacer/
|
||||||
|
|
||||||
%h3 OStatus
|
%h3 OStatus
|
||||||
|
|
||||||
.table-wrapper
|
.table-wrapper
|
||||||
%table.table
|
%table.table.inline-table
|
||||||
%tbody
|
%tbody
|
||||||
%tr
|
%tr
|
||||||
%th= t('admin.accounts.feed_url')
|
%th= t('admin.accounts.feed_url')
|
||||||
|
@ -148,11 +149,12 @@
|
||||||
= link_to t('admin.accounts.unsubscribe'), unsubscribe_admin_account_path(@account.id), method: :post, class: 'button negative' if can?(:unsubscribe, @account)
|
= link_to t('admin.accounts.unsubscribe'), unsubscribe_admin_account_path(@account.id), method: :post, class: 'button negative' if can?(:unsubscribe, @account)
|
||||||
|
|
||||||
- if !@account.local? && @account.inbox_url.present?
|
- if !@account.local? && @account.inbox_url.present?
|
||||||
%hr
|
%hr.spacer/
|
||||||
|
|
||||||
%h3 ActivityPub
|
%h3 ActivityPub
|
||||||
|
|
||||||
.table-wrapper
|
.table-wrapper
|
||||||
%table.table
|
%table.table.inline-table
|
||||||
%tbody
|
%tbody
|
||||||
%tr
|
%tr
|
||||||
%th= t('admin.accounts.inbox_url')
|
%th= t('admin.accounts.inbox_url')
|
||||||
|
@ -167,24 +169,15 @@
|
||||||
%th= t('admin.accounts.followers_url')
|
%th= t('admin.accounts.followers_url')
|
||||||
%td= link_to @account.followers_url, @account.followers_url
|
%td= link_to @account.followers_url, @account.followers_url
|
||||||
|
|
||||||
%hr
|
%hr.spacer/
|
||||||
%h3= t('admin.accounts.moderation_notes')
|
|
||||||
|
= render @moderation_notes
|
||||||
|
|
||||||
= simple_form_for @account_moderation_note, url: admin_account_moderation_notes_path do |f|
|
= simple_form_for @account_moderation_note, url: admin_account_moderation_notes_path do |f|
|
||||||
= render 'shared/error_messages', object: @account_moderation_note
|
= render 'shared/error_messages', object: @account_moderation_note
|
||||||
|
|
||||||
= f.input :content
|
= f.input :content, placeholder: t('admin.reports.notes.placeholder'), rows: 6
|
||||||
= f.hidden_field :target_account_id
|
= f.hidden_field :target_account_id
|
||||||
|
|
||||||
.actions
|
.actions
|
||||||
= f.button :button, t('admin.account_moderation_notes.create'), type: :submit
|
= f.button :button, t('admin.account_moderation_notes.create'), type: :submit
|
||||||
|
|
||||||
.table-wrapper
|
|
||||||
%table.table
|
|
||||||
%thead
|
|
||||||
%tr
|
|
||||||
%th
|
|
||||||
%th= t('admin.account_moderation_notes.account')
|
|
||||||
%th= t('admin.account_moderation_notes.created_at')
|
|
||||||
%tbody
|
|
||||||
= render @moderation_notes
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
%p><
|
%p><
|
||||||
%strong= Formatter.instance.format_spoiler(status)
|
%strong= Formatter.instance.format_spoiler(status)
|
||||||
|
|
||||||
= Formatter.instance.format(status)
|
= Formatter.instance.format(status, custom_emojify: true)
|
||||||
|
|
||||||
- unless status.media_attachments.empty?
|
- unless status.media_attachments.empty?
|
||||||
- if status.media_attachments.first.video?
|
- if status.media_attachments.first.video?
|
||||||
|
|
|
@ -3,11 +3,8 @@
|
||||||
|
|
||||||
- content_for :page_title do
|
- content_for :page_title do
|
||||||
= t('admin.statuses.title')
|
= t('admin.statuses.title')
|
||||||
|
\-
|
||||||
.back-link
|
= "@#{@account.acct}"
|
||||||
= link_to admin_account_path(@account.id) do
|
|
||||||
%i.fa.fa-chevron-left.fa-fw
|
|
||||||
= t('admin.statuses.back_to_account')
|
|
||||||
|
|
||||||
.filters
|
.filters
|
||||||
.filter-subset
|
.filter-subset
|
||||||
|
@ -15,33 +12,26 @@
|
||||||
%ul
|
%ul
|
||||||
%li= link_to t('admin.statuses.no_media'), admin_account_statuses_path(@account.id, current_params.merge(media: nil)), class: !params[:media] && 'selected'
|
%li= link_to t('admin.statuses.no_media'), admin_account_statuses_path(@account.id, current_params.merge(media: nil)), class: !params[:media] && 'selected'
|
||||||
%li= link_to t('admin.statuses.with_media'), admin_account_statuses_path(@account.id, current_params.merge(media: true)), class: params[:media] && 'selected'
|
%li= link_to t('admin.statuses.with_media'), admin_account_statuses_path(@account.id, current_params.merge(media: true)), class: params[:media] && 'selected'
|
||||||
|
.back-link{ style: 'flex: 1 1 auto; text-align: right' }
|
||||||
|
= link_to admin_account_path(@account.id) do
|
||||||
|
%i.fa.fa-chevron-left.fa-fw
|
||||||
|
= t('admin.statuses.back_to_account')
|
||||||
|
|
||||||
|
%hr.spacer/
|
||||||
|
|
||||||
- if @statuses.empty?
|
|
||||||
.accounts-grid
|
|
||||||
= render 'accounts/nothing_here'
|
|
||||||
- else
|
|
||||||
= form_for(@form, url: admin_account_statuses_path(@account.id)) do |f|
|
= form_for(@form, url: admin_account_statuses_path(@account.id)) do |f|
|
||||||
= hidden_field_tag :page, params[:page]
|
= hidden_field_tag :page, params[:page]
|
||||||
= hidden_field_tag :media, params[:media]
|
= hidden_field_tag :media, params[:media]
|
||||||
.batch-form-box
|
|
||||||
.batch-checkbox-all
|
.batch-table
|
||||||
|
.batch-table__toolbar
|
||||||
|
%label.batch-table__toolbar__select.batch-checkbox-all
|
||||||
= check_box_tag :batch_checkbox_all, nil, false
|
= check_box_tag :batch_checkbox_all, nil, false
|
||||||
= f.select :action, Form::StatusBatch::ACTION_TYPE.map{|action| [t("admin.statuses.batch.#{action}"), action]}
|
.batch-table__toolbar__actions
|
||||||
= f.submit t('admin.statuses.execute'), data: { confirm: t('admin.reports.are_you_sure') }, class: 'button'
|
= f.button safe_join([fa_icon('eye-slash'), t('admin.statuses.batch.nsfw_on')]), name: :nsfw_on, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') }
|
||||||
.media-spoiler-toggle-buttons
|
= f.button safe_join([fa_icon('eye'), t('admin.statuses.batch.nsfw_off')]), name: :nsfw_off, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') }
|
||||||
.media-spoiler-show-button.button= t('admin.statuses.media.show')
|
= f.button safe_join([fa_icon('trash'), t('admin.statuses.batch.delete')]), name: :delete, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') }
|
||||||
.media-spoiler-hide-button.button= t('admin.statuses.media.hide')
|
.batch-table__body
|
||||||
- @statuses.each do |status|
|
= render partial: 'admin/reports/status', collection: @statuses, locals: { f: f }
|
||||||
.account-status{ data: { id: status.id } }
|
|
||||||
.batch-checkbox
|
|
||||||
= f.check_box :status_ids, { multiple: true, include_hidden: false }, status.id
|
|
||||||
.activity-stream.activity-stream-headless
|
|
||||||
.entry= render 'stream_entries/simple_status', status: status
|
|
||||||
.account-status__actions
|
|
||||||
- unless status.media_attachments.empty?
|
|
||||||
= link_to admin_account_status_path(@account.id, status, current_params.merge(status: { sensitive: !status.sensitive })), method: :patch, class: 'icon-button nsfw-button', title: t("admin.reports.nsfw.#{!status.sensitive}") do
|
|
||||||
= fa_icon status.sensitive? ? 'eye' : 'eye-slash'
|
|
||||||
= link_to admin_account_status_path(@account.id, status), method: :delete, class: 'icon-button trash-button', title: t('admin.reports.delete'), data: { confirm: t('admin.reports.are_you_sure') }, remote: true do
|
|
||||||
= fa_icon 'trash'
|
|
||||||
|
|
||||||
= paginate @statuses
|
= paginate @statuses
|
||||||
|
|
|
@ -52,9 +52,7 @@ ar:
|
||||||
unfollow: إلغاء المتابعة
|
unfollow: إلغاء المتابعة
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: مُشرِف
|
|
||||||
create: إنشاء
|
create: إنشاء
|
||||||
created_at: التاريخ
|
|
||||||
created_msg: تم إنشاء ملاحظة الإشراف بنجاح !
|
created_msg: تم إنشاء ملاحظة الإشراف بنجاح !
|
||||||
delete: حذف
|
delete: حذف
|
||||||
destroyed_msg: تم تدمير ملاحظة الإشراف بنجاح !
|
destroyed_msg: تم تدمير ملاحظة الإشراف بنجاح !
|
||||||
|
@ -241,12 +239,8 @@ ar:
|
||||||
are_you_sure: هل أنت متأكد ؟
|
are_you_sure: هل أنت متأكد ؟
|
||||||
comment:
|
comment:
|
||||||
none: لا شيء
|
none: لا شيء
|
||||||
delete: حذف
|
|
||||||
id: معرّف ID
|
id: معرّف ID
|
||||||
mark_as_resolved: إعتبار التقرير كمحلول
|
mark_as_resolved: إعتبار التقرير كمحلول
|
||||||
nsfw:
|
|
||||||
'false': الكشف عن الصور
|
|
||||||
'true': إخفاء الوسائط المرفقة
|
|
||||||
report: 'التقرير #%{id}'
|
report: 'التقرير #%{id}'
|
||||||
report_contents: المحتويات
|
report_contents: المحتويات
|
||||||
reported_account: حساب مُبلّغ عنه
|
reported_account: حساب مُبلّغ عنه
|
||||||
|
@ -305,11 +299,8 @@ ar:
|
||||||
back_to_account: العودة إلى صفحة الحساب
|
back_to_account: العودة إلى صفحة الحساب
|
||||||
batch:
|
batch:
|
||||||
delete: حذف
|
delete: حذف
|
||||||
execute: تفعيل
|
|
||||||
failed_to_execute: خطأ في التفعيل
|
failed_to_execute: خطأ في التفعيل
|
||||||
media:
|
media:
|
||||||
hide: إخفاء الوسائط
|
|
||||||
show: إظهار الوسائط
|
|
||||||
title: الوسائط
|
title: الوسائط
|
||||||
title: منشورات الحساب
|
title: منشورات الحساب
|
||||||
with_media: بالوسائط
|
with_media: بالوسائط
|
||||||
|
|
|
@ -53,9 +53,7 @@ ca:
|
||||||
unfollow: Deixa de seguir
|
unfollow: Deixa de seguir
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderador
|
|
||||||
create: Crea
|
create: Crea
|
||||||
created_at: Data
|
|
||||||
created_msg: La nota de moderació s'ha creat correctament!
|
created_msg: La nota de moderació s'ha creat correctament!
|
||||||
delete: Suprimeix
|
delete: Suprimeix
|
||||||
destroyed_msg: Nota de moderació destruïda amb èxit!
|
destroyed_msg: Nota de moderació destruïda amb èxit!
|
||||||
|
@ -269,7 +267,6 @@ ca:
|
||||||
comment:
|
comment:
|
||||||
none: Cap
|
none: Cap
|
||||||
created_at: Reportat
|
created_at: Reportat
|
||||||
delete: Suprimeix
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Marca com a resolt
|
mark_as_resolved: Marca com a resolt
|
||||||
mark_as_unresolved: Marcar sense resoldre
|
mark_as_unresolved: Marcar sense resoldre
|
||||||
|
@ -279,9 +276,6 @@ ca:
|
||||||
create_and_unresolve: Reobrir amb nota
|
create_and_unresolve: Reobrir amb nota
|
||||||
delete: Esborrar
|
delete: Esborrar
|
||||||
placeholder: Descriu les accions que s'han pres o qualsevol altra actualització d'aquest informe…
|
placeholder: Descriu les accions que s'han pres o qualsevol altra actualització d'aquest informe…
|
||||||
nsfw:
|
|
||||||
'false': Mostra els fitxers multimèdia adjunts
|
|
||||||
'true': Amaga els fitxers multimèdia adjunts
|
|
||||||
reopen: Reobrir informe
|
reopen: Reobrir informe
|
||||||
report: 'Informe #%{id}'
|
report: 'Informe #%{id}'
|
||||||
report_contents: Contingut
|
report_contents: Contingut
|
||||||
|
@ -356,11 +350,8 @@ ca:
|
||||||
delete: Suprimeix
|
delete: Suprimeix
|
||||||
nsfw_off: Marcar com a no sensible
|
nsfw_off: Marcar com a no sensible
|
||||||
nsfw_on: Marcar com a sensible
|
nsfw_on: Marcar com a sensible
|
||||||
execute: Executa
|
|
||||||
failed_to_execute: No s'ha pogut executar
|
failed_to_execute: No s'ha pogut executar
|
||||||
media:
|
media:
|
||||||
hide: Amaga el contingut multimèdia
|
|
||||||
show: Mostra el contingut multimèdia
|
|
||||||
title: Contingut multimèdia
|
title: Contingut multimèdia
|
||||||
no_media: Sense contingut multimèdia
|
no_media: Sense contingut multimèdia
|
||||||
title: Estats del compte
|
title: Estats del compte
|
||||||
|
|
|
@ -53,9 +53,7 @@ de:
|
||||||
unfollow: Entfolgen
|
unfollow: Entfolgen
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderator*in
|
|
||||||
create: Erstellen
|
create: Erstellen
|
||||||
created_at: Datum
|
|
||||||
created_msg: Moderationsnotiz erfolgreich erstellt!
|
created_msg: Moderationsnotiz erfolgreich erstellt!
|
||||||
delete: Löschen
|
delete: Löschen
|
||||||
destroyed_msg: Moderationsnotiz erfolgreich gelöscht!
|
destroyed_msg: Moderationsnotiz erfolgreich gelöscht!
|
||||||
|
@ -269,7 +267,6 @@ de:
|
||||||
comment:
|
comment:
|
||||||
none: Kein
|
none: Kein
|
||||||
created_at: Gemeldet
|
created_at: Gemeldet
|
||||||
delete: Löschen
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Als gelöst markieren
|
mark_as_resolved: Als gelöst markieren
|
||||||
mark_as_unresolved: Als ungelöst markieren
|
mark_as_unresolved: Als ungelöst markieren
|
||||||
|
@ -279,9 +276,6 @@ de:
|
||||||
create_and_unresolve: Mit Kommentar wieder öffnen
|
create_and_unresolve: Mit Kommentar wieder öffnen
|
||||||
delete: Löschen
|
delete: Löschen
|
||||||
placeholder: Beschreibe, welche Maßnahmen ergriffen wurden oder andere Neuigkeiten zu dieser Meldung…
|
placeholder: Beschreibe, welche Maßnahmen ergriffen wurden oder andere Neuigkeiten zu dieser Meldung…
|
||||||
nsfw:
|
|
||||||
'false': Medienanhänge wieder anzeigen
|
|
||||||
'true': Medienanhänge verbergen
|
|
||||||
reopen: Meldung wieder öffnen
|
reopen: Meldung wieder öffnen
|
||||||
report: 'Meldung #%{id}'
|
report: 'Meldung #%{id}'
|
||||||
report_contents: Inhalt
|
report_contents: Inhalt
|
||||||
|
@ -356,11 +350,8 @@ de:
|
||||||
delete: Löschen
|
delete: Löschen
|
||||||
nsfw_off: Als nicht heikel markieren
|
nsfw_off: Als nicht heikel markieren
|
||||||
nsfw_on: Als heikel markieren
|
nsfw_on: Als heikel markieren
|
||||||
execute: Ausführen
|
|
||||||
failed_to_execute: Ausführen fehlgeschlagen
|
failed_to_execute: Ausführen fehlgeschlagen
|
||||||
media:
|
media:
|
||||||
hide: Medien verbergen
|
|
||||||
show: Medien anzeigen
|
|
||||||
title: Medien
|
title: Medien
|
||||||
no_media: Keine Medien
|
no_media: Keine Medien
|
||||||
title: Beiträge des Kontos
|
title: Beiträge des Kontos
|
||||||
|
|
|
@ -53,9 +53,7 @@ en:
|
||||||
unfollow: Unfollow
|
unfollow: Unfollow
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderator
|
create: Leave note
|
||||||
create: Create
|
|
||||||
created_at: Date
|
|
||||||
created_msg: Moderation note successfully created!
|
created_msg: Moderation note successfully created!
|
||||||
delete: Delete
|
delete: Delete
|
||||||
destroyed_msg: Moderation note successfully destroyed!
|
destroyed_msg: Moderation note successfully destroyed!
|
||||||
|
@ -269,7 +267,6 @@ en:
|
||||||
comment:
|
comment:
|
||||||
none: None
|
none: None
|
||||||
created_at: Reported
|
created_at: Reported
|
||||||
delete: Delete
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Mark as resolved
|
mark_as_resolved: Mark as resolved
|
||||||
mark_as_unresolved: Mark as unresolved
|
mark_as_unresolved: Mark as unresolved
|
||||||
|
@ -279,9 +276,6 @@ en:
|
||||||
create_and_unresolve: Reopen with note
|
create_and_unresolve: Reopen with note
|
||||||
delete: Delete
|
delete: Delete
|
||||||
placeholder: Describe what actions have been taken, or any other updates to this report…
|
placeholder: Describe what actions have been taken, or any other updates to this report…
|
||||||
nsfw:
|
|
||||||
'false': Unhide media attachments
|
|
||||||
'true': Hide media attachments
|
|
||||||
reopen: Reopen report
|
reopen: Reopen report
|
||||||
report: 'Report #%{id}'
|
report: 'Report #%{id}'
|
||||||
report_contents: Contents
|
report_contents: Contents
|
||||||
|
@ -356,11 +350,8 @@ en:
|
||||||
delete: Delete
|
delete: Delete
|
||||||
nsfw_off: Mark as not sensitive
|
nsfw_off: Mark as not sensitive
|
||||||
nsfw_on: Mark as sensitive
|
nsfw_on: Mark as sensitive
|
||||||
execute: Execute
|
|
||||||
failed_to_execute: Failed to execute
|
failed_to_execute: Failed to execute
|
||||||
media:
|
media:
|
||||||
hide: Hide media
|
|
||||||
show: Show media
|
|
||||||
title: Media
|
title: Media
|
||||||
no_media: No media
|
no_media: No media
|
||||||
title: Account statuses
|
title: Account statuses
|
||||||
|
|
|
@ -52,9 +52,7 @@ eo:
|
||||||
unfollow: Ne plu sekvi
|
unfollow: Ne plu sekvi
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Kontrolanto
|
|
||||||
create: Krei
|
create: Krei
|
||||||
created_at: Dato
|
|
||||||
created_msg: Kontrola noto sukcese kreita!
|
created_msg: Kontrola noto sukcese kreita!
|
||||||
delete: Forigi
|
delete: Forigi
|
||||||
destroyed_msg: Kontrola noto sukcese detruita!
|
destroyed_msg: Kontrola noto sukcese detruita!
|
||||||
|
@ -244,12 +242,8 @@ eo:
|
||||||
are_you_sure: Ĉu vi certas?
|
are_you_sure: Ĉu vi certas?
|
||||||
comment:
|
comment:
|
||||||
none: Nenio
|
none: Nenio
|
||||||
delete: Forigi
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Marki kiel solvita
|
mark_as_resolved: Marki kiel solvita
|
||||||
nsfw:
|
|
||||||
'false': Malkaŝi aŭdovidajn kunsendaĵojn
|
|
||||||
'true': Kaŝi aŭdovidajn kunsendaĵojn
|
|
||||||
report: 'Signalo #%{id}'
|
report: 'Signalo #%{id}'
|
||||||
report_contents: Enhavo
|
report_contents: Enhavo
|
||||||
reported_account: Signalita konto
|
reported_account: Signalita konto
|
||||||
|
@ -320,11 +314,8 @@ eo:
|
||||||
delete: Forigi
|
delete: Forigi
|
||||||
nsfw_off: Malŝalti NSFW
|
nsfw_off: Malŝalti NSFW
|
||||||
nsfw_on: Ŝalti NSFW
|
nsfw_on: Ŝalti NSFW
|
||||||
execute: Ekigi
|
|
||||||
failed_to_execute: Ekigo malsukcesa
|
failed_to_execute: Ekigo malsukcesa
|
||||||
media:
|
media:
|
||||||
hide: Kaŝi aŭdovidaĵojn
|
|
||||||
show: Montri aŭdovidaĵojn
|
|
||||||
title: Aŭdovidaĵoj
|
title: Aŭdovidaĵoj
|
||||||
no_media: Neniu aŭdovidaĵo
|
no_media: Neniu aŭdovidaĵo
|
||||||
title: Mesaĝoj de la konto
|
title: Mesaĝoj de la konto
|
||||||
|
|
|
@ -53,9 +53,7 @@ es:
|
||||||
unfollow: Dejar de seguir
|
unfollow: Dejar de seguir
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderador
|
|
||||||
create: Crear
|
create: Crear
|
||||||
created_at: Fecha
|
|
||||||
created_msg: "¡Nota de moderación creada con éxito!"
|
created_msg: "¡Nota de moderación creada con éxito!"
|
||||||
delete: Borrar
|
delete: Borrar
|
||||||
destroyed_msg: "¡Nota de moderación destruida con éxito!"
|
destroyed_msg: "¡Nota de moderación destruida con éxito!"
|
||||||
|
@ -269,7 +267,6 @@ es:
|
||||||
comment:
|
comment:
|
||||||
none: Ninguno
|
none: Ninguno
|
||||||
created_at: Denunciado
|
created_at: Denunciado
|
||||||
delete: Eliminar
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Marcar como resuelto
|
mark_as_resolved: Marcar como resuelto
|
||||||
mark_as_unresolved: Marcar como no resuelto
|
mark_as_unresolved: Marcar como no resuelto
|
||||||
|
@ -279,9 +276,6 @@ es:
|
||||||
create_and_unresolve: Reabrir con una nota
|
create_and_unresolve: Reabrir con una nota
|
||||||
delete: Eliminar
|
delete: Eliminar
|
||||||
placeholder: Especificar qué acciones se han tomado o cualquier otra novedad respecto a esta denuncia…
|
placeholder: Especificar qué acciones se han tomado o cualquier otra novedad respecto a esta denuncia…
|
||||||
nsfw:
|
|
||||||
'false': Mostrar multimedia
|
|
||||||
'true': Ocultar multimedia
|
|
||||||
reopen: Reabrir denuncia
|
reopen: Reabrir denuncia
|
||||||
report: 'Reportar #%{id}'
|
report: 'Reportar #%{id}'
|
||||||
report_contents: Contenido
|
report_contents: Contenido
|
||||||
|
@ -356,11 +350,8 @@ es:
|
||||||
delete: Eliminar
|
delete: Eliminar
|
||||||
nsfw_off: Marcar contenido como no sensible
|
nsfw_off: Marcar contenido como no sensible
|
||||||
nsfw_on: Marcar contenido como sensible
|
nsfw_on: Marcar contenido como sensible
|
||||||
execute: Ejecutar
|
|
||||||
failed_to_execute: Falló al ejecutar
|
failed_to_execute: Falló al ejecutar
|
||||||
media:
|
media:
|
||||||
hide: Ocultar multimedia
|
|
||||||
show: Mostrar multimedia
|
|
||||||
title: Multimedia
|
title: Multimedia
|
||||||
no_media: No hay multimedia
|
no_media: No hay multimedia
|
||||||
title: Estado de las cuentas
|
title: Estado de las cuentas
|
||||||
|
|
|
@ -52,9 +52,7 @@ fa:
|
||||||
unfollow: پایان پیگیری
|
unfollow: پایان پیگیری
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: مدیر
|
|
||||||
create: نوشتن
|
create: نوشتن
|
||||||
created_at: تاریخ
|
|
||||||
created_msg: یادداشت مدیر با موفقیت ساخته شد!
|
created_msg: یادداشت مدیر با موفقیت ساخته شد!
|
||||||
delete: پاک کردن
|
delete: پاک کردن
|
||||||
destroyed_msg: یادداشت مدیر با موفقیت پاک شد!
|
destroyed_msg: یادداشت مدیر با موفقیت پاک شد!
|
||||||
|
@ -244,12 +242,8 @@ fa:
|
||||||
are_you_sure: آیا مطمئن هستید؟
|
are_you_sure: آیا مطمئن هستید؟
|
||||||
comment:
|
comment:
|
||||||
none: خالی
|
none: خالی
|
||||||
delete: پاککردن
|
|
||||||
id: شناسه
|
id: شناسه
|
||||||
mark_as_resolved: علامتگذاری به عنوان حلشده
|
mark_as_resolved: علامتگذاری به عنوان حلشده
|
||||||
nsfw:
|
|
||||||
'false': نمایش پیوستهای تصویری
|
|
||||||
'true': نهفتن پیوستهای تصویری
|
|
||||||
report: 'گزارش #%{id}'
|
report: 'گزارش #%{id}'
|
||||||
report_contents: محتوا
|
report_contents: محتوا
|
||||||
reported_account: حساب گزارششده
|
reported_account: حساب گزارششده
|
||||||
|
@ -308,11 +302,8 @@ fa:
|
||||||
delete: پاککردن
|
delete: پاککردن
|
||||||
nsfw_off: NSFW خاموش
|
nsfw_off: NSFW خاموش
|
||||||
nsfw_on: NSFW روشن
|
nsfw_on: NSFW روشن
|
||||||
execute: اجرا
|
|
||||||
failed_to_execute: اجرا نشد
|
failed_to_execute: اجرا نشد
|
||||||
media:
|
media:
|
||||||
hide: نهفتن رسانه
|
|
||||||
show: نمایش رسانه
|
|
||||||
title: رسانه
|
title: رسانه
|
||||||
no_media: بدون رسانه
|
no_media: بدون رسانه
|
||||||
title: نوشتههای حساب
|
title: نوشتههای حساب
|
||||||
|
|
|
@ -52,9 +52,7 @@ fi:
|
||||||
unfollow: Lopeta seuraaminen
|
unfollow: Lopeta seuraaminen
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderaattori
|
|
||||||
create: Luo
|
create: Luo
|
||||||
created_at: Päiväys
|
|
||||||
created_msg: Moderointimerkinnän luonti onnistui!
|
created_msg: Moderointimerkinnän luonti onnistui!
|
||||||
delete: Poista
|
delete: Poista
|
||||||
destroyed_msg: Moderointimerkinnän poisto onnistui!
|
destroyed_msg: Moderointimerkinnän poisto onnistui!
|
||||||
|
@ -244,12 +242,8 @@ fi:
|
||||||
are_you_sure: Oletko varma?
|
are_you_sure: Oletko varma?
|
||||||
comment:
|
comment:
|
||||||
none: Ei mitään
|
none: Ei mitään
|
||||||
delete: Poista
|
|
||||||
id: Tunniste
|
id: Tunniste
|
||||||
mark_as_resolved: Merkitse ratkaistuksi
|
mark_as_resolved: Merkitse ratkaistuksi
|
||||||
nsfw:
|
|
||||||
'false': Peru medialiitteiden piilotus
|
|
||||||
'true': Piilota medialiitteet
|
|
||||||
report: Raportti nro %{id}
|
report: Raportti nro %{id}
|
||||||
report_contents: Sisältö
|
report_contents: Sisältö
|
||||||
reported_account: Raportoitu tili
|
reported_account: Raportoitu tili
|
||||||
|
@ -320,11 +314,8 @@ fi:
|
||||||
delete: Poista
|
delete: Poista
|
||||||
nsfw_off: NSFW POIS
|
nsfw_off: NSFW POIS
|
||||||
nsfw_on: NSFW PÄÄLLÄ
|
nsfw_on: NSFW PÄÄLLÄ
|
||||||
execute: Suorita
|
|
||||||
failed_to_execute: Suoritus epäonnistui
|
failed_to_execute: Suoritus epäonnistui
|
||||||
media:
|
media:
|
||||||
hide: Piilota media
|
|
||||||
show: Näytä media
|
|
||||||
title: Media
|
title: Media
|
||||||
no_media: Ei mediaa
|
no_media: Ei mediaa
|
||||||
title: Tilin tilat
|
title: Tilin tilat
|
||||||
|
|
|
@ -53,9 +53,7 @@ fr:
|
||||||
unfollow: Ne plus suivre
|
unfollow: Ne plus suivre
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Modérateur·ice
|
|
||||||
create: Créer
|
create: Créer
|
||||||
created_at: Date
|
|
||||||
created_msg: Note de modération créée avec succès !
|
created_msg: Note de modération créée avec succès !
|
||||||
delete: Supprimer
|
delete: Supprimer
|
||||||
destroyed_msg: Note de modération supprimée avec succès !
|
destroyed_msg: Note de modération supprimée avec succès !
|
||||||
|
@ -269,7 +267,6 @@ fr:
|
||||||
comment:
|
comment:
|
||||||
none: Aucun
|
none: Aucun
|
||||||
created_at: Signalé
|
created_at: Signalé
|
||||||
delete: Supprimer
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Marquer comme résolu
|
mark_as_resolved: Marquer comme résolu
|
||||||
mark_as_unresolved: Marquer comme non-résolu
|
mark_as_unresolved: Marquer comme non-résolu
|
||||||
|
@ -279,9 +276,6 @@ fr:
|
||||||
create_and_unresolve: Ré-ouvrir avec une note
|
create_and_unresolve: Ré-ouvrir avec une note
|
||||||
delete: Effacer
|
delete: Effacer
|
||||||
placeholder: Décrivez quelles actions ont été prises, ou toute autre mise à jour de ce signalement…
|
placeholder: Décrivez quelles actions ont été prises, ou toute autre mise à jour de ce signalement…
|
||||||
nsfw:
|
|
||||||
'false': Ré-afficher les médias
|
|
||||||
'true': Masquer les médias
|
|
||||||
reopen: Ré-ouvrir le signalement
|
reopen: Ré-ouvrir le signalement
|
||||||
report: 'Signalement #%{id}'
|
report: 'Signalement #%{id}'
|
||||||
report_contents: Contenu
|
report_contents: Contenu
|
||||||
|
@ -356,11 +350,8 @@ fr:
|
||||||
delete: Supprimer
|
delete: Supprimer
|
||||||
nsfw_off: Marquer comme non-sensible
|
nsfw_off: Marquer comme non-sensible
|
||||||
nsfw_on: Marquer comme sensible
|
nsfw_on: Marquer comme sensible
|
||||||
execute: Exécuter
|
|
||||||
failed_to_execute: Erreur d’exécution
|
failed_to_execute: Erreur d’exécution
|
||||||
media:
|
media:
|
||||||
hide: Masquer les médias
|
|
||||||
show: Montrer les médias
|
|
||||||
title: Médias
|
title: Médias
|
||||||
no_media: Aucun média
|
no_media: Aucun média
|
||||||
title: État du compte
|
title: État du compte
|
||||||
|
|
|
@ -53,9 +53,7 @@ gl:
|
||||||
unfollow: Deixar de seguir
|
unfollow: Deixar de seguir
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderador
|
|
||||||
create: Crear
|
create: Crear
|
||||||
created_at: Data
|
|
||||||
created_msg: Nota a moderación creada con éxito!
|
created_msg: Nota a moderación creada con éxito!
|
||||||
delete: Eliminar
|
delete: Eliminar
|
||||||
destroyed_msg: Nota a moderación destruída con éxito!
|
destroyed_msg: Nota a moderación destruída con éxito!
|
||||||
|
@ -269,7 +267,6 @@ gl:
|
||||||
comment:
|
comment:
|
||||||
none: Nada
|
none: Nada
|
||||||
created_at: Reportado
|
created_at: Reportado
|
||||||
delete: Eliminar
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Marcar como resolto
|
mark_as_resolved: Marcar como resolto
|
||||||
mark_as_unresolved: Marcar como non resolto
|
mark_as_unresolved: Marcar como non resolto
|
||||||
|
@ -279,9 +276,6 @@ gl:
|
||||||
create_and_unresolve: Voltar a abrir con nota
|
create_and_unresolve: Voltar a abrir con nota
|
||||||
delete: Eliminar
|
delete: Eliminar
|
||||||
placeholder: Describir qué decisións foron tomadas, ou calquer actualización a este informe…
|
placeholder: Describir qué decisións foron tomadas, ou calquer actualización a este informe…
|
||||||
nsfw:
|
|
||||||
'false': Non agochar anexos de medios
|
|
||||||
'true': Agochar anexos de medios
|
|
||||||
reopen: Voltar a abrir o informe
|
reopen: Voltar a abrir o informe
|
||||||
report: 'Informe #%{id}'
|
report: 'Informe #%{id}'
|
||||||
report_contents: Contidos
|
report_contents: Contidos
|
||||||
|
@ -356,11 +350,8 @@ gl:
|
||||||
delete: Eliminar
|
delete: Eliminar
|
||||||
nsfw_off: Marcar como non sensible
|
nsfw_off: Marcar como non sensible
|
||||||
nsfw_on: Marcar como sensible
|
nsfw_on: Marcar como sensible
|
||||||
execute: Executar
|
|
||||||
failed_to_execute: Fallou a execución
|
failed_to_execute: Fallou a execución
|
||||||
media:
|
media:
|
||||||
hide: Agochar medios
|
|
||||||
show: Mostar medios
|
|
||||||
title: Medios
|
title: Medios
|
||||||
no_media: Sen medios
|
no_media: Sen medios
|
||||||
title: Estados da conta
|
title: Estados da conta
|
||||||
|
|
|
@ -52,9 +52,7 @@ he:
|
||||||
unfollow: הפסקת מעקב
|
unfollow: הפסקת מעקב
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: מנחה דיון
|
|
||||||
create: ליצור
|
create: ליצור
|
||||||
created_at: תאריך
|
|
||||||
created_msg: הודעת מנחה נוצרה בהצלחה!
|
created_msg: הודעת מנחה נוצרה בהצלחה!
|
||||||
delete: למחוק
|
delete: למחוק
|
||||||
destroyed_msg: הודעת מנחה נמחקה בהצלחה!
|
destroyed_msg: הודעת מנחה נמחקה בהצלחה!
|
||||||
|
@ -181,12 +179,8 @@ he:
|
||||||
are_you_sure: 100% על בטוח?
|
are_you_sure: 100% על בטוח?
|
||||||
comment:
|
comment:
|
||||||
none: ללא
|
none: ללא
|
||||||
delete: מחיקה
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: סימון כפתור
|
mark_as_resolved: סימון כפתור
|
||||||
nsfw:
|
|
||||||
'false': לכל המשפחה
|
|
||||||
'true': תוכן רגיש
|
|
||||||
report: 'דווח על #%{id}'
|
report: 'דווח על #%{id}'
|
||||||
report_contents: תוכן
|
report_contents: תוכן
|
||||||
reported_account: חשבון מדווח
|
reported_account: חשבון מדווח
|
||||||
|
|
|
@ -52,9 +52,7 @@ hu:
|
||||||
unfollow: Követés abbahagyása
|
unfollow: Követés abbahagyása
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderátor
|
|
||||||
create: Új bejegyzés
|
create: Új bejegyzés
|
||||||
created_at: Dátum
|
|
||||||
created_msg: Moderációs bejegyzés létrehozva!
|
created_msg: Moderációs bejegyzés létrehozva!
|
||||||
delete: Törlés
|
delete: Törlés
|
||||||
destroyed_msg: Moderációs bejegyzés törölve!
|
destroyed_msg: Moderációs bejegyzés törölve!
|
||||||
|
@ -244,12 +242,8 @@ hu:
|
||||||
are_you_sure: Biztos vagy benne?
|
are_you_sure: Biztos vagy benne?
|
||||||
comment:
|
comment:
|
||||||
none: Egyik sem
|
none: Egyik sem
|
||||||
delete: Törlés
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Megjelölés megoldottként
|
mark_as_resolved: Megjelölés megoldottként
|
||||||
nsfw:
|
|
||||||
'false': Média-csatolmányok rejtésének feloldása
|
|
||||||
'true': Média-csatolmányok elrejtése
|
|
||||||
report: "#%{id} számú jelentés"
|
report: "#%{id} számú jelentés"
|
||||||
report_contents: Tartalom
|
report_contents: Tartalom
|
||||||
reported_account: Bejelentett fiók
|
reported_account: Bejelentett fiók
|
||||||
|
@ -314,11 +308,8 @@ hu:
|
||||||
delete: Törlés
|
delete: Törlés
|
||||||
nsfw_off: Szenzitív tartalom kikapcsolva
|
nsfw_off: Szenzitív tartalom kikapcsolva
|
||||||
nsfw_on: Szenzitív tartalom bekapcsolva
|
nsfw_on: Szenzitív tartalom bekapcsolva
|
||||||
execute: Végrehajt
|
|
||||||
failed_to_execute: Végrehajtás sikertelen
|
failed_to_execute: Végrehajtás sikertelen
|
||||||
media:
|
media:
|
||||||
hide: Média elrejtése
|
|
||||||
show: Média megjelenítése
|
|
||||||
title: Média
|
title: Média
|
||||||
no_media: Nem található médiafájl
|
no_media: Nem található médiafájl
|
||||||
title: Felhasználó tülkjei
|
title: Felhasználó tülkjei
|
||||||
|
|
|
@ -107,7 +107,6 @@ id:
|
||||||
reports:
|
reports:
|
||||||
comment:
|
comment:
|
||||||
none: Tidak ada
|
none: Tidak ada
|
||||||
delete: Hapus
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Tandai telah diseleseikan
|
mark_as_resolved: Tandai telah diseleseikan
|
||||||
report: 'Laporkan #%{id}'
|
report: 'Laporkan #%{id}'
|
||||||
|
|
|
@ -106,7 +106,6 @@ io:
|
||||||
reports:
|
reports:
|
||||||
comment:
|
comment:
|
||||||
none: None
|
none: None
|
||||||
delete: Delete
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Mark as resolved
|
mark_as_resolved: Mark as resolved
|
||||||
report: 'Report #%{id}'
|
report: 'Report #%{id}'
|
||||||
|
|
|
@ -49,9 +49,7 @@ it:
|
||||||
unfollow: Non seguire più
|
unfollow: Non seguire più
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderatore
|
|
||||||
create: Crea
|
create: Crea
|
||||||
created_at: Data
|
|
||||||
created_msg: Nota di moderazione creata con successo!
|
created_msg: Nota di moderazione creata con successo!
|
||||||
delete: Elimina
|
delete: Elimina
|
||||||
destroyed_msg: Nota di moderazione distrutta con successo!
|
destroyed_msg: Nota di moderazione distrutta con successo!
|
||||||
|
@ -214,7 +212,6 @@ it:
|
||||||
assigned: Moderatore assegnato
|
assigned: Moderatore assegnato
|
||||||
comment:
|
comment:
|
||||||
none: Nessuno
|
none: Nessuno
|
||||||
delete: Elimina
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Segna come risolto
|
mark_as_resolved: Segna come risolto
|
||||||
mark_as_unresolved: Segna come non risolto
|
mark_as_unresolved: Segna come non risolto
|
||||||
|
@ -223,9 +220,6 @@ it:
|
||||||
create_and_resolve: Risolvi con nota
|
create_and_resolve: Risolvi con nota
|
||||||
create_and_unresolve: Riapri con nota
|
create_and_unresolve: Riapri con nota
|
||||||
delete: Elimina
|
delete: Elimina
|
||||||
nsfw:
|
|
||||||
'false': Mostra gli allegati multimediali
|
|
||||||
'true': Nascondi allegati multimediali
|
|
||||||
report_contents: Contenuti
|
report_contents: Contenuti
|
||||||
resolved: Risolto
|
resolved: Risolto
|
||||||
silence_account: Silenzia account
|
silence_account: Silenzia account
|
||||||
|
@ -266,11 +260,8 @@ it:
|
||||||
delete: Elimina
|
delete: Elimina
|
||||||
nsfw_off: NSFW OFF
|
nsfw_off: NSFW OFF
|
||||||
nsfw_on: NSFW ON
|
nsfw_on: NSFW ON
|
||||||
execute: Esegui
|
|
||||||
failed_to_execute: Impossibile eseguire
|
failed_to_execute: Impossibile eseguire
|
||||||
media:
|
media:
|
||||||
hide: Nascondi media
|
|
||||||
show: Mostra media
|
|
||||||
title: Media
|
title: Media
|
||||||
no_media: Nessun media
|
no_media: Nessun media
|
||||||
with_media: con media
|
with_media: con media
|
||||||
|
|
|
@ -53,9 +53,7 @@ ja:
|
||||||
unfollow: フォロー解除
|
unfollow: フォロー解除
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: モデレータ
|
|
||||||
create: 書き込む
|
create: 書き込む
|
||||||
created_at: 日付
|
|
||||||
created_msg: モデレーションメモを書き込みました!
|
created_msg: モデレーションメモを書き込みました!
|
||||||
delete: 削除
|
delete: 削除
|
||||||
destroyed_msg: モデレーションメモを削除しました!
|
destroyed_msg: モデレーションメモを削除しました!
|
||||||
|
@ -269,7 +267,6 @@ ja:
|
||||||
comment:
|
comment:
|
||||||
none: なし
|
none: なし
|
||||||
created_at: レポート日時
|
created_at: レポート日時
|
||||||
delete: 削除
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: 解決済みとしてマーク
|
mark_as_resolved: 解決済みとしてマーク
|
||||||
mark_as_unresolved: 未解決として再び開く
|
mark_as_unresolved: 未解決として再び開く
|
||||||
|
@ -279,9 +276,6 @@ ja:
|
||||||
create_and_unresolve: 書き込み、未解決として開く
|
create_and_unresolve: 書き込み、未解決として開く
|
||||||
delete: 削除
|
delete: 削除
|
||||||
placeholder: このレポートに取られた措置や、その他の更新を記述してください…
|
placeholder: このレポートに取られた措置や、その他の更新を記述してください…
|
||||||
nsfw:
|
|
||||||
'false': NSFW オフ
|
|
||||||
'true': NSFW オン
|
|
||||||
reopen: 再び開く
|
reopen: 再び開く
|
||||||
report: レポート#%{id}
|
report: レポート#%{id}
|
||||||
report_contents: 内容
|
report_contents: 内容
|
||||||
|
@ -356,11 +350,8 @@ ja:
|
||||||
delete: 削除
|
delete: 削除
|
||||||
nsfw_off: 閲覧注意のマークを取り除く
|
nsfw_off: 閲覧注意のマークを取り除く
|
||||||
nsfw_on: 閲覧注意としてマークする
|
nsfw_on: 閲覧注意としてマークする
|
||||||
execute: 実行
|
|
||||||
failed_to_execute: 実行に失敗しました
|
failed_to_execute: 実行に失敗しました
|
||||||
media:
|
media:
|
||||||
hide: メディアを隠す
|
|
||||||
show: メディアを表示
|
|
||||||
title: メディア
|
title: メディア
|
||||||
no_media: メディアなし
|
no_media: メディアなし
|
||||||
title: トゥート一覧
|
title: トゥート一覧
|
||||||
|
|
|
@ -53,9 +53,7 @@ ko:
|
||||||
unfollow: 팔로우 해제
|
unfollow: 팔로우 해제
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: 모더레이터
|
|
||||||
create: 작성하기
|
create: 작성하기
|
||||||
created_at: 작성 날짜
|
|
||||||
created_msg: 모더레이션 기록이 성공적으로 작성되었습니다!
|
created_msg: 모더레이션 기록이 성공적으로 작성되었습니다!
|
||||||
delete: 삭제
|
delete: 삭제
|
||||||
destroyed_msg: 모더레이션 기록이 성공적으로 삭제되었습니다!
|
destroyed_msg: 모더레이션 기록이 성공적으로 삭제되었습니다!
|
||||||
|
@ -271,7 +269,6 @@ ko:
|
||||||
comment:
|
comment:
|
||||||
none: 없음
|
none: 없음
|
||||||
created_at: 리포트 시각
|
created_at: 리포트 시각
|
||||||
delete: 삭제
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: 해결 완료 처리
|
mark_as_resolved: 해결 완료 처리
|
||||||
mark_as_unresolved: 미해결로 표시
|
mark_as_unresolved: 미해결로 표시
|
||||||
|
@ -281,9 +278,6 @@ ko:
|
||||||
create_and_unresolve: 노트 작성과 함께 미해결로 표시
|
create_and_unresolve: 노트 작성과 함께 미해결로 표시
|
||||||
delete: 삭제
|
delete: 삭제
|
||||||
placeholder: 이 리포트에 대한 조치, 다른 업데이트 사항에 대해 설명합니다…
|
placeholder: 이 리포트에 대한 조치, 다른 업데이트 사항에 대해 설명합니다…
|
||||||
nsfw:
|
|
||||||
'false': NSFW 꺼짐
|
|
||||||
'true': NSFW 켜짐
|
|
||||||
reopen: 리포트 다시 열기
|
reopen: 리포트 다시 열기
|
||||||
report: '신고 #%{id}'
|
report: '신고 #%{id}'
|
||||||
report_contents: 내용
|
report_contents: 내용
|
||||||
|
@ -358,11 +352,8 @@ ko:
|
||||||
delete: 삭제
|
delete: 삭제
|
||||||
nsfw_off: NSFW 끄기
|
nsfw_off: NSFW 끄기
|
||||||
nsfw_on: NSFW 켜기
|
nsfw_on: NSFW 켜기
|
||||||
execute: 실행
|
|
||||||
failed_to_execute: 실행을 실패하였습니다
|
failed_to_execute: 실행을 실패하였습니다
|
||||||
media:
|
media:
|
||||||
hide: 미디어 숨기기
|
|
||||||
show: 미디어 보여주기
|
|
||||||
title: 미디어
|
title: 미디어
|
||||||
no_media: 미디어 없음
|
no_media: 미디어 없음
|
||||||
title: 계정 툿
|
title: 계정 툿
|
||||||
|
|
|
@ -53,9 +53,7 @@ nl:
|
||||||
unfollow: Ontvolgen
|
unfollow: Ontvolgen
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderator
|
|
||||||
create: Aanmaken
|
create: Aanmaken
|
||||||
created_at: Datum
|
|
||||||
created_msg: Aanmaken van opmerking voor moderatoren geslaagd!
|
created_msg: Aanmaken van opmerking voor moderatoren geslaagd!
|
||||||
delete: Verwijderen
|
delete: Verwijderen
|
||||||
destroyed_msg: Verwijderen van opmerking voor moderatoren geslaagd!
|
destroyed_msg: Verwijderen van opmerking voor moderatoren geslaagd!
|
||||||
|
@ -269,7 +267,6 @@ nl:
|
||||||
comment:
|
comment:
|
||||||
none: Geen
|
none: Geen
|
||||||
created_at: Gerapporteerd op
|
created_at: Gerapporteerd op
|
||||||
delete: Verwijderen
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Markeer als opgelost
|
mark_as_resolved: Markeer als opgelost
|
||||||
mark_as_unresolved: Markeer als onopgelost
|
mark_as_unresolved: Markeer als onopgelost
|
||||||
|
@ -279,9 +276,6 @@ nl:
|
||||||
create_and_unresolve: Heropenen met opmerking
|
create_and_unresolve: Heropenen met opmerking
|
||||||
delete: Verwijderen
|
delete: Verwijderen
|
||||||
placeholder: Beschrijf welke acties zijn ondernomen of andere opmerkingen over deze gerapporteerde toot…
|
placeholder: Beschrijf welke acties zijn ondernomen of andere opmerkingen over deze gerapporteerde toot…
|
||||||
nsfw:
|
|
||||||
'false': Media tonen
|
|
||||||
'true': Media verbergen
|
|
||||||
reopen: Gerapporteerde toot heropenen
|
reopen: Gerapporteerde toot heropenen
|
||||||
report: 'Gerapporteerde toot #%{id}'
|
report: 'Gerapporteerde toot #%{id}'
|
||||||
report_contents: Inhoud
|
report_contents: Inhoud
|
||||||
|
@ -356,11 +350,8 @@ nl:
|
||||||
delete: Verwijderen
|
delete: Verwijderen
|
||||||
nsfw_off: Als niet gevoelig markeren
|
nsfw_off: Als niet gevoelig markeren
|
||||||
nsfw_on: Als gevoelig markeren
|
nsfw_on: Als gevoelig markeren
|
||||||
execute: Uitvoeren
|
|
||||||
failed_to_execute: Uitvoeren mislukt
|
failed_to_execute: Uitvoeren mislukt
|
||||||
media:
|
media:
|
||||||
hide: Media verbergen
|
|
||||||
show: Media tonen
|
|
||||||
title: Media
|
title: Media
|
||||||
no_media: Geen media
|
no_media: Geen media
|
||||||
title: Toots van account
|
title: Toots van account
|
||||||
|
|
|
@ -52,9 +52,7 @@
|
||||||
unfollow: Slutte følge
|
unfollow: Slutte følge
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderator
|
|
||||||
create: Lag
|
create: Lag
|
||||||
created_at: Dato
|
|
||||||
created_msg: Moderasjonsnotat laget uten problem!
|
created_msg: Moderasjonsnotat laget uten problem!
|
||||||
delete: Slett
|
delete: Slett
|
||||||
destroyed_msg: Moderasjonsnotat slettet uten problem!
|
destroyed_msg: Moderasjonsnotat slettet uten problem!
|
||||||
|
@ -244,12 +242,8 @@
|
||||||
are_you_sure: Er du sikker?
|
are_you_sure: Er du sikker?
|
||||||
comment:
|
comment:
|
||||||
none: Ingen
|
none: Ingen
|
||||||
delete: Slett
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Merk som løst
|
mark_as_resolved: Merk som løst
|
||||||
nsfw:
|
|
||||||
'false': Vis mediavedlegg
|
|
||||||
'true': Skjul mediavedlegg
|
|
||||||
report: 'Rapportér #%{id}'
|
report: 'Rapportér #%{id}'
|
||||||
report_contents: Innhold
|
report_contents: Innhold
|
||||||
reported_account: Rapportert konto
|
reported_account: Rapportert konto
|
||||||
|
@ -314,11 +308,8 @@
|
||||||
delete: Slett
|
delete: Slett
|
||||||
nsfw_off: NSFW AV
|
nsfw_off: NSFW AV
|
||||||
nsfw_on: NSFW PÅ
|
nsfw_on: NSFW PÅ
|
||||||
execute: Utfør
|
|
||||||
failed_to_execute: Utføring mislyktes
|
failed_to_execute: Utføring mislyktes
|
||||||
media:
|
media:
|
||||||
hide: Skjul media
|
|
||||||
show: Vis media
|
|
||||||
title: Media
|
title: Media
|
||||||
no_media: Ingen media
|
no_media: Ingen media
|
||||||
title: Kontostatuser
|
title: Kontostatuser
|
||||||
|
|
|
@ -53,9 +53,7 @@ oc:
|
||||||
unfollow: Quitar de sègre
|
unfollow: Quitar de sègre
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderator
|
|
||||||
create: Crear
|
create: Crear
|
||||||
created_at: Data
|
|
||||||
created_msg: Nòta de moderacion ben creada !
|
created_msg: Nòta de moderacion ben creada !
|
||||||
delete: Suprimir
|
delete: Suprimir
|
||||||
destroyed_msg: Nòta de moderacion ben suprimida !
|
destroyed_msg: Nòta de moderacion ben suprimida !
|
||||||
|
@ -265,7 +263,6 @@ oc:
|
||||||
comment:
|
comment:
|
||||||
none: Pas cap
|
none: Pas cap
|
||||||
created_at: Creacion
|
created_at: Creacion
|
||||||
delete: Suprimir
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Marcar coma resolgut
|
mark_as_resolved: Marcar coma resolgut
|
||||||
mark_as_unresolved: Marcar coma pas resolgut
|
mark_as_unresolved: Marcar coma pas resolgut
|
||||||
|
@ -274,9 +271,6 @@ oc:
|
||||||
create_and_resolve: Resòlvre amb una nòta
|
create_and_resolve: Resòlvre amb una nòta
|
||||||
create_and_unresolve: Tornar dobrir amb una nòta
|
create_and_unresolve: Tornar dobrir amb una nòta
|
||||||
placeholder: Explicatz las accions que son estadas menadas o çò qu’es estat fach per aqueste rapòrt…
|
placeholder: Explicatz las accions que son estadas menadas o çò qu’es estat fach per aqueste rapòrt…
|
||||||
nsfw:
|
|
||||||
'false': Sens contengut sensible
|
|
||||||
'true': Contengut sensible activat
|
|
||||||
reopen: Tornar dobrir lo rapòrt
|
reopen: Tornar dobrir lo rapòrt
|
||||||
report: 'senhalament #%{id}'
|
report: 'senhalament #%{id}'
|
||||||
report_contents: Contenguts
|
report_contents: Contenguts
|
||||||
|
@ -348,11 +342,8 @@ oc:
|
||||||
delete: Suprimir
|
delete: Suprimir
|
||||||
nsfw_off: NSFW OFF
|
nsfw_off: NSFW OFF
|
||||||
nsfw_on: NSFW ON
|
nsfw_on: NSFW ON
|
||||||
execute: Lançar
|
|
||||||
failed_to_execute: Fracàs
|
failed_to_execute: Fracàs
|
||||||
media:
|
media:
|
||||||
hide: Amagar mèdia
|
|
||||||
show: Mostrar mèdia
|
|
||||||
title: Mèdia
|
title: Mèdia
|
||||||
no_media: Cap mèdia
|
no_media: Cap mèdia
|
||||||
title: Estatuts del compte
|
title: Estatuts del compte
|
||||||
|
|
|
@ -53,9 +53,7 @@ pl:
|
||||||
unfollow: Przestań śledzić
|
unfollow: Przestań śledzić
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Autor
|
|
||||||
create: Dodaj
|
create: Dodaj
|
||||||
created_at: Data
|
|
||||||
created_msg: Pomyślnie dodano notatkę moderacyjną!
|
created_msg: Pomyślnie dodano notatkę moderacyjną!
|
||||||
delete: Usuń
|
delete: Usuń
|
||||||
destroyed_msg: Pomyślnie usunięto notatkę moderacyjną!
|
destroyed_msg: Pomyślnie usunięto notatkę moderacyjną!
|
||||||
|
@ -270,7 +268,6 @@ pl:
|
||||||
comment:
|
comment:
|
||||||
none: Brak
|
none: Brak
|
||||||
created_at: Zgłoszono
|
created_at: Zgłoszono
|
||||||
delete: Usuń
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Oznacz jako rozwiązane
|
mark_as_resolved: Oznacz jako rozwiązane
|
||||||
mark_as_unresolved: Oznacz jako nierozwiązane
|
mark_as_unresolved: Oznacz jako nierozwiązane
|
||||||
|
@ -280,9 +277,6 @@ pl:
|
||||||
create_and_unresolve: Cofnij rozwiązanie i pozostaw notatkę
|
create_and_unresolve: Cofnij rozwiązanie i pozostaw notatkę
|
||||||
delete: Usuń
|
delete: Usuń
|
||||||
placeholder: Opisz wykonane akcje i inne szczegóły dotyczące tego zgłoszenia…
|
placeholder: Opisz wykonane akcje i inne szczegóły dotyczące tego zgłoszenia…
|
||||||
nsfw:
|
|
||||||
'false': Nie oznaczaj jako NSFW
|
|
||||||
'true': Oznaczaj jako NSFW
|
|
||||||
reopen: Otwórz ponownie
|
reopen: Otwórz ponownie
|
||||||
report: 'Zgłoszenie #%{id}'
|
report: 'Zgłoszenie #%{id}'
|
||||||
report_contents: Zawartość
|
report_contents: Zawartość
|
||||||
|
@ -357,11 +351,8 @@ pl:
|
||||||
delete: Usuń
|
delete: Usuń
|
||||||
nsfw_off: Cofnij NSFW
|
nsfw_off: Cofnij NSFW
|
||||||
nsfw_on: Oznacz jako NSFW
|
nsfw_on: Oznacz jako NSFW
|
||||||
execute: Wykonaj
|
|
||||||
failed_to_execute: Nie udało się wykonać
|
failed_to_execute: Nie udało się wykonać
|
||||||
media:
|
media:
|
||||||
hide: Ukryj zawartość multimedialną
|
|
||||||
show: Pokaż zawartość multimedialną
|
|
||||||
title: Media
|
title: Media
|
||||||
no_media: Bez zawartości multimedialnej
|
no_media: Bez zawartości multimedialnej
|
||||||
title: Wpisy konta
|
title: Wpisy konta
|
||||||
|
|
|
@ -53,9 +53,7 @@ pt-BR:
|
||||||
unfollow: Deixar de seguir
|
unfollow: Deixar de seguir
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderador
|
|
||||||
create: Criar
|
create: Criar
|
||||||
created_at: Data
|
|
||||||
created_msg: Nota de moderação criada com sucesso!
|
created_msg: Nota de moderação criada com sucesso!
|
||||||
delete: Excluir
|
delete: Excluir
|
||||||
destroyed_msg: Nota de moderação excluída com sucesso!
|
destroyed_msg: Nota de moderação excluída com sucesso!
|
||||||
|
@ -269,7 +267,6 @@ pt-BR:
|
||||||
comment:
|
comment:
|
||||||
none: Nenhum
|
none: Nenhum
|
||||||
created_at: Denunciado
|
created_at: Denunciado
|
||||||
delete: Excluir
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Marcar como resolvido
|
mark_as_resolved: Marcar como resolvido
|
||||||
mark_as_unresolved: Marcar como não resolvido
|
mark_as_unresolved: Marcar como não resolvido
|
||||||
|
@ -279,9 +276,6 @@ pt-BR:
|
||||||
create_and_unresolve: Reabrir com nota
|
create_and_unresolve: Reabrir com nota
|
||||||
delete: Excluir
|
delete: Excluir
|
||||||
placeholder: Descreva que ações foram tomadas, ou quaisquer atualizações sobre esta denúncia…
|
placeholder: Descreva que ações foram tomadas, ou quaisquer atualizações sobre esta denúncia…
|
||||||
nsfw:
|
|
||||||
'false': Mostrar mídias anexadas
|
|
||||||
'true': Esconder mídias anexadas
|
|
||||||
reopen: Reabrir denúncia
|
reopen: Reabrir denúncia
|
||||||
report: 'Denúncia #%{id}'
|
report: 'Denúncia #%{id}'
|
||||||
report_contents: Conteúdos
|
report_contents: Conteúdos
|
||||||
|
@ -356,11 +350,8 @@ pt-BR:
|
||||||
delete: Deletar
|
delete: Deletar
|
||||||
nsfw_off: Marcar como não-sensível
|
nsfw_off: Marcar como não-sensível
|
||||||
nsfw_on: Marcar como sensível
|
nsfw_on: Marcar como sensível
|
||||||
execute: Executar
|
|
||||||
failed_to_execute: Falha em executar
|
failed_to_execute: Falha em executar
|
||||||
media:
|
media:
|
||||||
hide: Esconder mídia
|
|
||||||
show: Mostrar mídia
|
|
||||||
title: Mídia
|
title: Mídia
|
||||||
no_media: Não há mídia
|
no_media: Não há mídia
|
||||||
title: Postagens da conta
|
title: Postagens da conta
|
||||||
|
|
|
@ -52,9 +52,7 @@ pt:
|
||||||
unfollow: Deixar de seguir
|
unfollow: Deixar de seguir
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderador
|
|
||||||
create: Criar
|
create: Criar
|
||||||
created_at: Data
|
|
||||||
created_msg: Nota de moderação criada com sucesso!
|
created_msg: Nota de moderação criada com sucesso!
|
||||||
delete: Eliminar
|
delete: Eliminar
|
||||||
destroyed_msg: Nota de moderação excluída com sucesso!
|
destroyed_msg: Nota de moderação excluída com sucesso!
|
||||||
|
@ -244,12 +242,8 @@ pt:
|
||||||
are_you_sure: Tens a certeza?
|
are_you_sure: Tens a certeza?
|
||||||
comment:
|
comment:
|
||||||
none: Nenhum
|
none: Nenhum
|
||||||
delete: Eliminar
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Marcar como resolvido
|
mark_as_resolved: Marcar como resolvido
|
||||||
nsfw:
|
|
||||||
'false': Mostrar imagens/vídeos
|
|
||||||
'true': Esconder imagens/vídeos
|
|
||||||
report: 'Denúncia #%{id}'
|
report: 'Denúncia #%{id}'
|
||||||
report_contents: Conteúdos
|
report_contents: Conteúdos
|
||||||
reported_account: Conta denunciada
|
reported_account: Conta denunciada
|
||||||
|
@ -314,11 +308,8 @@ pt:
|
||||||
delete: Eliminar
|
delete: Eliminar
|
||||||
nsfw_off: NSFW OFF
|
nsfw_off: NSFW OFF
|
||||||
nsfw_on: NSFW ON
|
nsfw_on: NSFW ON
|
||||||
execute: Executar
|
|
||||||
failed_to_execute: Falhou ao executar
|
failed_to_execute: Falhou ao executar
|
||||||
media:
|
media:
|
||||||
hide: Esconder média
|
|
||||||
show: Mostrar média
|
|
||||||
title: Média
|
title: Média
|
||||||
no_media: Não há média
|
no_media: Não há média
|
||||||
title: Estado das contas
|
title: Estado das contas
|
||||||
|
|
|
@ -52,9 +52,7 @@ ru:
|
||||||
unfollow: Отписаться
|
unfollow: Отписаться
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Модератор
|
|
||||||
create: Создать
|
create: Создать
|
||||||
created_at: Дата
|
|
||||||
created_msg: Заметка модератора успешно создана!
|
created_msg: Заметка модератора успешно создана!
|
||||||
delete: Удалить
|
delete: Удалить
|
||||||
destroyed_msg: Заметка модератора успешно удалена!
|
destroyed_msg: Заметка модератора успешно удалена!
|
||||||
|
@ -246,12 +244,8 @@ ru:
|
||||||
are_you_sure: Вы уверены?
|
are_you_sure: Вы уверены?
|
||||||
comment:
|
comment:
|
||||||
none: Нет
|
none: Нет
|
||||||
delete: Удалить
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Отметить как разрешенную
|
mark_as_resolved: Отметить как разрешенную
|
||||||
nsfw:
|
|
||||||
'false': Показать мультимедийные вложения
|
|
||||||
'true': Скрыть мультимедийные вложения
|
|
||||||
report: 'Жалоба #%{id}'
|
report: 'Жалоба #%{id}'
|
||||||
report_contents: Содержимое
|
report_contents: Содержимое
|
||||||
reported_account: Аккаунт нарушителя
|
reported_account: Аккаунт нарушителя
|
||||||
|
@ -322,11 +316,8 @@ ru:
|
||||||
delete: Удалить
|
delete: Удалить
|
||||||
nsfw_off: Выключить NSFW
|
nsfw_off: Выключить NSFW
|
||||||
nsfw_on: Включить NSFW
|
nsfw_on: Включить NSFW
|
||||||
execute: Выполнить
|
|
||||||
failed_to_execute: Не удалось выполнить
|
failed_to_execute: Не удалось выполнить
|
||||||
media:
|
media:
|
||||||
hide: Скрыть медиаконтент
|
|
||||||
show: Показать медиаконтент
|
|
||||||
title: Медиаконтент
|
title: Медиаконтент
|
||||||
no_media: Без медиаконтента
|
no_media: Без медиаконтента
|
||||||
title: Статусы аккаунта
|
title: Статусы аккаунта
|
||||||
|
|
|
@ -53,9 +53,7 @@ sk:
|
||||||
unfollow: Prestať sledovať
|
unfollow: Prestať sledovať
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderátor
|
|
||||||
create: Vytvoriť
|
create: Vytvoriť
|
||||||
created_at: Dátum
|
|
||||||
created_msg: Poznámka moderátora bola úspešne vytvorená!
|
created_msg: Poznámka moderátora bola úspešne vytvorená!
|
||||||
delete: Zmazať
|
delete: Zmazať
|
||||||
destroyed_msg: Poznámka moderátora bola úspešne zmazaná!
|
destroyed_msg: Poznámka moderátora bola úspešne zmazaná!
|
||||||
|
@ -268,7 +266,6 @@ sk:
|
||||||
comment:
|
comment:
|
||||||
none: Žiadne
|
none: Žiadne
|
||||||
created_at: Nahlásené
|
created_at: Nahlásené
|
||||||
delete: Vymazať
|
|
||||||
id: Identifikácia
|
id: Identifikácia
|
||||||
mark_as_resolved: Označiť ako vyriešené
|
mark_as_resolved: Označiť ako vyriešené
|
||||||
mark_as_unresolved: Označ ako nevyriešené
|
mark_as_unresolved: Označ ako nevyriešené
|
||||||
|
@ -278,9 +275,6 @@ sk:
|
||||||
create_and_unresolve: Otvor znovu, s poznámkou
|
create_and_unresolve: Otvor znovu, s poznámkou
|
||||||
delete: Vymaž
|
delete: Vymaž
|
||||||
placeholder: Opíš aké opatrenia boli urobené, alebo akékoľvek iné aktualizácie k tomuto nahláseniu…
|
placeholder: Opíš aké opatrenia boli urobené, alebo akékoľvek iné aktualizácie k tomuto nahláseniu…
|
||||||
nsfw:
|
|
||||||
'false': Odkryť mediálne prílohy
|
|
||||||
'true': Skryť mediálne prílohy
|
|
||||||
reopen: Znovu otvor report
|
reopen: Znovu otvor report
|
||||||
report: Nahlásiť
|
report: Nahlásiť
|
||||||
report_contents: Obsah
|
report_contents: Obsah
|
||||||
|
@ -355,11 +349,8 @@ sk:
|
||||||
delete: Vymazať
|
delete: Vymazať
|
||||||
nsfw_off: Obsah nieje chúlostivý
|
nsfw_off: Obsah nieje chúlostivý
|
||||||
nsfw_on: Označ obeah aka chúlostivý
|
nsfw_on: Označ obeah aka chúlostivý
|
||||||
execute: Vykonať
|
|
||||||
failed_to_execute: Nepodarilo sa vykonať
|
failed_to_execute: Nepodarilo sa vykonať
|
||||||
media:
|
media:
|
||||||
hide: Skryť médiá
|
|
||||||
show: Zobraziť médiá
|
|
||||||
title: Médiá
|
title: Médiá
|
||||||
no_media: Žiadné médiá
|
no_media: Žiadné médiá
|
||||||
title: Statusy na účte
|
title: Statusy na účte
|
||||||
|
|
|
@ -52,9 +52,7 @@ sr-Latn:
|
||||||
unfollow: Otprati
|
unfollow: Otprati
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderator
|
|
||||||
create: Napravi
|
create: Napravi
|
||||||
created_at: Datum
|
|
||||||
created_msg: Moderatorska beleška uspešno napravljena!
|
created_msg: Moderatorska beleška uspešno napravljena!
|
||||||
delete: Obriši
|
delete: Obriši
|
||||||
destroyed_msg: Moderatorska beleška uspešno obrisana!
|
destroyed_msg: Moderatorska beleška uspešno obrisana!
|
||||||
|
@ -246,12 +244,8 @@ sr-Latn:
|
||||||
are_you_sure: Da li ste sigurni?
|
are_you_sure: Da li ste sigurni?
|
||||||
comment:
|
comment:
|
||||||
none: Ništa
|
none: Ništa
|
||||||
delete: Obriši
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Označi kao rešen
|
mark_as_resolved: Označi kao rešen
|
||||||
nsfw:
|
|
||||||
'false': Otkrij medijske priloge
|
|
||||||
'true': Sakrij medijske priloge
|
|
||||||
report: 'Prijava #%{id}'
|
report: 'Prijava #%{id}'
|
||||||
report_contents: Sadržaj
|
report_contents: Sadržaj
|
||||||
reported_account: Prijavljeni nalog
|
reported_account: Prijavljeni nalog
|
||||||
|
@ -310,11 +304,8 @@ sr-Latn:
|
||||||
delete: Obriši
|
delete: Obriši
|
||||||
nsfw_off: NSFW isključen
|
nsfw_off: NSFW isključen
|
||||||
nsfw_on: NSFW uključen
|
nsfw_on: NSFW uključen
|
||||||
execute: Izvrši
|
|
||||||
failed_to_execute: Neuspelo izvršavanje
|
failed_to_execute: Neuspelo izvršavanje
|
||||||
media:
|
media:
|
||||||
hide: Sakrij multimediju
|
|
||||||
show: Prikaži multimediju
|
|
||||||
title: Multimedija
|
title: Multimedija
|
||||||
no_media: Bez multimedije
|
no_media: Bez multimedije
|
||||||
title: Statusi naloga
|
title: Statusi naloga
|
||||||
|
|
|
@ -52,9 +52,7 @@ sr:
|
||||||
unfollow: Отпрати
|
unfollow: Отпрати
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Модератор
|
|
||||||
create: Направи
|
create: Направи
|
||||||
created_at: Датум
|
|
||||||
created_msg: Модераторска белешка успешно направљена!
|
created_msg: Модераторска белешка успешно направљена!
|
||||||
delete: Обриши
|
delete: Обриши
|
||||||
destroyed_msg: Модераторска белешка успешно обрисана!
|
destroyed_msg: Модераторска белешка успешно обрисана!
|
||||||
|
@ -246,12 +244,8 @@ sr:
|
||||||
are_you_sure: Да ли сте сигурни?
|
are_you_sure: Да ли сте сигурни?
|
||||||
comment:
|
comment:
|
||||||
none: Ништа
|
none: Ништа
|
||||||
delete: Обриши
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Означи као решен
|
mark_as_resolved: Означи као решен
|
||||||
nsfw:
|
|
||||||
'false': Откриј медијске прилоге
|
|
||||||
'true': Сакриј медијске прилоге
|
|
||||||
report: 'Пријава #%{id}'
|
report: 'Пријава #%{id}'
|
||||||
report_contents: Садржај
|
report_contents: Садржај
|
||||||
reported_account: Пријављени налог
|
reported_account: Пријављени налог
|
||||||
|
@ -310,11 +304,8 @@ sr:
|
||||||
delete: Обриши
|
delete: Обриши
|
||||||
nsfw_off: NSFW искључен
|
nsfw_off: NSFW искључен
|
||||||
nsfw_on: NSFW укључен
|
nsfw_on: NSFW укључен
|
||||||
execute: Изврши
|
|
||||||
failed_to_execute: Неуспело извршавање
|
failed_to_execute: Неуспело извршавање
|
||||||
media:
|
media:
|
||||||
hide: Сакриј мултимедију
|
|
||||||
show: Прикажи мултимедију
|
|
||||||
title: Мултимедија
|
title: Мултимедија
|
||||||
no_media: Без мултимедије
|
no_media: Без мултимедије
|
||||||
title: Статуси налога
|
title: Статуси налога
|
||||||
|
|
|
@ -53,9 +53,7 @@ sv:
|
||||||
unfollow: Sluta följa
|
unfollow: Sluta följa
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: Moderator
|
|
||||||
create: Skapa
|
create: Skapa
|
||||||
created_at: Datum
|
|
||||||
created_msg: Modereringsnotering skapad utan problem!
|
created_msg: Modereringsnotering skapad utan problem!
|
||||||
delete: Ta bort
|
delete: Ta bort
|
||||||
destroyed_msg: Modereringsnotering borttagen utan problem!
|
destroyed_msg: Modereringsnotering borttagen utan problem!
|
||||||
|
@ -269,7 +267,6 @@ sv:
|
||||||
comment:
|
comment:
|
||||||
none: Ingen
|
none: Ingen
|
||||||
created_at: Anmäld
|
created_at: Anmäld
|
||||||
delete: Radera
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Markera som löst
|
mark_as_resolved: Markera som löst
|
||||||
mark_as_unresolved: Markera som olöst
|
mark_as_unresolved: Markera som olöst
|
||||||
|
@ -279,9 +276,6 @@ sv:
|
||||||
create_and_unresolve: Återuppta med anteckning
|
create_and_unresolve: Återuppta med anteckning
|
||||||
delete: Radera
|
delete: Radera
|
||||||
placeholder: Beskriv vilka åtgärder som vidtagits eller andra uppdateringar till den här anmälan…
|
placeholder: Beskriv vilka åtgärder som vidtagits eller andra uppdateringar till den här anmälan…
|
||||||
nsfw:
|
|
||||||
'false': Visa bifogade mediafiler
|
|
||||||
'true': Dölj bifogade mediafiler
|
|
||||||
reopen: Återuppta anmälan
|
reopen: Återuppta anmälan
|
||||||
report: 'Anmäl #%{id}'
|
report: 'Anmäl #%{id}'
|
||||||
report_contents: Innehåll
|
report_contents: Innehåll
|
||||||
|
@ -356,11 +350,8 @@ sv:
|
||||||
delete: Radera
|
delete: Radera
|
||||||
nsfw_off: Markera som ej känslig
|
nsfw_off: Markera som ej känslig
|
||||||
nsfw_on: Markera som känslig
|
nsfw_on: Markera som känslig
|
||||||
execute: Utför
|
|
||||||
failed_to_execute: Misslyckades att utföra
|
failed_to_execute: Misslyckades att utföra
|
||||||
media:
|
media:
|
||||||
hide: Dölj media
|
|
||||||
show: Visa media
|
|
||||||
title: Media
|
title: Media
|
||||||
no_media: Ingen media
|
no_media: Ingen media
|
||||||
title: Kontostatus
|
title: Kontostatus
|
||||||
|
|
|
@ -109,7 +109,6 @@ th:
|
||||||
reports:
|
reports:
|
||||||
comment:
|
comment:
|
||||||
none: None
|
none: None
|
||||||
delete: ลบ
|
|
||||||
id: ไอดี
|
id: ไอดี
|
||||||
mark_as_resolved: ทำเครื่องหมายว่าจัดการแล้ว
|
mark_as_resolved: ทำเครื่องหมายว่าจัดการแล้ว
|
||||||
report: 'Report #%{id}'
|
report: 'Report #%{id}'
|
||||||
|
|
|
@ -108,7 +108,6 @@ tr:
|
||||||
reports:
|
reports:
|
||||||
comment:
|
comment:
|
||||||
none: Yok
|
none: Yok
|
||||||
delete: Sil
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Giderildi olarak işaretle
|
mark_as_resolved: Giderildi olarak işaretle
|
||||||
report: 'Şikayet #%{id}'
|
report: 'Şikayet #%{id}'
|
||||||
|
|
|
@ -100,7 +100,6 @@ uk:
|
||||||
reports:
|
reports:
|
||||||
comment:
|
comment:
|
||||||
none: Немає
|
none: Немає
|
||||||
delete: Видалити
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: Відмітити як вирішену
|
mark_as_resolved: Відмітити як вирішену
|
||||||
report: 'Скарга #%{id}'
|
report: 'Скарга #%{id}'
|
||||||
|
|
|
@ -52,9 +52,7 @@ zh-CN:
|
||||||
unfollow: 取消关注
|
unfollow: 取消关注
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: 管理员
|
|
||||||
create: 新建
|
create: 新建
|
||||||
created_at: 日期
|
|
||||||
created_msg: 管理备忘建立成功!
|
created_msg: 管理备忘建立成功!
|
||||||
delete: 删除
|
delete: 删除
|
||||||
destroyed_msg: 管理备忘删除成功!
|
destroyed_msg: 管理备忘删除成功!
|
||||||
|
@ -242,12 +240,8 @@ zh-CN:
|
||||||
are_you_sure: 你确定吗?
|
are_you_sure: 你确定吗?
|
||||||
comment:
|
comment:
|
||||||
none: 没有
|
none: 没有
|
||||||
delete: 删除
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: 标记为“已处理”
|
mark_as_resolved: 标记为“已处理”
|
||||||
nsfw:
|
|
||||||
'false': 取消 NSFW 标记
|
|
||||||
'true': 添加 NSFW 标记
|
|
||||||
report: '举报 #%{id}'
|
report: '举报 #%{id}'
|
||||||
report_contents: 内容
|
report_contents: 内容
|
||||||
reported_account: 举报用户
|
reported_account: 举报用户
|
||||||
|
@ -312,11 +306,8 @@ zh-CN:
|
||||||
delete: 删除
|
delete: 删除
|
||||||
nsfw_off: 取消 NSFW 标记
|
nsfw_off: 取消 NSFW 标记
|
||||||
nsfw_on: 添加 NSFW 标记
|
nsfw_on: 添加 NSFW 标记
|
||||||
execute: 执行
|
|
||||||
failed_to_execute: 执行失败
|
failed_to_execute: 执行失败
|
||||||
media:
|
media:
|
||||||
hide: 隐藏媒体文件
|
|
||||||
show: 显示媒体文件
|
|
||||||
title: 媒体文件
|
title: 媒体文件
|
||||||
no_media: 不含媒体文件
|
no_media: 不含媒体文件
|
||||||
title: 帐户嘟文
|
title: 帐户嘟文
|
||||||
|
|
|
@ -53,9 +53,7 @@ zh-HK:
|
||||||
unfollow: 取消關注
|
unfollow: 取消關注
|
||||||
admin:
|
admin:
|
||||||
account_moderation_notes:
|
account_moderation_notes:
|
||||||
account: 管理員
|
|
||||||
create: 新增
|
create: 新增
|
||||||
created_at: 日期
|
|
||||||
created_msg: 管理記錄已新增
|
created_msg: 管理記錄已新增
|
||||||
delete: 刪除
|
delete: 刪除
|
||||||
destroyed_msg: 管理記錄已被刪除
|
destroyed_msg: 管理記錄已被刪除
|
||||||
|
@ -268,7 +266,6 @@ zh-HK:
|
||||||
comment:
|
comment:
|
||||||
none: 沒有
|
none: 沒有
|
||||||
created_at: 日期
|
created_at: 日期
|
||||||
delete: 刪除
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: 標示為「已處理」
|
mark_as_resolved: 標示為「已處理」
|
||||||
mark_as_unresolved: 標示為「未處理」
|
mark_as_unresolved: 標示為「未處理」
|
||||||
|
@ -278,9 +275,6 @@ zh-HK:
|
||||||
create_and_unresolve: 建立筆記並標示為「未處理」
|
create_and_unresolve: 建立筆記並標示為「未處理」
|
||||||
delete: 刪除
|
delete: 刪除
|
||||||
placeholder: 記錄已執行的動作,或其他更新
|
placeholder: 記錄已執行的動作,或其他更新
|
||||||
nsfw:
|
|
||||||
'false': 取消 NSFW 標記
|
|
||||||
'true': 添加 NSFW 標記
|
|
||||||
reopen: 重開舉報
|
reopen: 重開舉報
|
||||||
report: '舉報 #%{id}'
|
report: '舉報 #%{id}'
|
||||||
report_contents: 舉報內容
|
report_contents: 舉報內容
|
||||||
|
@ -355,11 +349,8 @@ zh-HK:
|
||||||
delete: 刪除
|
delete: 刪除
|
||||||
nsfw_off: 取消 NSFW 標記
|
nsfw_off: 取消 NSFW 標記
|
||||||
nsfw_on: 添加 NSFW 標記
|
nsfw_on: 添加 NSFW 標記
|
||||||
execute: 執行
|
|
||||||
failed_to_execute: 執行失敗
|
failed_to_execute: 執行失敗
|
||||||
media:
|
media:
|
||||||
hide: 隱藏媒體檔案
|
|
||||||
show: 顯示媒體檔案
|
|
||||||
title: 媒體檔案
|
title: 媒體檔案
|
||||||
no_media: 不含媒體檔案
|
no_media: 不含媒體檔案
|
||||||
title: 帳戶文章
|
title: 帳戶文章
|
||||||
|
|
|
@ -80,7 +80,6 @@ zh-TW:
|
||||||
reports:
|
reports:
|
||||||
comment:
|
comment:
|
||||||
none: 無
|
none: 無
|
||||||
delete: 刪除
|
|
||||||
id: ID
|
id: ID
|
||||||
mark_as_resolved: 標記為已解決
|
mark_as_resolved: 標記為已解決
|
||||||
report: '檢舉 #%{id}'
|
report: '檢舉 #%{id}'
|
||||||
|
|
|
@ -135,7 +135,7 @@ Rails.application.routes.draw do
|
||||||
end
|
end
|
||||||
|
|
||||||
resources :reports, only: [:index, :show, :update] do
|
resources :reports, only: [:index, :show, :update] do
|
||||||
resources :reported_statuses, only: [:create, :update, :destroy]
|
resources :reported_statuses, only: [:create]
|
||||||
end
|
end
|
||||||
|
|
||||||
resources :report_notes, only: [:create, :destroy]
|
resources :report_notes, only: [:create, :destroy]
|
||||||
|
@ -156,7 +156,7 @@ Rails.application.routes.draw do
|
||||||
resource :silence, only: [:create, :destroy]
|
resource :silence, only: [:create, :destroy]
|
||||||
resource :suspension, only: [:create, :destroy]
|
resource :suspension, only: [:create, :destroy]
|
||||||
resource :confirmation, only: [:create]
|
resource :confirmation, only: [:create]
|
||||||
resources :statuses, only: [:index, :create, :update, :destroy]
|
resources :statuses, only: [:index, :create]
|
||||||
|
|
||||||
resource :role do
|
resource :role do
|
||||||
member do
|
member do
|
||||||
|
|
|
@ -22,7 +22,7 @@ describe Admin::ReportedStatusesController do
|
||||||
let(:sensitive) { true }
|
let(:sensitive) { true }
|
||||||
let!(:media_attachment) { Fabricate(:media_attachment, status: status) }
|
let!(:media_attachment) { Fabricate(:media_attachment, status: status) }
|
||||||
|
|
||||||
context 'updates sensitive column to true' do
|
context 'when action is nsfw_on' do
|
||||||
it 'updates sensitive column' do
|
it 'updates sensitive column' do
|
||||||
is_expected.to change {
|
is_expected.to change {
|
||||||
status.reload.sensitive
|
status.reload.sensitive
|
||||||
|
@ -30,7 +30,7 @@ describe Admin::ReportedStatusesController do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'updates sensitive column to false' do
|
context 'when action is nsfw_off' do
|
||||||
let(:action) { 'nsfw_off' }
|
let(:action) { 'nsfw_off' }
|
||||||
let(:sensitive) { false }
|
let(:sensitive) { false }
|
||||||
|
|
||||||
|
@ -41,52 +41,19 @@ describe Admin::ReportedStatusesController do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'redirects to report page' do
|
context 'when action is delete' do
|
||||||
subject.call
|
let(:action) { 'delete' }
|
||||||
expect(response).to redirect_to(admin_report_path(report))
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
describe 'PATCH #update' do
|
|
||||||
subject do
|
|
||||||
-> { patch :update, params: { report_id: report, id: status, status: { sensitive: sensitive } } }
|
|
||||||
end
|
|
||||||
|
|
||||||
let(:status) { Fabricate(:status, sensitive: !sensitive) }
|
|
||||||
let(:sensitive) { true }
|
|
||||||
|
|
||||||
context 'updates sensitive column to true' do
|
|
||||||
it 'updates sensitive column' do
|
|
||||||
is_expected.to change {
|
|
||||||
status.reload.sensitive
|
|
||||||
}.from(false).to(true)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
context 'updates sensitive column to false' do
|
|
||||||
let(:sensitive) { false }
|
|
||||||
|
|
||||||
it 'updates sensitive column' do
|
|
||||||
is_expected.to change {
|
|
||||||
status.reload.sensitive
|
|
||||||
}.from(true).to(false)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
it 'redirects to report page' do
|
|
||||||
subject.call
|
|
||||||
expect(response).to redirect_to(admin_report_path(report))
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
describe 'DELETE #destroy' do
|
|
||||||
it 'removes a status' do
|
it 'removes a status' do
|
||||||
allow(RemovalWorker).to receive(:perform_async)
|
allow(RemovalWorker).to receive(:perform_async)
|
||||||
|
subject.call
|
||||||
|
expect(RemovalWorker).to have_received(:perform_async).with(status_ids.first)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
delete :destroy, params: { report_id: report, id: status }
|
it 'redirects to report page' do
|
||||||
expect(response).to have_http_status(200)
|
subject.call
|
||||||
expect(RemovalWorker).
|
expect(response).to redirect_to(admin_report_path(report))
|
||||||
to have_received(:perform_async).with(status.id)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -34,13 +34,13 @@ describe Admin::StatusesController do
|
||||||
|
|
||||||
describe 'POST #create' do
|
describe 'POST #create' do
|
||||||
subject do
|
subject do
|
||||||
-> { post :create, params: { account_id: account.id, form_status_batch: { action: action, status_ids: status_ids } } }
|
-> { post :create, params: { :account_id => account.id, action => '', :form_status_batch => { status_ids: status_ids } } }
|
||||||
end
|
end
|
||||||
|
|
||||||
let(:action) { 'nsfw_on' }
|
let(:action) { 'nsfw_on' }
|
||||||
let(:status_ids) { [media_attached_status.id] }
|
let(:status_ids) { [media_attached_status.id] }
|
||||||
|
|
||||||
context 'updates sensitive column to true' do
|
context 'when action is nsfw_on' do
|
||||||
it 'updates sensitive column' do
|
it 'updates sensitive column' do
|
||||||
is_expected.to change {
|
is_expected.to change {
|
||||||
media_attached_status.reload.sensitive
|
media_attached_status.reload.sensitive
|
||||||
|
@ -48,7 +48,7 @@ describe Admin::StatusesController do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'updates sensitive column to false' do
|
context 'when action is nsfw_off' do
|
||||||
let(:action) { 'nsfw_off' }
|
let(:action) { 'nsfw_off' }
|
||||||
let(:sensitive) { false }
|
let(:sensitive) { false }
|
||||||
|
|
||||||
|
@ -59,49 +59,19 @@ describe Admin::StatusesController do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'redirects to account statuses page' do
|
context 'when action is delete' do
|
||||||
subject.call
|
let(:action) { 'delete' }
|
||||||
expect(response).to redirect_to(admin_account_statuses_path(account.id))
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
describe 'PATCH #update' do
|
|
||||||
subject do
|
|
||||||
-> { patch :update, params: { account_id: account.id, id: media_attached_status, status: { sensitive: sensitive } } }
|
|
||||||
end
|
|
||||||
|
|
||||||
context 'updates sensitive column to true' do
|
|
||||||
it 'updates sensitive column' do
|
|
||||||
is_expected.to change {
|
|
||||||
media_attached_status.reload.sensitive
|
|
||||||
}.from(false).to(true)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
context 'updates sensitive column to false' do
|
|
||||||
let(:sensitive) { false }
|
|
||||||
|
|
||||||
it 'updates sensitive column' do
|
|
||||||
is_expected.to change {
|
|
||||||
media_attached_status.reload.sensitive
|
|
||||||
}.from(true).to(false)
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
it 'redirects to account statuses page' do
|
|
||||||
subject.call
|
|
||||||
expect(response).to redirect_to(admin_account_statuses_path(account.id))
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
describe 'DELETE #destroy' do
|
|
||||||
it 'removes a status' do
|
it 'removes a status' do
|
||||||
allow(RemovalWorker).to receive(:perform_async)
|
allow(RemovalWorker).to receive(:perform_async)
|
||||||
|
subject.call
|
||||||
|
expect(RemovalWorker).to have_received(:perform_async).with(status_ids.first)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
delete :destroy, params: { account_id: account.id, id: status }
|
it 'redirects to account statuses page' do
|
||||||
expect(response).to have_http_status(200)
|
subject.call
|
||||||
expect(RemovalWorker).
|
expect(response).to redirect_to(admin_account_statuses_path(account.id))
|
||||||
to have_received(:perform_async).with(status.id)
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue