diff --git a/app/controllers/admin/domain_blocks_controller.rb b/app/controllers/admin/domain_blocks_controller.rb index 90c70275a2a26358e4e485052c13decd09c2ee4b..5f307ddeeca04564e75a93c18bc64656c0f2dd79 100644 --- a/app/controllers/admin/domain_blocks_controller.rb +++ b/app/controllers/admin/domain_blocks_controller.rb @@ -4,14 +4,9 @@ module Admin class DomainBlocksController < BaseController before_action :set_domain_block, only: [:show, :destroy] - def index - authorize :domain_block, :index? - @domain_blocks = DomainBlock.page(params[:page]) - end - def new authorize :domain_block, :create? - @domain_block = DomainBlock.new + @domain_block = DomainBlock.new(domain: params[:_domain]) end def create @@ -22,7 +17,7 @@ module Admin if @domain_block.save DomainBlockWorker.perform_async(@domain_block.id) log_action :create, @domain_block - redirect_to admin_domain_blocks_path, notice: I18n.t('admin.domain_blocks.created_msg') + redirect_to admin_instances_path(limited: '1'), notice: I18n.t('admin.domain_blocks.created_msg') else render :new end @@ -36,7 +31,7 @@ module Admin authorize @domain_block, :destroy? UnblockDomainService.new.call(@domain_block, retroactive_unblock?) log_action :destroy, @domain_block - redirect_to admin_domain_blocks_path, notice: I18n.t('admin.domain_blocks.destroyed_msg') + redirect_to admin_instances_path(limited: '1'), notice: I18n.t('admin.domain_blocks.destroyed_msg') end private diff --git a/app/controllers/admin/instances_controller.rb b/app/controllers/admin/instances_controller.rb index 6f8eaf65c4a9adaec3ad87eb06e2701b787c017e..431ce6f4de1768696e2d0ff5880dd26711eb1844 100644 --- a/app/controllers/admin/instances_controller.rb +++ b/app/controllers/admin/instances_controller.rb @@ -4,14 +4,21 @@ module Admin class InstancesController < BaseController def index authorize :instance, :index? + @instances = ordered_instances end - def resubscribe - authorize :instance, :resubscribe? - params.require(:by_domain) - Pubsubhubbub::SubscribeWorker.push_bulk(subscribeable_accounts.pluck(:id)) - redirect_to admin_instances_path + def show + authorize :instance, :show? + + @instance = Instance.new(Account.by_domain_accounts.find_by(domain: params[:id]) || DomainBlock.find_by!(domain: params[:id])) + @following_count = Follow.where(account: Account.where(domain: params[:id])).count + @followers_count = Follow.where(target_account: Account.where(domain: params[:id])).count + @reports_count = Report.where(target_account: Account.where(domain: params[:id])).count + @blocks_count = Block.where(target_account: Account.where(domain: params[:id])).count + @available = DeliveryFailureTracker.available?(Account.select(:shared_inbox_url).where(domain: params[:id]).first&.shared_inbox_url) + @media_storage = MediaAttachment.where(account: Account.where(domain: params[:id])).sum(:file_file_size) + @domain_block = DomainBlock.find_by(domain: params[:id]) end private @@ -27,17 +34,11 @@ module Admin helper_method :paginated_instances def ordered_instances - paginated_instances.map { |account| Instance.new(account) } - end - - def subscribeable_accounts - Account.remote.where(protocol: :ostatus).where(domain: params[:by_domain]) + paginated_instances.map { |resource| Instance.new(resource) } end def filter_params - params.permit( - :domain_name - ) + params.permit(:limited) end end end diff --git a/app/helpers/admin/filter_helper.rb b/app/helpers/admin/filter_helper.rb index 8807cc784681c3ccae7d3f3abfa53c508c38c358..97beb587fce1496b4b0fb8c2e4882ba79304ad7f 100644 --- a/app/helpers/admin/filter_helper.rb +++ b/app/helpers/admin/filter_helper.rb @@ -6,8 +6,9 @@ module Admin::FilterHelper INVITE_FILTER = %i(available expired).freeze CUSTOM_EMOJI_FILTERS = %i(local remote by_domain shortcode).freeze TAGS_FILTERS = %i(hidden).freeze + INSTANCES_FILTERS = %i(limited).freeze - FILTERS = ACCOUNT_FILTERS + REPORT_FILTERS + INVITE_FILTER + CUSTOM_EMOJI_FILTERS + TAGS_FILTERS + FILTERS = ACCOUNT_FILTERS + REPORT_FILTERS + INVITE_FILTER + CUSTOM_EMOJI_FILTERS + TAGS_FILTERS + INSTANCES_FILTERS def filter_link_to(text, link_to_params, link_class_params = link_to_params) new_url = filtered_url_for(link_to_params) diff --git a/app/javascript/styles/mastodon/admin.scss b/app/javascript/styles/mastodon/admin.scss index e8f33193235f59a5450977a2539f9ecff0bfc596..375c655f53ea73be69a16e88990e749178c1e9ce 100644 --- a/app/javascript/styles/mastodon/admin.scss +++ b/app/javascript/styles/mastodon/admin.scss @@ -151,6 +151,20 @@ $no-columns-breakpoint: 600px; font-weight: 500; } + .directory__tag a { + box-shadow: none; + } + + .directory__tag h4 { + font-size: 18px; + font-weight: 700; + color: $primary-text-color; + text-transform: none; + padding-bottom: 0; + margin-bottom: 0; + border-bottom: none; + } + & > p { font-size: 14px; line-height: 18px; diff --git a/app/javascript/styles/mastodon/dashboard.scss b/app/javascript/styles/mastodon/dashboard.scss index 1f96e73684f0edcf70972247bef956566154af08..e4564f062cd7bbb97028507eab9083c49c012cbc 100644 --- a/app/javascript/styles/mastodon/dashboard.scss +++ b/app/javascript/styles/mastodon/dashboard.scss @@ -39,6 +39,7 @@ color: $primary-text-color; font-family: $font-display, sans-serif; margin-bottom: 20px; + line-height: 30px; } &__text { diff --git a/app/models/instance.rb b/app/models/instance.rb index 6d5c9c2ab605008da96b0fa50fa2ae4684bc6e40..7448d465c3c4eaf90a48b820d13352fdf3f4f3b8 100644 --- a/app/models/instance.rb +++ b/app/models/instance.rb @@ -3,10 +3,23 @@ class Instance include ActiveModel::Model - attr_accessor :domain, :accounts_count + attr_accessor :domain, :accounts_count, :domain_block - def initialize(account) - @domain = account.domain - @accounts_count = account.accounts_count + def initialize(resource) + @domain = resource.domain + @accounts_count = resource.accounts_count + @domain_block = resource.is_a?(DomainBlock) ? resource : DomainBlock.find_by(domain: domain) + end + + def cached_sample_accounts + Rails.cache.fetch("#{cache_key}/sample_accounts", expires_in: 12.hours) { Account.where(domain: domain).searchable.joins(:account_stat).popular.limit(3) } + end + + def to_param + domain + end + + def cache_key + domain end end diff --git a/app/models/instance_filter.rb b/app/models/instance_filter.rb index 5073cf1faa48a06e95b2dbbb75ef69423a3de465..3483d8cd6e996ec7104909e1d37a7761c56a8372 100644 --- a/app/models/instance_filter.rb +++ b/app/models/instance_filter.rb @@ -8,21 +8,10 @@ class InstanceFilter end def results - scope = Account.remote.by_domain_accounts - params.each do |key, value| - scope.merge!(scope_for(key, value)) if value.present? - end - scope - end - - private - - def scope_for(key, value) - case key.to_s - when 'domain_name' - Account.matches_domain(value) + if params[:limited].present? + DomainBlock.order(id: :desc) else - raise "Unknown filter: #{key}" + Account.remote.by_domain_accounts end end end diff --git a/app/policies/instance_policy.rb b/app/policies/instance_policy.rb index d1956e2ded4c3b76946cbd341c85e2d5b110dfcb..a73823556c5ad6ed7b0e23d141ba599a1346bd63 100644 --- a/app/policies/instance_policy.rb +++ b/app/policies/instance_policy.rb @@ -5,7 +5,7 @@ class InstancePolicy < ApplicationPolicy admin? end - def resubscribe? + def show? admin? end end diff --git a/app/views/admin/domain_blocks/_domain_block.html.haml b/app/views/admin/domain_blocks/_domain_block.html.haml deleted file mode 100644 index 7bfea35743c5aeaa73f2479cbb144828001a83e1..0000000000000000000000000000000000000000 --- a/app/views/admin/domain_blocks/_domain_block.html.haml +++ /dev/null @@ -1,13 +0,0 @@ -%tr - %td - %samp= domain_block.domain - %td.severity - = t("admin.domain_blocks.severities.#{domain_block.severity}") - %td.reject_media - - if domain_block.reject_media? || domain_block.suspend? - %i.fa.fa-check - %td.reject_reports - - if domain_block.reject_reports? || domain_block.suspend? - %i.fa.fa-check - %td - = table_link_to 'undo', t('admin.domain_blocks.undo'), admin_domain_block_path(domain_block) diff --git a/app/views/admin/domain_blocks/index.html.haml b/app/views/admin/domain_blocks/index.html.haml deleted file mode 100644 index 4c5221c423e65e2f121bb79a1601f5f6ebeb245a..0000000000000000000000000000000000000000 --- a/app/views/admin/domain_blocks/index.html.haml +++ /dev/null @@ -1,17 +0,0 @@ -- content_for :page_title do - = t('admin.domain_blocks.title') - -.table-wrapper - %table.table - %thead - %tr - %th= t('admin.domain_blocks.domain') - %th= t('admin.domain_blocks.severity') - %th= t('admin.domain_blocks.reject_media') - %th= t('admin.domain_blocks.reject_reports') - %th - %tbody - = render @domain_blocks - -= paginate @domain_blocks -= link_to t('admin.domain_blocks.add_new'), new_admin_domain_block_path, class: 'button' diff --git a/app/views/admin/instances/_instance.html.haml b/app/views/admin/instances/_instance.html.haml index e36ebae472e0610cd57958a31509a737b52932c7..57d3e0b068c284de42a34221b8ee08f1fba6b15d 100644 --- a/app/views/admin/instances/_instance.html.haml +++ b/app/views/admin/instances/_instance.html.haml @@ -1,7 +1,5 @@ %tr %td - = link_to instance.domain, admin_accounts_path(by_domain: instance.domain) + = link_to instance.domain, admin_instance_path(instance) %td.count = instance.accounts_count - %td - = table_link_to 'paper-plane-o', t('admin.accounts.resubscribe'), resubscribe_admin_instances_url(by_domain: instance.domain), method: :post, data: { confirm: t('admin.accounts.are_you_sure') } diff --git a/app/views/admin/instances/index.html.haml b/app/views/admin/instances/index.html.haml index 3314ce07789e0159b15d711baa7e2b1f7b83c8ec..ce35b5db4751ade39b32b4e7f17798b9cd611710 100644 --- a/app/views/admin/instances/index.html.haml +++ b/app/views/admin/instances/index.html.haml @@ -1,23 +1,39 @@ - content_for :page_title do = t('admin.instances.title') -= form_tag admin_instances_url, method: 'GET', class: 'simple_form' do - .fields-group - - %i(domain_name).each do |key| - .input.string.optional - = text_field_tag key, params[key], class: 'string optional', placeholder: I18n.t("admin.instances.#{key}") +.filters + .filter-subset + %strong= t('admin.instances.moderation.title') + %ul + %li= filter_link_to t('admin.instances.moderation.all'), limited: nil + %li= filter_link_to t('admin.instances.moderation.limited'), limited: '1' - .actions - %button= t('admin.instances.search') - = link_to t('admin.instances.reset'), admin_instances_path, class: 'button negative' + %div{ style: 'flex: 1 1 auto; text-align: right' } + = link_to t('admin.domain_blocks.add_new'), new_admin_domain_block_path, class: 'button' -.table-wrapper - %table.table - %thead - %tr - %th= t('admin.instances.domain_name') - %th= t('admin.instances.account_count') - %tbody - = render @instances +%hr.spacer/ + +- @instances.each do |instance| + .directory__tag + = link_to admin_instance_path(instance) do + %h4 + = instance.domain + %small + = t('admin.instances.known_accounts', count: instance.accounts_count) + + - if instance.domain_block + - if !instance.domain_block.noop? + • + = t("admin.domain_blocks.severity.#{instance.domain_block.severity}") + - if instance.domain_block.reject_media? + • + = t('admin.domain_blocks.rejecting_media') + - if instance.domain_block.reject_reports? + • + = t('admin.domain_blocks.rejecting_reports') + + .avatar-stack + - instance.cached_sample_accounts.each do |account| + = image_tag current_account&.user&.setting_auto_play_gif ? account.avatar_original_url : account.avatar_static_url, width: 48, height: 48, alt: '', class: 'account__avatar' = paginate paginated_instances diff --git a/app/views/admin/instances/show.html.haml b/app/views/admin/instances/show.html.haml new file mode 100644 index 0000000000000000000000000000000000000000..c7992a490d09b576e8cc9bf595bfbc9cbdcfda86 --- /dev/null +++ b/app/views/admin/instances/show.html.haml @@ -0,0 +1,44 @@ +- content_for :page_title do + = @instance.domain + +.dashboard__counters + %div + %div + .dashboard__counters__num= number_with_delimiter @following_count + .dashboard__counters__label= t 'admin.instances.total_followed_by_them' + %div + %div + .dashboard__counters__num= number_with_delimiter @followers_count + .dashboard__counters__label= t 'admin.instances.total_followed_by_us' + %div + %div + .dashboard__counters__num= number_to_human_size @media_storage + .dashboard__counters__label= t 'admin.instances.total_storage' + %div + %div + .dashboard__counters__num= number_with_delimiter @blocks_count + .dashboard__counters__label= t 'admin.instances.total_blocked_by_us' + %div + %div + .dashboard__counters__num= number_with_delimiter @reports_count + .dashboard__counters__label= t 'admin.instances.total_reported' + %div + %div + .dashboard__counters__num + - if @available + = fa_icon 'check' + - else + = fa_icon 'times' + .dashboard__counters__label= t 'admin.instances.delivery_available' + +%hr.spacer/ + +%div{ style: 'overflow: hidden' } + %div{ style: 'float: left' } + = link_to t('admin.accounts.title'), admin_accounts_path(remote: '1', by_domain: @instance.domain), class: 'button' + + %div{ style: 'float: right' } + - if @domain_block + = link_to t('admin.domain_blocks.undo'), admin_domain_block_path(@domain_block), class: 'button' + - else + = link_to t('admin.domain_blocks.add_new'), new_admin_domain_block_path(_domain: @instance.domain), class: 'button' diff --git a/config/locales/ar.yml b/config/locales/ar.yml index 8766190e37738cd7b4aa2aab12f0fa7c14ff7bb9..abbfa38aadc76352fe6395c48f722ed1c003d050 100644 --- a/config/locales/ar.yml +++ b/config/locales/ar.yml @@ -280,11 +280,6 @@ ar: reject_media: Ø±ÙØ¶ Ù…Ù„ÙØ§Øª الوسائط reject_media_hint: يزيل Ù…Ù„ÙØ§Øª الوسائط المخزنة Ù…ØÙ„يًا ÙˆÙŠØ±ÙØ¶ تنزيل أي Ù…Ù„ÙØ§Øª ÙÙŠ المستقبل. غير ذي صلة للتعليق reject_reports: Ø±ÙØ¶ التقارير - severities: - noop: لا شيء - silence: Ø¥Ø®ÙØ§Ø¡ أو كتم - suspend: تعليق - severity: الشدة show: affected_accounts: few: "%{count} ØØ³Ø§Ø¨Ø§Øª معنية ÙÙŠ قاعدة البيانات" @@ -298,7 +293,6 @@ ar: suspend: إلغاء التعليق Ø§Ù„Ù…ÙØ±ÙˆØ¶ على ÙƒØ§ÙØ© ØØ³Ø§Ø¨Ø§Øª هذا النطاق title: Ø±ÙØ¹ ØØ¸Ø± النطاق عن %{domain} undo: إلغاء - title: ØØ¸Ø± النطاقات undo: إلغاء email_domain_blocks: add_new: Ø¥Ø¶Ø§ÙØ© @@ -311,10 +305,6 @@ ar: title: Ø¥Ø¶Ø§ÙØ© نطاق بريد جديد إلى Ø§Ù„Ù„Ø§Ø¦ØØ© السوداء title: القائمة السوداء للبريد الإلكتروني instances: - account_count: Ø§Ù„ØØ³Ø§Ø¨Ø§Øª Ø§Ù„Ù…Ø¹Ø±ÙˆÙØ© - domain_name: النطاق - reset: إعادة تعيين - search: Ø§Ù„Ø¨ØØ« title: مثيلات الخوادم Ø§Ù„Ù…Ø¹Ø±ÙˆÙØ© invites: deactivate_all: تعطيلها ÙƒØ§ÙØ© diff --git a/config/locales/ast.yml b/config/locales/ast.yml index 6c7ffc9bdc882f8dcc3a3acb171ef129129e9b33..78ad796a00de762fb3d46587924d5d852e875a83 100644 --- a/config/locales/ast.yml +++ b/config/locales/ast.yml @@ -96,8 +96,6 @@ ast: email_domain_blocks: domain: Dominiu instances: - account_count: Cuentes conocÃes - domain_name: Dominiu title: Instancies conocÃes invites: filter: diff --git a/config/locales/ca.yml b/config/locales/ca.yml index 9cb9722c1ea6dbf3707e4e6ef5ea043e9e76ef0c..271fc35819e555244ec94c41ec87c93200f589a3 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -263,11 +263,6 @@ ca: reject_media_hint: Elimina els fitxers multimèdia emmagatzemats localment i impedeix baixar-ne cap en el futur. Irrellevant en les suspensions reject_reports: Rebutja informes reject_reports_hint: Ignora tots els informes procedents d'aquest domini. No és rellevant per a les suspensions - severities: - noop: Cap - silence: Silenci - suspend: Suspensió - severity: Severitat show: affected_accounts: one: Un compte afectat en la base de dades @@ -277,7 +272,6 @@ ca: suspend: Desfés la suspensió de tots els comptes d'aquest domini title: Desfés el bloqueig de domini de %{domain} undo: Desfés - title: Bloquejos de domini undo: Desfés email_domain_blocks: add_new: Afegeix @@ -290,10 +284,6 @@ ca: title: Nova adreça de correu en la llista negra title: Llista negra de correus electrònics instances: - account_count: Comptes coneguts - domain_name: Domini - reset: Restableix - search: Cerca title: Instà ncies conegudes invites: deactivate_all: Desactiva-ho tot diff --git a/config/locales/co.yml b/config/locales/co.yml index 1529c4fa3220f0777a5d82b02e5bfdf302064c99..7a87219abb68585570e387d5fd9f382c0c524df8 100644 --- a/config/locales/co.yml +++ b/config/locales/co.yml @@ -265,11 +265,6 @@ co: reject_media_hint: Sguassa tutti i media caricati è ricusa caricamenti futuri. Inutile per una suspensione reject_reports: Righjittà i rapporti reject_reports_hint: Ignurà tutti i signalamenti chì venenu d'issu duminiu. Senz'oghjettu pè e suspensione - severities: - noop: Nisuna - silence: Silenzà - suspend: Suspende - severity: Severità show: affected_accounts: one: Un contu tuccatu indè a database @@ -279,7 +274,6 @@ co: suspend: Ùn suspende più i conti nant’à stu duminiu title: Ùn bluccà più u duminiu %{domain} undo: Annullà - title: Blucchimi di duminiu undo: Annullà email_domain_blocks: add_new: Aghjustà @@ -292,10 +286,6 @@ co: title: Nova iscrizzione nant’a lista nera e-mail title: Lista nera e-mail instances: - account_count: Conti cunnisciuti - domain_name: Duminiu - reset: Riinizializà - search: Cercà title: Istanze cunnisciute invites: deactivate_all: Disattivà tuttu diff --git a/config/locales/cs.yml b/config/locales/cs.yml index 0b666a23b6d57c66fb0c201cd42cc957a953b0f2..d2caeb999df3278bfc2b30deb55ece42d9612a67 100644 --- a/config/locales/cs.yml +++ b/config/locales/cs.yml @@ -269,11 +269,6 @@ cs: reject_media_hint: Odstranà lokálnÄ› uložené soubory a odmÃtne jejich staženà v budoucnosti. Irelevantnà pro suspenzace reject_reports: OdmÃtnout nahlášenà reject_reports_hint: Ignorovat vÅ¡echna nahlášenà pocházejÃcà z této domény. Nepodstatné pro suspenzace - severities: - noop: Žádné - silence: UtiÅ¡it - suspend: Suspendovat - severity: PÅ™Ãsnost show: affected_accounts: few: "%{count} úÄty v databázi byly ovlivnÄ›ny" @@ -284,7 +279,6 @@ cs: suspend: ZruÅ¡it suspenzaci vÅ¡ech existujÃcÃch úÄtů z této domény title: ZruÅ¡it blokaci domény %{domain} undo: Odvolat - title: Doménové blokace undo: Odvolat email_domain_blocks: add_new: PÅ™idat nový @@ -297,10 +291,6 @@ cs: title: Nový e-mail pro zablokovánà title: ÄŒerná listina e-mailů instances: - account_count: Známé úÄty - domain_name: Doména - reset: Resetovat - search: Hledat title: Známé instance invites: deactivate_all: Deaktivovat vÅ¡e diff --git a/config/locales/cy.yml b/config/locales/cy.yml index 22b70d1fd6eca4b287d08a12606e8c21ab412e80..40cb1cac07bc28a0a331e6e2e1c15cbfe9858e4e 100644 --- a/config/locales/cy.yml +++ b/config/locales/cy.yml @@ -252,11 +252,6 @@ cy: reject_media_hint: Dileu dogfennau cyfryngau wedi eu cadw yn lleol ac yn gwrthod i lawrlwytho unrhyw rai yn y dyfodol. Amherthnasol i ataliadau reject_reports: Gwrthod adroddiadau reject_reports_hint: Anwybyddu'r holl adroddiadau sy'n dod o'r parth hwn. Amherthnasol i ataliadau - severities: - noop: Dim - silence: Tawelu - suspend: Atal - severity: Difrifoldeb show: affected_accounts: "%{count} o gyfrifoedd yn y bas data wedi eu hefeithio" retroactive: @@ -264,7 +259,6 @@ cy: suspend: Dad-atal pob cyfrif o'r parth hwn sy'n bodoli title: Dadwneud blocio parth ar gyfer %{domain} undo: Dadwneud - title: Blociau parth undo: Dadwneud email_domain_blocks: add_new: Ychwanegu @@ -277,10 +271,6 @@ cy: title: Cofnod newydd yng nghosbrestr e-byst title: Cosbrestr e-bost instances: - account_count: Cyfrifau hysbys - domain_name: Parth - reset: Ailosod - search: Chwilio title: Achosion hysbys invites: deactivate_all: Diffodd pob un diff --git a/config/locales/da.yml b/config/locales/da.yml index 5a9fb7881807b7383fec1510d6357f0a643410d0..e4286d156d1e3a0af26e93d605de0caed236f780 100644 --- a/config/locales/da.yml +++ b/config/locales/da.yml @@ -257,11 +257,6 @@ da: reject_media: Afvis medie filer reject_media_hint: Fjerner lokalt lagrede multimedie filer og nægter at hente nogen i fremtiden. Irrelevant for udelukkelser reject_reports: Afvis anmeldelser - severities: - noop: Ingen - silence: Dæmp - suspend: Udeluk - severity: Alvorlighed show: affected_accounts: one: En konto i databasen pÃ¥virket @@ -271,7 +266,6 @@ da: suspend: Fjern udelukkelsen af alle eksisterende konti fra dette domæne title: Annuller domæne blokeringen for domænet %{domain} undo: Fortryd - title: Domæne blokeringer undo: Fortryd email_domain_blocks: add_new: Tilføj ny @@ -284,10 +278,6 @@ da: title: Ny email blokade opslag title: Email sortliste instances: - account_count: Kendte konti - domain_name: Domæne - reset: Nulstil - search: Søg title: Kendte instanser invites: deactivate_all: Deaktiver alle diff --git a/config/locales/de.yml b/config/locales/de.yml index c505bd8bb71142e44a984d761ad1a791f3ad503c..081895c9c18c3dd9e3014ecc4fd1c996d1b8b2c1 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -265,11 +265,6 @@ de: reject_media_hint: Entfernt lokal gespeicherte Mediendateien und verhindert deren künftiges Herunterladen. Für Sperren irrelevant reject_reports: Meldungen ablehnen reject_reports_hint: Ignoriere alle Meldungen von dieser Domain. Irrelevant für Sperrungen - severities: - noop: Kein - silence: Stummschaltung - suspend: Sperren - severity: Schweregrad show: affected_accounts: one: Ein Konto in der Datenbank betroffen @@ -279,7 +274,6 @@ de: suspend: Alle existierenden Konten dieser Domain entsperren title: Domain-Blockade für %{domain} zurücknehmen undo: Zurücknehmen - title: Domain-Blockaden undo: Zurücknehmen email_domain_blocks: add_new: Neue hinzufügen @@ -292,10 +286,6 @@ de: title: Neue E-Mail-Domain-Blockade title: E-Mail-Domain-Blockade instances: - account_count: Bekannte Konten - domain_name: Domain - reset: Zurücksetzen - search: Suchen title: Bekannte Instanzen invites: deactivate_all: Alle deaktivieren diff --git a/config/locales/el.yml b/config/locales/el.yml index e453b581f61ff2af57317302d23b15c71425ba6d..dd998ce5cf6b97483745441880a8f933e1d753d1 100644 --- a/config/locales/el.yml +++ b/config/locales/el.yml @@ -265,11 +265,6 @@ el: reject_media_hint: ΑφαιÏεί τα τοπικά αποθηκευμÎνα αÏχεία πολυμÎσων και αποτÏÎπει τη λήψη άλλων στο μÎλλον. Δεν Îχει σημασία για τις αναστολÎÏ‚ reject_reports: ΑπόÏÏιψη καταγγελιών reject_reports_hint: Αγνόηση όσων καταγγελιών Ï€ÏοÎÏχονται από αυτό τον τομÎα. Δεν σχετίζεται με τις παÏσεις - severities: - noop: ΚανÎνα - silence: Αποσιώπηση - suspend: Αναστολή - severity: ΒαÏÏτητα show: affected_accounts: one: ΕπηÏεάζεται Îνας λογαÏιασμός στη βάση δεδομÎνων @@ -279,7 +274,6 @@ el: suspend: ΑναίÏεση αναστολής όλων των λογαÏιασμών του τομÎα title: ΑναίÏεση Î±Ï€Î¿ÎºÎ»ÎµÎ¹ÏƒÎ¼Î¿Ï Î³Î¹Î± τον τομÎα %{domain} undo: ΑναίÏεση - title: ΑποκλεισμÎνοι τομείς undo: ΑναίÏεση email_domain_blocks: add_new: Î Ïόσθεση νÎου @@ -292,10 +286,6 @@ el: title: ÎÎα εγγÏαφή email στη μαÏÏη λίστα title: ΜαÏÏη λίστα email instances: - account_count: Γνωστοί λογαÏιασμοί - domain_name: ΤομÎας - reset: ΕπαναφοÏά - search: Αναζήτηση title: Γνωστοί κόμβοι invites: deactivate_all: ΑπενεÏγοποίηση όλων diff --git a/config/locales/en.yml b/config/locales/en.yml index 0d01ad46663a1d23f3ddcb392a6590d947634baf..8ad5ecb06047a815584ce551f3a62170b7ea5b18 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -256,7 +256,7 @@ en: week_users_active: active this week week_users_new: users this week domain_blocks: - add_new: Add new + add_new: Add new domain block created_msg: Domain block is now being processed destroyed_msg: Domain block has been undone domain: Domain @@ -273,11 +273,11 @@ en: reject_media_hint: Removes locally stored media files and refuses to download any in the future. Irrelevant for suspensions reject_reports: Reject reports reject_reports_hint: Ignore all reports coming from this domain. Irrelevant for suspensions - severities: - noop: None - silence: Silence - suspend: Suspend - severity: Severity + rejecting_media: rejecting media files + rejecting_reports: rejecting reports + severity: + silence: silenced + suspend: suspended show: affected_accounts: one: One account in the database affected @@ -287,8 +287,7 @@ en: suspend: Unsuspend all existing accounts from this domain title: Undo domain block for %{domain} undo: Undo - title: Domain blocks - undo: Undo + undo: Undo domain block email_domain_blocks: add_new: Add new created_msg: Successfully added e-mail domain to blacklist @@ -303,11 +302,20 @@ en: back_to_account: Back To Account title: "%{acct}'s Followers" instances: - account_count: Known accounts - domain_name: Domain - reset: Reset - search: Search - title: Known instances + delivery_available: Delivery is available + known_accounts: + one: "%{count} known account" + other: "%{count} known accounts" + moderation: + all: All + limited: Limited + title: Moderation + title: Federation + total_blocked_by_us: Blocked by us + total_followed_by_them: Followed by them + total_followed_by_us: Followed by us + total_reported: Reports about them + total_storage: Media attachments invites: deactivate_all: Deactivate all filter: diff --git a/config/locales/eo.yml b/config/locales/eo.yml index c05b21108e48d5ad12501d2a5012c823a7a01158..b7dd7ca8bb8922c474db00d2280d4a0463f0eb0e 100644 --- a/config/locales/eo.yml +++ b/config/locales/eo.yml @@ -261,11 +261,6 @@ eo: title: Nova domajna blokado reject_media: Malakcepti aÅdovidajn dosierojn reject_media_hint: Forigas aÅdovidaĵojn loke konservitajn kaj rifuzas alÅuti ajnan estonte. Senzorge pri haltigoj - severities: - noop: Nenio - silence: KaÅi - suspend: Haltigi - severity: Severeco show: affected_accounts: one: Unu konto en la datumbazo esta influita @@ -275,7 +270,6 @@ eo: suspend: Malhaltigi ĉiujn kontojn, kiuj ekzistas en ĉi tiu domajno title: Malfari domajnan blokadon por %{domain} undo: Malfari - title: Domajnaj blokadoj undo: Malfari email_domain_blocks: add_new: Aldoni novan @@ -288,10 +282,6 @@ eo: title: Nova blokado de retadresa domajno title: Nigra listo de retadresaj domajnoj instances: - account_count: Konataj kontoj - domain_name: Domajno - reset: Restarigi - search: Serĉi title: Konataj nodoj invites: deactivate_all: Malaktivigi ĉion diff --git a/config/locales/es.yml b/config/locales/es.yml index bf4cc29fe325fa375a5f7e3c70a5840befdca1cb..b221989e837aaaacd7da19ad64c76acbcbe62402 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -260,11 +260,6 @@ es: reject_media_hint: Remueve localmente archivos multimedia almacenados para descargar cualquiera en el futuro. Irrelevante para suspensiones reject_reports: Rechazar informes reject_reports_hint: Ignore todos los reportes de este dominio. Irrelevante para suspensiones - severities: - noop: Ninguno - silence: Silenciar - suspend: Suspender - severity: Severidad show: affected_accounts: one: Una cuenta en la base de datos afectada @@ -274,7 +269,6 @@ es: suspend: Des-suspender todas las cuentas existentes de este dominio title: Deshacer bloque de dominio para %{domain} undo: Deshacer - title: Bloques de Dominio undo: Deshacer email_domain_blocks: add_new: Añadir nuevo @@ -287,10 +281,6 @@ es: title: Nueva entrada en la lista negra de correo title: Lista negra de correo instances: - account_count: Cuentas conocidas - domain_name: Dominio - reset: Reiniciar - search: Buscar title: Instancias conocidas invites: deactivate_all: Desactivar todos diff --git a/config/locales/eu.yml b/config/locales/eu.yml index 78fd4895880f2aec9c1e43c0b766d8271a3be6a5..6399fac83e05151f2b72a6083694c8420685b43e 100644 --- a/config/locales/eu.yml +++ b/config/locales/eu.yml @@ -262,11 +262,6 @@ eu: reject_media_hint: Lokalki gordetako multimedia fitxategiak ezabatzen ditu eta etorkizunean fitxategi berriak deskargatzeari uko egingo dio. Ez du garrantzirik kanporaketetan reject_reports: Errefusatu salaketak reject_reports_hint: Ezikusi domeinu honetatik jasotako salaketak. Kanporatzeentzako garrantzirik gabekoa - severities: - noop: Bat ere ez - silence: Isilarazi - suspend: Kanporatu - severity: Larritasuna show: affected_accounts: one: Datu-baseko kontu bati eragiten dio @@ -276,7 +271,6 @@ eu: suspend: Kendu kanporatzeko agindua domeinu honetako kontu guztiei title: Desegin %{domain} domeinuko blokeoa undo: Desegin - title: Domeinuen blokeoak undo: Desegin email_domain_blocks: add_new: Gehitu berria @@ -289,10 +283,6 @@ eu: title: Sarrera berria e-mail zerrenda beltzean title: E-mail zerrenda beltza instances: - account_count: Kontu ezagunak - domain_name: Domeinua - reset: Berrezarri - search: Bilatu title: Instantzia ezagunak invites: deactivate_all: Desgaitu guztiak diff --git a/config/locales/fa.yml b/config/locales/fa.yml index 5fccefc6d080e33062c376a3a5ec87528de92915..e7dd86025f288fdd4b358510ff7a37fb421eaac7 100644 --- a/config/locales/fa.yml +++ b/config/locales/fa.yml @@ -260,11 +260,6 @@ fa: reject_media_hint: تصویرهای ذخیره‌شده در این‌جا را پاک می‌کند Ùˆ جلوی Ø¯Ø±ÛŒØ§ÙØª تصویرها را در آینده می‌گیرد. بی‌تأثیر برای معلق‌شده‌ها reject_reports: Ù†Ù¾Ø°ÛŒØ±ÙØªÙ† گزارش‌ها reject_reports_hint: گزارش‌هایی را Ú©Ù‡ از این دامین می‌آید نادیده می‌گیرد. بی‌تأثیر برای معلق‌شده‌ها - severities: - noop: هیچ - silence: بی‌صداکردن - suspend: معلق‌کردن - severity: شدت show: affected_accounts: one: روی یک ØØ³Ø§Ø¨ در پایگاه داده تأثیر گذاشت @@ -274,7 +269,6 @@ fa: suspend: معلق‌شدن همهٔ ØØ³Ø§Ø¨â€ŒÙ‡Ø§ÛŒ این دامین را لغو Ú©Ù† title: واگردانی مسدودسازی دامنه برای %{domain} undo: واگردانی - title: دامین‌های مسدودشده undo: واگردانی email_domain_blocks: add_new: Ø§ÙØ²ÙˆØ¯Ù† تازه @@ -287,10 +281,6 @@ fa: title: مسدودسازی دامین ایمیل تازه title: مسدودسازی دامین‌های ایمیل instances: - account_count: ØØ³Ø§Ø¨â€ŒÙ‡Ø§ÛŒ شناخته‌شده - domain_name: دامین - reset: بازنشانی - search: جستجو title: سرورهای شناخته‌شده invites: deactivate_all: ØºÛŒØ±ÙØ¹Ø§Ù„‌کردن همه diff --git a/config/locales/fi.yml b/config/locales/fi.yml index b48635e21bbc90fdfea393798f3771b971b299a8..e7b8b18ae65bf3659b065da6ae8f531bf687b2a5 100644 --- a/config/locales/fi.yml +++ b/config/locales/fi.yml @@ -211,11 +211,6 @@ fi: title: Uusi verkkotunnuksen esto reject_media: Hylkää mediatiedostot reject_media_hint: Poistaa paikallisesti tallennetut mediatiedostot eikä lataa niitä enää jatkossa. Ei merkitystä jäähyn kohdalla - severities: - noop: Ei mitään - silence: Hiljennys - suspend: Jäähy - severity: Vakavuus show: affected_accounts: one: Vaikuttaa yhteen tiliin tietokannassa @@ -225,7 +220,6 @@ fi: suspend: Peru kaikkien tässä verkkotunnuksessa jo olemassa olevien tilien jäähy title: Peru verkkotunnuksen %{domain} esto undo: Peru - title: Verkkotunnusten estot undo: Peru email_domain_blocks: add_new: Lisää uusi @@ -238,10 +232,6 @@ fi: title: Uusi sähköpostiestolistan merkintä title: Sähköpostiestolista instances: - account_count: Tiedossa olevat tilit - domain_name: Verkkotunnus - reset: Palauta - search: Hae title: Tiedossa olevat instanssit invites: filter: diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 857288110301d9087d5b80d6a1041154fd814dff..2faed982ecbe46ecdad4e79b34427caf5d17aaed 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -265,11 +265,6 @@ fr: reject_media_hint: Supprime localement les fichiers média stockés et refuse d’en télécharger ultérieurement. Ne concerne pas les suspensions reject_reports: Rapports de rejet reject_reports_hint: Ignorez tous les rapports provenant de ce domaine. Sans objet pour les suspensions - severities: - noop: Aucune - silence: Masquer - suspend: Suspendre - severity: Séverité show: affected_accounts: one: Un compte affecté dans la base de données @@ -279,7 +274,6 @@ fr: suspend: Annuler la suspension sur tous les comptes existants pour ce domaine title: Annuler le blocage de domaine pour %{domain} undo: Annuler - title: Blocage de domaines undo: Annuler email_domain_blocks: add_new: Ajouter @@ -292,10 +286,6 @@ fr: title: Nouveau blocage de domaine de courriel title: Blocage de domaines de courriel instances: - account_count: Comptes connus - domain_name: Domaine - reset: Réinitialiser - search: Rechercher title: Instances connues invites: deactivate_all: Tout désactiver diff --git a/config/locales/gl.yml b/config/locales/gl.yml index 5908e773b9d88d1c5e7a8c53d660fb0eb0658a5c..eb626190957c10b3e21b514743b478f8b7df2ea4 100644 --- a/config/locales/gl.yml +++ b/config/locales/gl.yml @@ -265,11 +265,6 @@ gl: reject_media_hint: Eliminar ficheiros de medios almacenados localmente e rexeita descargalos no futuro. Irrelevante para as suspensións reject_reports: Rexeitar informes reject_reports_hint: Ignorar todos os informes procedentes de este dominio. Irrelevante para as suspensións - severities: - noop: Ningún - silence: Silenciar - suspend: Suspender - severity: Severidade show: affected_accounts: one: Afectoulle a unha conta na base de datos @@ -279,7 +274,6 @@ gl: suspend: Non suspender todas as contas existentes de este dominio title: Desfacer o bloqueo de dominio para %{domain} undo: Desfacer - title: Bloqueos de domino undo: Desfacer email_domain_blocks: add_new: Engadir novo @@ -292,10 +286,6 @@ gl: title: Nova entrada la lista negra de e-mail title: Lista negra de E-mail instances: - account_count: Contas coñecidas - domain_name: Dominio - reset: Restablecer - search: Buscar title: Instancias coñecidas invites: deactivate_all: Desactivar todo diff --git a/config/locales/he.yml b/config/locales/he.yml index f45afe3a192f5624cb71f1587b3983f489c49143..bc92ed90828acf5a937cf30c9b5a6dee0100dafc 100644 --- a/config/locales/he.yml +++ b/config/locales/he.yml @@ -156,10 +156,6 @@ he: title: חסימת שרת חדשה reject_media: חסימת קבצי מדיה reject_media_hint: מסירה קבצי מדיה ×”×©×ž×•×¨×™× ×ž×§×•×ž×™×ª ×•×ž×•× ×¢×ª מהורדת ×§×‘×¦×™× × ×•×¡×¤×™× ×‘×¢×ª×™×“. ×œ× ×¨×œ×•×•× ×˜×™ להשעיות - severities: - silence: השתקה - suspend: השעייה - severity: חוּמרה show: affected_accounts: one: חשבון ×חד במסד ×”× ×ª×•× ×™× ×ž×•×©×¤×¢ @@ -169,11 +165,8 @@ he: suspend: הסרת השעייה מכל ×”×—×©×‘×•× ×•×ª על שרת ×–×” title: ביטול חסימת שרת עבור %{domain} undo: ביטול - title: חסימת ×©×¨×ª×™× undo: ביטול instances: - account_count: ×—×©×‘×•× ×•×ª ×ž×•×›×¨×™× - domain_name: ×©× ×ž×ª×—× title: ×©×¨×ª×™× ×ž×•×›×¨×™× reports: are_you_sure: 100% על בטוח? diff --git a/config/locales/hu.yml b/config/locales/hu.yml index 4fa74228d777b75890762a3452c383571074f64a..79363b9ee2d8acfeb243f12ee171860cf5394314 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -195,11 +195,6 @@ hu: title: Új domain-tiltás reject_media: Médiafájlok elutasÃtása reject_media_hint: EltávolÃtja a helyben tárolt médiafájlokat és a továbbiakban letiltja az új médiafájlok letöltését. Felfüggesztett fiókok esetében irreleváns opció - severities: - noop: Egyik sem - silence: NémÃtás - suspend: Felfüggesztés - severity: Súlyosság show: affected_accounts: one: Összesen egy fiók érintett az adatbázisban @@ -209,7 +204,6 @@ hu: suspend: Minden felhasználó felfüggesztésének feloldása ezen a domainen title: "%{domain} domain tiltásának feloldása" undo: Visszavonás - title: Tiltott domainek undo: Visszavonás email_domain_blocks: add_new: Új hozzáadása @@ -222,10 +216,6 @@ hu: title: Új e-mail feketelista bejegyzés title: E-mail feketelista instances: - account_count: Nyilvántartott fiókok - domain_name: Domain - reset: VisszaállÃtás - search: Keresés title: Nyilvántartott instanciák invites: filter: diff --git a/config/locales/id.yml b/config/locales/id.yml index 5cc928823fc4e6ad228fd9049c482b8ce31e6acc..ae38b3f7d2a2b247f44f944ad0079b738fadadf5 100644 --- a/config/locales/id.yml +++ b/config/locales/id.yml @@ -85,10 +85,6 @@ id: title: Pemblokiran domain baru reject_media: Tolak berkas media reject_media_hint: Hapus file media yang tersimpan dan menolak semua unduhan nantinya. Tidak terpengaruh dengan suspen - severities: - silence: Diamkan - suspend: Suspen - severity: Keparahan show: affected_accounts: one: Satu akun di dalam database terpengaruh @@ -98,10 +94,7 @@ id: suspend: Hapus suspen terhadap akun pada domain ini title: Hapus pemblokiran domain %{domain} undo: Undo - title: Pemblokiran Domain instances: - account_count: Akun yang diketahui - domain_name: Domain title: Server yang diketahui reports: comment: diff --git a/config/locales/io.yml b/config/locales/io.yml index 358ce4ca97f277de43e01fe4ec18bc86dbd0482a..73c981a985a9971a392146ec32bdfb2af0a4ba5d 100644 --- a/config/locales/io.yml +++ b/config/locales/io.yml @@ -75,10 +75,6 @@ io: title: New domain block reject_media: Reject media files reject_media_hint: Removes locally stored media files and refuses to download any in the future. Irrelevant for suspensions - severities: - silence: Silence - suspend: Suspend - severity: Severity show: affected_accounts: one: One account in the database affected @@ -88,11 +84,8 @@ io: suspend: Unsuspend all existing accounts from this domain title: Undo domain block for %{domain} undo: Undo - title: Domain Blocks undo: Undo instances: - account_count: Known accounts - domain_name: Domain title: Known Instances reports: comment: diff --git a/config/locales/it.yml b/config/locales/it.yml index 0b96ef46a298a4ba70b0f1ca0cbe997f3f78eb39..339dadaf4b3bf215df9d2639e610e9b53955d48f 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -260,11 +260,6 @@ it: reject_media_hint: Rimuovi i file media salvati in locale e blocca i download futuri. Irrilevante per le sospensioni reject_reports: Respingi rapporti reject_reports_hint: Ignora tutti i rapporti provenienti da questo dominio. Irrilevante per sospensioni - severities: - noop: Nessuno - silence: Silenzia - suspend: Sospendi - severity: Severità show: affected_accounts: one: Interessato un solo account nel database @@ -274,7 +269,6 @@ it: suspend: Annulla la sospensione di tutti gli account esistenti da questo dominio title: Annulla il blocco del dominio per %{domain} undo: Annulla - title: Blocchi dominio undo: Annulla email_domain_blocks: add_new: Aggiungi nuovo @@ -287,10 +281,6 @@ it: title: Nuova voce della lista nera delle email title: Lista nera email instances: - account_count: Accounts conosciuti - domain_name: Dominio - reset: Reimposta - search: Cerca title: Istanze conosciute invites: deactivate_all: Disattiva tutto diff --git a/config/locales/ja.yml b/config/locales/ja.yml index 22965a5952f9756c865f31dc34781c96bc1cc852..60c8fff87a6b196ecd791e3f789440191c24180e 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -265,11 +265,6 @@ ja: reject_media_hint: ãƒãƒ¼ã‚«ãƒ«ã«ä¿å˜ã•れãŸãƒ¡ãƒ‡ã‚£ã‚¢ãƒ•ァイルを削除ã—ã€ä»Šå¾Œã®ãƒ€ã‚¦ãƒ³ãƒãƒ¼ãƒ‰ã‚’æ‹’å¦ã—ã¾ã™ã€‚åœæ¢ã¨ã¯ç„¡é–¢ä¿‚ã§ã™ reject_reports: レãƒãƒ¼ãƒˆã‚’æ‹’å¦ reject_reports_hint: ã“ã®ãƒ‰ãƒ¡ã‚¤ãƒ³ã‹ã‚‰ã®ãƒ¬ãƒãƒ¼ãƒˆã‚’ã™ã¹ã¦ç„¡è¦–ã—ã¾ã™ã€‚åœæ¢ã¨ã¯ç„¡é–¢ä¿‚ã§ã™ - severities: - noop: ãªã— - silence: サイレンス - suspend: åœæ¢ - severity: 深刻度 show: affected_accounts: one: データベースä¸ã®ä¸€ã¤ã®ã‚¢ã‚«ã‚¦ãƒ³ãƒˆã«å½±éŸ¿ã—ã¾ã™ @@ -279,7 +274,6 @@ ja: suspend: ã“ã®ãƒ‰ãƒ¡ã‚¤ãƒ³ã‹ã‚‰ã®å˜åœ¨ã™ã‚‹ã™ã¹ã¦ã®ã‚¢ã‚«ã‚¦ãƒ³ãƒˆã®åœæ¢ã‚’戻㙠title: "%{domain}ã®ãƒ‰ãƒ¡ã‚¤ãƒ³ãƒ–ãƒãƒƒã‚¯ã‚’戻ã™" undo: å…ƒã«æˆ»ã™ - title: ドメインブãƒãƒƒã‚¯ undo: å…ƒã«æˆ»ã™ email_domain_blocks: add_new: æ–°è¦è¿½åŠ @@ -292,10 +286,6 @@ ja: title: メールアドレス用ブラックリスト新è¦è¿½åŠ title: メールブラックリスト instances: - account_count: 既知ã®ã‚¢ã‚«ã‚¦ãƒ³ãƒˆæ•° - domain_name: ドメインå - reset: リセット - search: 検索 title: 既知ã®ã‚¤ãƒ³ã‚¹ã‚¿ãƒ³ã‚¹ invites: deactivate_all: ã™ã¹ã¦ç„¡åŠ¹åŒ– diff --git a/config/locales/ka.yml b/config/locales/ka.yml index 7dd586aee8f379f81d44ef09b19db8ab1c0e81b7..056942ecd5503a5cc876e727c930a68f60075995 100644 --- a/config/locales/ka.yml +++ b/config/locales/ka.yml @@ -244,11 +244,6 @@ ka: title: áƒáƒ®áƒáƒšáƒ˜ დáƒáƒ›áƒ”ნის ბლáƒáƒ™áƒ˜ reject_media: მედირფáƒáƒ˜áƒšáƒ”ბის უáƒáƒ ყáƒáƒ¤áƒ reject_media_hint: შლის ლáƒáƒ™áƒáƒšáƒ£áƒ áƒáƒ“ შენáƒáƒ®áƒ£áƒš მედირფáƒáƒ˜áƒšáƒ”ბს დრუáƒáƒ ყáƒáƒ¤áƒ¡ სáƒáƒ›áƒáƒ›áƒáƒ•ლრგáƒáƒ“მáƒáƒ¢áƒ•ირთებს. შეუსáƒáƒ‘áƒáƒ›áƒ შეჩერებებისთვის - severities: - noop: áƒáƒ ც ერთი - silence: გáƒáƒ©áƒ£áƒ›áƒ”ბრ- suspend: შეჩერებრ- severity: სიმძიმე show: affected_accounts: one: გáƒáƒ•ლენრიქáƒáƒœáƒ˜áƒ მáƒáƒœáƒáƒªáƒ”მთრბáƒáƒ–áƒáƒ¨áƒ˜ ერთ áƒáƒœáƒ’áƒáƒ იშზე @@ -258,7 +253,6 @@ ka: suspend: áƒáƒ› დáƒáƒ›áƒ”ნში ყველრáƒáƒ სებულ áƒáƒœáƒ’áƒáƒ იშზე შეჩერების მáƒáƒ¨áƒáƒ ებრtitle: უკუáƒáƒ¥áƒªáƒ˜áƒ”თ დáƒáƒ›áƒ”ნის ბლáƒáƒ™áƒ˜ %{domain} დáƒáƒ›áƒ”ნზე undo: უკუქცევრ- title: დáƒáƒ›áƒ”ნის ბლáƒáƒ™áƒ”ბი undo: უკუქცევრemail_domain_blocks: add_new: áƒáƒ®áƒšáƒ˜áƒ¡ დáƒáƒ›áƒáƒ¢áƒ”ბრ@@ -271,10 +265,6 @@ ka: title: ელ-ფáƒáƒ¡áƒ¢áƒ˜áƒ¡ áƒáƒ®áƒáƒšáƒ˜ შენáƒáƒ¢áƒáƒœáƒ˜ შáƒáƒ• სიáƒáƒ¨áƒ˜ title: ელ-ფáƒáƒ¡áƒ¢áƒ˜áƒ¡ შáƒáƒ•ი სირinstances: - account_count: ცნáƒáƒ‘ილი áƒáƒœáƒ’áƒáƒ იშები - domain_name: დáƒáƒ›áƒ”ნი - reset: გáƒáƒ“áƒáƒ¢áƒ•ირთვრ- search: ძებნრtitle: ცნáƒáƒ‘ილი ინსტáƒáƒœáƒªáƒ˜áƒ”ბი invites: deactivate_all: ყველáƒáƒ¡ დეáƒáƒ¥áƒ¢áƒ˜áƒ•áƒáƒªáƒ˜áƒ diff --git a/config/locales/ko.yml b/config/locales/ko.yml index acfc811f3dc531d9b84f5e076410d2de52a3b002..e0b4bbd0f658a70b7207996e7f8065c81c44da22 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -267,11 +267,6 @@ ko: reject_media_hint: ë¡œì»¬ì— ì €ìž¥ëœ ë¯¸ë””ì–´ 파ì¼ì„ ì‚ì œí•˜ê³ , ì´í›„ë¡œë„ ë‹¤ìš´ë¡œë“œë¥¼ 거부합니다. ì •ì§€ì™€ëŠ” 관계 없습니다 reject_reports: ì‹ ê³ ê±°ë¶€ reject_reports_hint: ì´ ë„ë©”ì¸ìœ¼ë¡œë¶€í„°ì˜ ëª¨ë“ ì‹ ê³ ë¥¼ 무시합니다. ì •ì§€ì™€ëŠ” 무관합니다 - severities: - noop: ì—†ìŒ - silence: 침묵 - suspend: ì •ì§€ - severity: 심ê°ë„ show: affected_accounts: one: ë°ì´í„°ë² ì´ìФ 중 1ê°œì˜ ê³„ì •ì— ì˜í–¥ì„ ë¼ì¹©ë‹ˆë‹¤ @@ -281,7 +276,6 @@ ko: suspend: ì´ ë„ë©”ì¸ì— 존재하는 ëª¨ë“ ê³„ì •ì˜ ê³„ì • ì •ì§€ë¥¼ í•´ì œ title: "%{domain}ì˜ ë„ë©”ì¸ ì°¨ë‹¨ì„ í•´ì œ" undo: 실행 취소 - title: ë„ë©”ì¸ ì°¨ë‹¨ undo: 실행 취소 email_domain_blocks: add_new: 새로 추가 @@ -294,10 +288,6 @@ ko: title: 새 ì´ë©”ì¼ ë„ë©”ì¸ ì°¨ë‹¨ title: Email ë„ë©”ì¸ ì°¨ë‹¨ instances: - account_count: ì•Œë ¤ì§„ ê³„ì •ì˜ ìˆ˜ - domain_name: ë„ë©”ì¸ ì´ë¦„ - reset: 리셋 - search: 검색 title: ì•Œë ¤ì§„ ì¸ìŠ¤í„´ìŠ¤ë“¤ invites: deactivate_all: ì „ë¶€ 비활성화 diff --git a/config/locales/ms.yml b/config/locales/ms.yml index 7c6148e3be4bcab9b19b9fe6d541e5d90cffc7b0..e3c901eff84856a8af490c4a9d7974da12a5853e 100644 --- a/config/locales/ms.yml +++ b/config/locales/ms.yml @@ -260,11 +260,6 @@ ms: reject_media_hint: Buang fail media yang disimpan di sini dan menolak sebarang muat turun pada masa depan. Tidak berkaitan dengan penggantungan reject_reports: Tolak laporan reject_reports_hint: Abaikan semua laporan daripada domain ini. Tidak dikira untuk penggantungan - severities: - noop: Tiada - silence: Senyapkan - suspend: Gantungkan - severity: Tahap teruk show: affected_accounts: one: Satu akaun dalam pangkalan data menerima kesan @@ -274,7 +269,6 @@ ms: suspend: Buang penggantungan semua akaun sedia ada daripada domain ini title: Buang sekatan domain %{domain} undo: Buang - title: Sekatan domain undo: Buang email_domain_blocks: add_new: Tambah @@ -287,10 +281,6 @@ ms: title: Entri senarai hitam emel baru title: Senarai hitam emel instances: - account_count: Akaun diketahui - domain_name: Domain - reset: Set semula - search: Cari title: Tika diketahui invites: deactivate_all: Nyahaktifkan semua diff --git a/config/locales/nl.yml b/config/locales/nl.yml index 92acb71d1588ddbe2429b88d2fda06d2f99c4004..50fda80af12cfdfe325ec20665e20f5248ab7223 100644 --- a/config/locales/nl.yml +++ b/config/locales/nl.yml @@ -265,11 +265,6 @@ nl: reject_media_hint: Verwijderd lokaal opgeslagen mediabestanden en weigert deze in de toekomst te downloaden. Irrelevant voor opgeschorte domeinen reject_reports: Rapportages weigeren reject_reports_hint: Alle rapportages die vanaf dit domein komen negeren. Irrelevant voor opgeschorte domeinen - severities: - noop: Geen - silence: Negeren - suspend: Opschorten - severity: Zwaarte show: affected_accounts: one: Eén account in de database aangepast @@ -279,7 +274,6 @@ nl: suspend: Alle opgeschorte accounts van dit domein niet langer opschorten title: Domeinblokkade voor %{domain} ongedaan maken undo: Ongedaan maken - title: Domeinblokkades undo: Ongedaan maken email_domain_blocks: add_new: Nieuwe toevoegen @@ -292,10 +286,6 @@ nl: title: Nieuw e-maildomein blokkeren title: E-maildomeinen blokkeren instances: - account_count: Bekende accounts - domain_name: Domein - reset: Opnieuw - search: Zoeken title: Bekende servers invites: deactivate_all: Alles deactiveren diff --git a/config/locales/no.yml b/config/locales/no.yml index a446fa1f669dbc602edabe7a451aae03797517c6..cf8f77b4ccd54439663279cb3f256cf187a726ac 100644 --- a/config/locales/no.yml +++ b/config/locales/no.yml @@ -195,11 +195,6 @@ title: Ny domeneblokkering reject_media: Avvis mediefiler reject_media_hint: Fjerner lokalt lagrede mediefiler og nekter Ã¥ laste dem ned i fremtiden. Irrelevant for utvisninger - severities: - noop: Ingen - silence: MÃ¥lbind - suspend: Utvis - severity: Alvorlighet show: affected_accounts: one: En konto i databasen pÃ¥virket @@ -209,7 +204,6 @@ suspend: Avutvis alle eksisterende kontoer fra dette domenet title: Angre domeneblokkering for %{domain} undo: Angre - title: Domeneblokkeringer undo: Angre email_domain_blocks: add_new: Lag ny @@ -222,10 +216,6 @@ title: Ny blokkeringsoppføring av e-postdomene title: Blokkering av e-postdomene instances: - account_count: Kjente kontoer - domain_name: Domene - reset: Tilbakestill - search: Søk title: Kjente instanser invites: filter: diff --git a/config/locales/oc.yml b/config/locales/oc.yml index e81b10dac0e2d7ff9124bc7a1e8934d34f424a24..6d4a6833b68196764cf5a265ec7c6bb1c1438c5c 100644 --- a/config/locales/oc.yml +++ b/config/locales/oc.yml @@ -265,11 +265,6 @@ oc: reject_media_hint: Lèva los fichièrs gardats localament e regèta las demandas de telecargament dins lo futur. ServÃs pas a res per las suspensions reject_reports: Regetar los senhalaments reject_reports_hint: Ignorar totes los senhalaments que venon d’aqueste domeni. Pas pertiment per las suspensions - severities: - noop: Cap - silence: Silenci - suspend: Suspendre - severity: Severitat show: affected_accounts: one: Un compte de la basa de donadas tocat @@ -279,7 +274,6 @@ oc: suspend: Levar la suspension de totes los comptes d’aqueste domeni title: Restablir lo blocatge de domeni de %{domain} undo: Restablir - title: Blòc de domeni undo: Restablir email_domain_blocks: add_new: Ajustar @@ -292,10 +286,6 @@ oc: title: Nòu blocatge de domeni de corrièl title: Blocatge de domeni de corrièl instances: - account_count: Comptes coneguts - domain_name: Domeni - reset: Reïnicializar - search: Cercar title: Instà ncias conegudas invites: deactivate_all: O desactivar tot diff --git a/config/locales/pl.yml b/config/locales/pl.yml index 80259d013ae98465ae6511113e01e126372ebe56..7d9a0591930ca002ce3af471c47bfb5669185735 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -271,11 +271,6 @@ pl: reject_media_hint: Usuwa przechowywane lokalnie pliki multimedialne i nie pozwala na ich pobieranie. Nieprzydatne przy zawieszeniu reject_reports: Odrzucaj zgÅ‚oszenia reject_reports_hint: ZgÅ‚oszenia z tej instancji bÄ™dÄ… ignorowane. Nieprzydatne przy zawieszeniu - severities: - noop: Nic nie rób - silence: Wycisz - suspend: ZawieÅ› - severity: Priorytet show: affected_accounts: Dotyczy %{count} kont w bazie danych retroactive: @@ -283,7 +278,6 @@ pl: suspend: OdwoÅ‚aj zawieszenie wszystkich kont w tej domenie title: OdwoÅ‚aj blokadÄ™ dla domeny %{domain} undo: Cofnij - title: Zablokowane domeny undo: Cofnij email_domain_blocks: add_new: Dodaj nowÄ… @@ -296,10 +290,6 @@ pl: title: Nowa blokada domeny e-mail title: Blokowanie domen e-mail instances: - account_count: Znane konta - domain_name: Domena - reset: Przywróć - search: Szukaj title: Znane instancje invites: deactivate_all: Unieważnij wszystkie diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml index efb8b1bf88258a848ff4d2f8ba3b56b6096a1376..a475209eed3456f5ee4a6c72d5f7043b4e64ee2c 100644 --- a/config/locales/pt-BR.yml +++ b/config/locales/pt-BR.yml @@ -263,11 +263,6 @@ pt-BR: reject_media_hint: Remove arquivos de mÃdia armazenados localmente e recusa quaisquer outros no futuro. Irrelevante para suspensões reject_reports: Rejeitar denúncias reject_reports_hint: Ignorar todas as denúncias vindas deste domÃno. Irrelevante para suspensões - severities: - noop: Nenhum - silence: Silêncio - suspend: Suspensão - severity: Rigidez show: affected_accounts: one: Uma conta no banco de dados foi afetada @@ -277,7 +272,6 @@ pt-BR: suspend: Retirar suspensão de todas as contas neste domÃnio title: Retirar bloqueio de domÃnio de %{domain} undo: Retirar - title: Bloqueios de domÃnio undo: Retirar email_domain_blocks: add_new: Adicionar novo @@ -290,10 +284,6 @@ pt-BR: title: Novo bloqueio de domÃnio de e-mail title: Bloqueio de DomÃnio de E-mail instances: - account_count: Contas conhecidas - domain_name: DomÃnio - reset: Resetar - search: Buscar title: Instâncias conhecidas invites: deactivate_all: Desativar todos diff --git a/config/locales/pt.yml b/config/locales/pt.yml index a67223069da79397c50137ff784a4b9aaeb36f2b..037582f3432705f591335c278a55df668ee00324 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -195,11 +195,6 @@ pt: title: Novo bloqueio de domÃnio reject_media: Rejeitar ficheiros de media reject_media_hint: Remove localmente arquivos armazenados e rejeita fazer guardar novos no futuro. Irrelevante na suspensão - severities: - noop: Nenhum - silence: Silenciar - suspend: Suspender - severity: Severidade show: affected_accounts: one: Uma conta na base de dados afectada @@ -209,7 +204,6 @@ pt: suspend: Não suspender todas as contas existentes nesse domÃnio title: Remover o bloqueio de domÃnio de %{domain} undo: Anular - title: Bloqueio de domÃnio undo: Anular email_domain_blocks: add_new: Adicionar novo @@ -222,10 +216,6 @@ pt: title: Novo bloqueio de domÃnio de email title: Bloqueio de DomÃnio de Email instances: - account_count: Contas conhecidas - domain_name: DomÃnio - reset: Restaurar - search: Pesquisar title: Instâncias conhecidas invites: filter: diff --git a/config/locales/ru.yml b/config/locales/ru.yml index 40e66ceac9b06cf678e527eb68195abd08481503..3e37391a89101adaf5ef38e8d347afe377a3a4c7 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -260,11 +260,6 @@ ru: title: ÐÐ¾Ð²Ð°Ñ Ð´Ð¾Ð¼ÐµÐ½Ð½Ð°Ñ Ð±Ð»Ð¾ÐºÐ¸Ñ€Ð¾Ð²ÐºÐ° reject_media: Запретить медиаконтент reject_media_hint: УдалÑет локально хранимый медиаконтент и запрещает его загрузку в будущем. Ðе имеет Ð·Ð½Ð°Ñ‡ÐµÐ½Ð¸Ñ Ð² Ñлучае блокировки - severities: - noop: Ðичего - silence: Глушение - suspend: Блокировка - severity: СтрогоÑть show: affected_accounts: few: ВлиÑет на %{count} аккаунта в базе данных @@ -276,7 +271,6 @@ ru: suspend: СнÑть блокировку Ñо вÑех ÑущеÑтвующих аккаунтов Ñтого домена title: СнÑть блокировку Ñ Ð´Ð¾Ð¼ÐµÐ½Ð° %{domain} undo: Отменить - title: Доменные блокировки undo: Отменить email_domain_blocks: add_new: Добавить новую @@ -289,10 +283,6 @@ ru: title: ÐÐ¾Ð²Ð°Ñ Ð´Ð¾Ð¼ÐµÐ½Ð½Ð°Ñ Ð±Ð»Ð¾ÐºÐ¸Ñ€Ð¾Ð²ÐºÐ° еmail title: Ð”Ð¾Ð¼ÐµÐ½Ð½Ð°Ñ Ð±Ð»Ð¾ÐºÐ¸Ñ€Ð¾Ð²ÐºÐ° email instances: - account_count: ИзвеÑтных аккаунтов - domain_name: Домен - reset: СброÑить - search: ПоиÑк title: ИзвеÑтные узлы invites: deactivate_all: Отключить вÑе diff --git a/config/locales/sk.yml b/config/locales/sk.yml index 36399d7523c3c0509fd554f3d1ec53d198227ba9..4b386e352abc1e6f07574bf6aab9248f3432611e 100644 --- a/config/locales/sk.yml +++ b/config/locales/sk.yml @@ -269,11 +269,6 @@ sk: reject_media_hint: Zmaže lokálne uložené súbory médià a odmietne ich sÅ¥ahovanie v budúcnosti. Irelevantné pre suspendáciu reject_reports: Zamietni hlásenia reject_reports_hint: Ignoruj vÅ¡etky hlásenia prichádzajúce z tejto domény. Nevplýva na blokovania - severities: - noop: Žiadne - silence: StÃÅ¡iÅ¥ - suspend: SuspendovaÅ¥ - severity: ZávažnosÅ¥ show: affected_accounts: few: "%{count} úÄty v databáze ovplyvnených" @@ -284,7 +279,6 @@ sk: suspend: ZruÅ¡iÅ¥ suspendáciu vÅ¡etkých existujúcich úÄtov z tejto domény title: ZruÅ¡iÅ¥ blokovanie domény pre %{domain} undo: VrátiÅ¥ späť - title: Blokovanie domén undo: Späť email_domain_blocks: add_new: PridaÅ¥ nový @@ -297,10 +291,6 @@ sk: title: Nový email na zablokovanie title: Blokované emailové adresy instances: - account_count: Známe úÄty - domain_name: Doména - reset: ResetovaÅ¥ - search: HľadaÅ¥ title: Známe instancie invites: deactivate_all: PozastaviÅ¥ vÅ¡etky diff --git a/config/locales/sr-Latn.yml b/config/locales/sr-Latn.yml index 62ad744f3bcf5d847961a99dacc58539bf2bb3d3..82739c9bb77cfe2612a892ab268d8a3835b7a8ed 100644 --- a/config/locales/sr-Latn.yml +++ b/config/locales/sr-Latn.yml @@ -195,11 +195,6 @@ sr-Latn: title: Novo blokiranje domena reject_media: Odbaci multimediju reject_media_hint: Uklanja lokalno uskladiÅ¡tene multimedijske fajlove i odbija da ih skida na dalje. Nebitno je za suspenziju - severities: - noop: NiÅ¡ta - silence: Ućutkavanje - suspend: Suspenzija - severity: OÅ¡trina show: affected_accounts: few: UtiÄe na %{count} naloga u bazi @@ -211,7 +206,6 @@ sr-Latn: suspend: Ugasi suspenzije za sve postojeće naloge sa ovog domena title: PoniÅ¡ti blokadu domena za domen %{domain} undo: PoniÅ¡ti - title: Blokade domena undo: PoniÅ¡ti email_domain_blocks: add_new: Dodaj novuAdd new @@ -224,10 +218,6 @@ sr-Latn: title: Nova stavka u crnoj listi e-poÅ¡ti title: Crna lista adresa e-poÅ¡te instances: - account_count: Poznati nalozi - domain_name: Domen - reset: Resetuj - search: Pretraga title: Poznate instance invites: filter: diff --git a/config/locales/sr.yml b/config/locales/sr.yml index 009281339d5bea6507dc8de38e788ece653d1ed7..e78a9b81790d48420fd7c1e1e4fc377771fa9cc8 100644 --- a/config/locales/sr.yml +++ b/config/locales/sr.yml @@ -268,11 +268,6 @@ sr: reject_media_hint: Уклања локално уÑкладиштене мултимедијÑке фајлове и одбија да их Ñкида убудуће. Ðебитно је за ÑуÑпензију reject_reports: Одбаци извештај reject_reports_hint: Игнориши Ñве извештаје који долазе Ñа овог домена. Ðебитно је за ÑуÑпензије - severities: - noop: Ðишта - silence: Ућуткавање - suspend: СуÑпензија - severity: Оштрина show: affected_accounts: few: Утиче на %{count} налога у бази @@ -284,7 +279,6 @@ sr: suspend: Уклони ÑуÑпензије за Ñве поÑтојеће налоге Ñа овог домена title: Поништи блокаду домена за %{domain} undo: Поништи - title: Блокаде домена undo: Поништи email_domain_blocks: add_new: Додај нови @@ -297,10 +291,6 @@ sr: title: Ðова Ñтавка е-поштe у црној лиÑти title: Црна лиÑта E-поште instances: - account_count: Познати налози - domain_name: Домен - reset: РеÑетуј - search: Претрага title: Познате инÑтанце invites: deactivate_all: Деактивирај Ñве diff --git a/config/locales/sv.yml b/config/locales/sv.yml index 79040b46c348f51db2504e5fe1c9719f83a6df1e..aa5b3420daf7708033963f0ccc1d401cf27798b4 100644 --- a/config/locales/sv.yml +++ b/config/locales/sv.yml @@ -213,11 +213,6 @@ sv: title: Nytt domänblock reject_media: Avvisa mediafiler reject_media_hint: Raderar lokalt lagrade mediefiler och förhindrar möjligheten att ladda ner nÃ¥got i framtiden. Irrelevant för suspensioner - severities: - noop: Ingen - silence: Tysta ner - suspend: Suspendera - severity: SvÃ¥righet show: affected_accounts: one: Ett konto i databasen drabbades @@ -227,7 +222,6 @@ sv: suspend: Ta bort suspendering frÃ¥n alla befintliga konton pÃ¥ den här domänen title: Ã…ngra domänblockering för %{domain} undo: Ã…ngra - title: Domänblockering undo: Ã…ngra email_domain_blocks: add_new: Lägg till ny @@ -240,10 +234,6 @@ sv: title: Ny E-postdomänblocklistningsinmatning title: E-postdomänblock instances: - account_count: Kända konton - domain_name: Domän - reset: Ã…terställa - search: Sök title: Kända instanser invites: filter: diff --git a/config/locales/th.yml b/config/locales/th.yml index 1a1ffae3b67e20d6cdc03a55d7550259123a1779..5be8e02c0f0d36d470ac20e766141d299b7b91ec 100644 --- a/config/locales/th.yml +++ b/config/locales/th.yml @@ -84,10 +84,6 @@ th: title: à¸à¸²à¸£à¸šà¸¥à¹Šà¸à¸à¹‚ดเมนใหม่ reject_media: ไม่à¸à¸™à¸¸à¸¡à¸±à¸•ิไฟล์สื่ภreject_media_hint: ลบไฟล์สื่à¸à¸—ี่เà¸à¹‡à¸šà¹„ว้ในเครื่à¸à¸‡ à¹à¸¥à¸° ป้à¸à¸‡à¸à¸±à¸™à¸à¸²à¸£à¸”าวน์โหลดในà¸à¸™à¸²à¸„ต. Irrelevant for suspensions - severities: - silence: ปิดเสียง - suspend: หยุดไว้ - severity: Severity show: affected_accounts: one: มีผลต่à¸à¸«à¸™à¸¶à¹ˆà¸‡à¹à¸à¸„เค๊าท์ในà¸à¸²à¸™à¸‚้à¸à¸¡à¸¹à¸¥ @@ -97,11 +93,8 @@ th: suspend: ยà¸à¹€à¸¥à¸´à¸à¸à¸²à¸£à¸«à¸¢à¸¸à¸”ทุà¸à¹à¸à¸„เค๊าท์จาà¸à¹‚ดเมน title: ยà¸à¹€à¸¥à¸´à¸à¸à¸²à¸£à¸šà¸¥à¹Šà¸à¸à¹‚ดเมน %{domain} undo: ยà¸à¹€à¸¥à¸´à¸ - title: บล๊à¸à¸à¹‚ดเมน undo: ยà¸à¹€à¸¥à¸´à¸ instances: - account_count: Known accounts - domain_name: ชื่à¸à¹‚ดเมน title: Known Instances reports: comment: diff --git a/config/locales/tr.yml b/config/locales/tr.yml index aae1549f77033435e366a9b0a42e8061392b7831..c38b73f2e25152ec365175a939cab7f97ecbdea4 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -83,10 +83,6 @@ tr: title: Yeni domain bloÄŸu reject_media: Ortam dosyalarını reddetme reject_media_hint: Yerel olarak depolanmış ortam dosyalarını ve gelecekte indirilecek olanları reddeder. UzaklaÅŸtırma için uygun deÄŸildir - severities: - silence: Sustur - suspend: UzaklaÅŸtır - severity: İşlem show: affected_accounts: one: Veritabanındaki bir hesap etkilendi @@ -96,11 +92,8 @@ tr: suspend: Bu domaindeki tüm hesapların üzerindeki uzaklaÅŸtırma iÅŸlemini kaldır title: "%{domain} domain'i için yapılan iÅŸlemi geri al" undo: Geri al - title: Domain Blokları undo: Geri al instances: - account_count: Bilinen hesaplar - domain_name: Domain title: Bilinen Sunucular reports: comment: diff --git a/config/locales/uk.yml b/config/locales/uk.yml index b3fc4cd36483910e3485472e20d251c08b9411c9..9a63854b5821a064a667315c72153a88d2956699 100644 --- a/config/locales/uk.yml +++ b/config/locales/uk.yml @@ -237,11 +237,6 @@ uk: title: Ðове Ð±Ð»Ð¾ÐºÑƒÐ²Ð°Ð½Ð½Ñ Ð´Ð¾Ð¼ÐµÐ½Ñƒ reject_media: Заборонити медіаконтент reject_media_hint: ВидалÑÑ” медіаконтент, збережений локально, Ñ– заборонÑÑ” його Ð·Ð°Ð²Ð°Ð½Ñ‚Ð°Ð¶ÐµÐ½Ð½Ñ Ñƒ майбутньому. Ðе має Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ñƒ випадку Ð±Ð»Ð¾ÐºÑƒÐ²Ð°Ð½Ð½Ñ - severities: - noop: Ðічого - silence: Ð“Ð»ÑƒÑˆÐµÐ½Ð½Ñ - suspend: Ð‘Ð»Ð¾ÐºÑƒÐ²Ð°Ð½Ð½Ñ - severity: СуворіÑть show: affected_accounts: few: Впливає на %{count} акаунти у базі даних @@ -253,7 +248,6 @@ uk: suspend: ЗнÑти Ð±Ð»Ð¾ÐºÑƒÐ²Ð°Ð½Ð½Ñ Ð· уÑÑ–Ñ… Ñ–Ñнуючих акаунтів цього домену title: ЗнÑти Ð±Ð»Ð¾ÐºÑƒÐ²Ð°Ð½Ð½Ñ Ð· домена %{domain} undo: Відмінити - title: Доменні Ð±Ð»Ð¾ÐºÑƒÐ²Ð°Ð½Ð½Ñ undo: Відмінити email_domain_blocks: add_new: Додати @@ -266,10 +260,6 @@ uk: title: Ðове доменне Ð±Ð»Ð¾ÐºÑƒÐ²Ð°Ð½Ð½Ñ Ð´Ð¾Ð¼ÐµÐ½Ñƒ email title: Чорний ÑпиÑок поштових доменів instances: - account_count: Відомі аккаунти - domain_name: Домен - reset: Скинути - search: Пошук title: Відомі інÑтанції invites: filter: diff --git a/config/locales/zh-CN.yml b/config/locales/zh-CN.yml index d03bf12178406ca1d13243be7da7eda846a6bcff..e482e9c417a5d290f4a09516f493758a2411eabc 100644 --- a/config/locales/zh-CN.yml +++ b/config/locales/zh-CN.yml @@ -246,11 +246,6 @@ zh-CN: title: æ·»åŠ åŸŸåå±è”½ reject_media: æ‹’ç»æŽ¥æ”¶åª’ä½“æ–‡ä»¶ reject_media_hint: åˆ é™¤æœ¬åœ°å·²ç¼“å˜çš„媒体文件,并且ä¸å†æŽ¥æ”¶æ¥è‡ªè¯¥åŸŸå的任何媒体文件。æ¤é€‰é¡¹ä¸å½±å“å°ç¦ - severities: - noop: æ— - silence: 自动éšè— - suspend: 自动å°ç¦ - severity: å±è”½çº§åˆ« show: affected_accounts: one: 将会影å“到数æ®åº“ä¸çš„ 1 ä¸ªå¸æˆ· @@ -260,7 +255,6 @@ zh-CN: suspend: 对æ¤åŸŸåçš„æ‰€æœ‰å¸æˆ·è§£é™¤å°ç¦ title: 撤销对 %{domain} 的域åå±è”½ undo: 撤销 - title: 域åå±è”½ undo: 撤销 email_domain_blocks: add_new: æ·»åŠ æ–°æ¡ç›® @@ -273,10 +267,6 @@ zh-CN: title: æ·»åŠ ç”µå邮件域åå±è”½ title: 电å邮件域åå±è”½ instances: - account_count: å·²çŸ¥å¸æˆ· - domain_name: 域å - reset: é‡ç½® - search: æœç´¢ title: 已知实例 invites: deactivate_all: 撤销所有邀请链接 diff --git a/config/locales/zh-HK.yml b/config/locales/zh-HK.yml index 35b7741200c9d7411367d0669e7f8204575a098d..737ca000cfbf32e042459d5f173c5762c1ea65af 100644 --- a/config/locales/zh-HK.yml +++ b/config/locales/zh-HK.yml @@ -213,11 +213,6 @@ zh-HK: title: 新增域å阻隔 reject_media: 拒絕媒體檔案 reject_media_hint: 刪除本地緩å˜çš„媒體檔案,å†ä¹Ÿä¸åœ¨æœªä¾†ä¸‹è¼‰é€™å€‹ç«™é»žçš„æª”案。和自動刪除無關 - severities: - noop: ç„¡ - silence: 自動éœéŸ³ - suspend: 自動刪除 - severity: 阻隔分級 show: affected_accounts: è³‡æ–™åº«ä¸æœ‰%{count}個用戶å—影響 retroactive: @@ -225,7 +220,6 @@ zh-HK: suspend: å°æ¤åŸŸåçš„æ‰€æœ‰ç”¨æˆ¶å–æ¶ˆé™¤å title: 撤銷 %{domain} 的域å阻隔 undo: 撤銷 - title: 域å阻隔 undo: 撤銷 email_domain_blocks: add_new: åŠ å…¥æ–°é …ç›® @@ -238,10 +232,6 @@ zh-HK: title: 新增電郵網域阻隔 title: 電郵網域阻隔 instances: - account_count: 已知帳號 - domain_name: 域å - reset: é‡è¨ - search: æœç´¢ title: 已知æœå‹™ç«™ invites: filter: diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml index 5e209d2ffa4668338a2151afc2b26e6d4d30519b..f4bda0f348fb12dbfef7333bc5222ee5967f6e62 100644 --- a/config/locales/zh-TW.yml +++ b/config/locales/zh-TW.yml @@ -218,11 +218,6 @@ zh-TW: title: 新增å°éŽ–ç¶²åŸŸ reject_media: 拒絕媒體檔案 reject_media_hint: 刪除本地緩å˜çš„媒體檔案,並且ä¸å†æŽ¥æ”¶ä¾†è‡ªè©²ç¶²åŸŸçš„任何媒體檔案。與自動å°éŽ–ç„¡é—œ - severities: - noop: ç„¡ - silence: 自動éœéŸ³ - suspend: 自動å°éŽ– - severity: åš´é‡åº¦ show: affected_accounts: è³‡æ–™åº«ä¸æœ‰%{count}個使用者å—影響 retroactive: @@ -230,7 +225,6 @@ zh-TW: suspend: å°æ¤ç¶²åŸŸçš„æ‰€æœ‰ä½¿ç”¨è€…å–æ¶ˆå°éŽ– title: 撤銷 %{domain} 的網域å°éŽ– undo: 撤銷 - title: 網域å°éŽ– undo: 撤銷 email_domain_blocks: add_new: åŠ å…¥æ–°é …ç›® @@ -243,10 +237,6 @@ zh-TW: title: 新增E-mailå°éŽ– title: E-mailå°éŽ– instances: - account_count: 已知帳戶 - domain_name: 網域 - reset: é‡è¨ - search: æœå°‹ title: 已知站點 invites: filter: diff --git a/config/navigation.rb b/config/navigation.rb index 1b3c05ef7a8fa9bbf4fb556ed2dc60bdd5eb72bf..2365191dc200ce82af6c63d24639ec463eb7118a 100644 --- a/config/navigation.rb +++ b/config/navigation.rb @@ -29,8 +29,7 @@ SimpleNavigation::Configuration.run do |navigation| admin.item :accounts, safe_join([fa_icon('users fw'), t('admin.accounts.title')]), admin_accounts_url, highlights_on: %r{/admin/accounts} admin.item :invites, safe_join([fa_icon('user-plus fw'), t('admin.invites.title')]), admin_invites_path admin.item :tags, safe_join([fa_icon('tag fw'), t('admin.tags.title')]), admin_tags_path - admin.item :instances, safe_join([fa_icon('cloud fw'), t('admin.instances.title')]), admin_instances_url, highlights_on: %r{/admin/instances}, if: -> { current_user.admin? } - admin.item :domain_blocks, safe_join([fa_icon('lock fw'), t('admin.domain_blocks.title')]), admin_domain_blocks_url, highlights_on: %r{/admin/domain_blocks}, if: -> { current_user.admin? } + admin.item :instances, safe_join([fa_icon('cloud fw'), t('admin.instances.title')]), admin_instances_url, highlights_on: %r{/admin/instances|/admin/domain_blocks}, if: -> { current_user.admin? } admin.item :email_domain_blocks, safe_join([fa_icon('envelope fw'), t('admin.email_domain_blocks.title')]), admin_email_domain_blocks_url, highlights_on: %r{/admin/email_domain_blocks}, if: -> { current_user.admin? } end diff --git a/config/routes.rb b/config/routes.rb index 3ae2735d1c4b96a65e33af05f7f093b505f81bc2..af49845ccbe77e3abc501abb4fb45eb98f56029b 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -138,7 +138,7 @@ Rails.application.routes.draw do get '/dashboard', to: 'dashboard#index' resources :subscriptions, only: [:index] - resources :domain_blocks, only: [:index, :new, :create, :show, :destroy] + resources :domain_blocks, only: [:new, :create, :show, :destroy] resources :email_domain_blocks, only: [:index, :new, :create, :destroy] resources :action_logs, only: [:index] resources :warning_presets, except: [:new] @@ -157,11 +157,7 @@ Rails.application.routes.draw do end end - resources :instances, only: [:index] do - collection do - post :resubscribe - end - end + resources :instances, only: [:index, :show], constraints: { id: /[^\/]+/ } resources :reports, only: [:index, :show] do member do diff --git a/spec/controllers/admin/domain_blocks_controller_spec.rb b/spec/controllers/admin/domain_blocks_controller_spec.rb index 79e7fea42369a4896208518cf8777fc896310c19..129bf888370020bc10789f6c5e251dd0a72e377d 100644 --- a/spec/controllers/admin/domain_blocks_controller_spec.rb +++ b/spec/controllers/admin/domain_blocks_controller_spec.rb @@ -7,26 +7,6 @@ RSpec.describe Admin::DomainBlocksController, type: :controller do sign_in Fabricate(:user, admin: true), scope: :user end - describe 'GET #index' do - around do |example| - default_per_page = DomainBlock.default_per_page - DomainBlock.paginates_per 1 - example.run - DomainBlock.paginates_per default_per_page - end - - it 'renders domain blocks' do - 2.times { Fabricate(:domain_block) } - - get :index, params: { page: 2 } - - assigned = assigns(:domain_blocks) - expect(assigned.count).to eq 1 - expect(assigned.klass).to be DomainBlock - expect(response).to have_http_status(200) - end - end - describe 'GET #new' do it 'assigns a new domain block' do get :new @@ -53,7 +33,7 @@ RSpec.describe Admin::DomainBlocksController, type: :controller do expect(DomainBlockWorker).to have_received(:perform_async) expect(flash[:notice]).to eq I18n.t('admin.domain_blocks.created_msg') - expect(response).to redirect_to(admin_domain_blocks_path) + expect(response).to redirect_to(admin_instances_path(limited: '1')) end it 'renders new when failed to save' do @@ -76,7 +56,7 @@ RSpec.describe Admin::DomainBlocksController, type: :controller do expect(service).to have_received(:call).with(domain_block, true) expect(flash[:notice]).to eq I18n.t('admin.domain_blocks.destroyed_msg') - expect(response).to redirect_to(admin_domain_blocks_path) + expect(response).to redirect_to(admin_instances_path(limited: '1')) end end end diff --git a/spec/policies/instance_policy_spec.rb b/spec/policies/instance_policy_spec.rb index fbfddd72f5c613f130d3e706bdaa2e14e030f508..77a3bde3fb52c9a1e017fb825a9aa6be1c50ecd9 100644 --- a/spec/policies/instance_policy_spec.rb +++ b/spec/policies/instance_policy_spec.rb @@ -8,7 +8,7 @@ RSpec.describe InstancePolicy do let(:admin) { Fabricate(:user, admin: true).account } let(:john) { Fabricate(:user).account } - permissions :index?, :resubscribe? do + permissions :index? do context 'admin' do it 'permits' do expect(subject).to permit(admin, Instance)