From 7512f3a3e0a5cabb233e990d67e6138dfcdcd4fa Mon Sep 17 00:00:00 2001
From: Yamagishi Kazutoshi <ykzts@desire.sh>
Date: Sun, 27 Oct 2019 20:45:33 +0900
Subject: [PATCH] Change message of public timeline for local only (#12224)
---
app/views/public_timelines/show.html.haml | 6 +++++-
config/locales/en.yml | 1 +
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/app/views/public_timelines/show.html.haml b/app/views/public_timelines/show.html.haml
index 07215efdfd..0e4ba877df 100644
--- a/app/views/public_timelines/show.html.haml
+++ b/app/views/public_timelines/show.html.haml
@@ -7,7 +7,11 @@
.page-header
%h1= t('about.see_whats_happening')
- %p= t('about.browse_public_posts')
+
+ - if Setting.show_known_fediverse_at_about_page
+ %p= t('about.browse_public_posts')
+ - else
+ %p= t('about.browse_local_posts')
#mastodon-timeline{ data: { props: Oj.dump(default_props) }}
#modal-container
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 6fc191e1a5..38fe1a3828 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -11,6 +11,7 @@ en:
apps: Mobile apps
apps_platforms: Use Mastodon from iOS, Android and other platforms
browse_directory: Browse a profile directory and filter by interests
+ browse_local_posts: Browse a live stream of public posts from this server
browse_public_posts: Browse a live stream of public posts on Mastodon
contact: Contact
contact_missing: Not set
--
GitLab