about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/views/stream_entries/show.html.haml3
-rw-r--r--config/locales/en.yml1
2 files changed, 4 insertions, 0 deletions
diff --git a/app/views/stream_entries/show.html.haml b/app/views/stream_entries/show.html.haml
index 895a61247..b52334a28 100644
--- a/app/views/stream_entries/show.html.haml
+++ b/app/views/stream_entries/show.html.haml
@@ -1,3 +1,6 @@
+- content_for :page_title do
+  = t('statuses.title', name: display_name(@account), quote: truncate(@stream_entry.activity.text, length: 50, omission: '…'))
+
 - content_for :header_tags do
   - if @account.user&.setting_noindex
     %meta{ name: 'robots', content: 'noindex' }/
diff --git a/config/locales/en.yml b/config/locales/en.yml
index d42fb6427..ce6d7ee41 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -599,6 +599,7 @@ en:
       private: Non-public toot cannot be pinned
       reblog: A boost cannot be pinned
     show_more: Show more
+    title: '%{name}: "%{quote}"'
     visibilities:
       private: Followers-only
       private_long: Only show to followers