From a0142c71321dc4ec899cf6a0a93e214fb136d256 Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Mon, 24 Jun 2024 01:15:17 +0200 Subject: [PATCH] Move the view_publicly localisation to admin.statuses.view_publicly --- app/views/admin/reports/_status.html.haml | 2 +- config/locales/en.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/reports/_status.html.haml b/app/views/admin/reports/_status.html.haml index d09b1d5a041..fb337ba3a8f 100644 --- a/app/views/admin/reports/_status.html.haml +++ b/app/views/admin/reports/_status.html.haml @@ -37,7 +37,7 @@ = t("statuses.visibilities.#{status.visibility}") · = link_to ActivityPub::TagManager.instance.url_for(status), target: stream_link_target, rel: 'noopener noreferrer', class: 'detailed-status__link' do - = t('statuses.view_publicly') + = t('admin.statuses.view_publicly') - if status.proper.sensitive? · = material_symbol('visibility_off') diff --git a/config/locales/en.yml b/config/locales/en.yml index 4e760293da2..a5f54225042 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -830,6 +830,7 @@ en: title: Account posts - @%{name} trending: Trending visibility: Visibility + view_publicly: View publicly with_media: With media strikes: actions: @@ -1721,7 +1722,6 @@ en: show_more: Show more show_thread: Show thread title: '%{name}: "%{quote}"' - view_publicly: View publicly visibilities: direct: Direct private: Followers-only