From 49b6a49c76caaa754c5a5e8d60203409eb2ced9f Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 25 Apr 2025 17:11:59 +0200 Subject: [PATCH] Change "Pin on profile" to "Feature on profile" for posts in web UI (#34492) --- app/javascript/mastodon/components/status.jsx | 9 +-------- app/javascript/mastodon/locales/en.json | 11 +++++------ 2 files changed, 6 insertions(+), 14 deletions(-) diff --git a/app/javascript/mastodon/components/status.jsx b/app/javascript/mastodon/components/status.jsx index 1fe9b096e1..c45942dde4 100644 --- a/app/javascript/mastodon/components/status.jsx +++ b/app/javascript/mastodon/components/status.jsx @@ -403,14 +403,7 @@ class Status extends ImmutablePureComponent { const connectReply = nextInReplyToId && nextInReplyToId === status.get('id'); const matchedFilters = status.get('matched_filters'); - if (featured) { - prepend = ( -
-
- -
- ); - } else if (status.get('reblog', null) !== null && typeof status.get('reblog') === 'object') { + if (status.get('reblog', null) !== null && typeof status.get('reblog') === 'object') { const display_name_html = { __html: status.getIn(['account', 'display_name_html']) }; prepend = ( diff --git a/app/javascript/mastodon/locales/en.json b/app/javascript/mastodon/locales/en.json index d9a0c8eb03..6b4a0a12ab 100644 --- a/app/javascript/mastodon/locales/en.json +++ b/app/javascript/mastodon/locales/en.json @@ -168,7 +168,7 @@ "column.lists": "Lists", "column.mutes": "Muted users", "column.notifications": "Notifications", - "column.pins": "Pinned posts", + "column.pins": "Featured posts", "column.public": "Federated timeline", "column_back_button.label": "Back", "column_header.hide_settings": "Hide settings", @@ -477,7 +477,7 @@ "keyboard_shortcuts.my_profile": "Open your profile", "keyboard_shortcuts.notifications": "Open notifications column", "keyboard_shortcuts.open_media": "Open media", - "keyboard_shortcuts.pinned": "Open pinned posts list", + "keyboard_shortcuts.pinned": "Open featured posts list", "keyboard_shortcuts.profile": "Open author's profile", "keyboard_shortcuts.reply": "Reply to post", "keyboard_shortcuts.requests": "Open follow requests list", @@ -561,7 +561,7 @@ "navigation_bar.mutes": "Muted users", "navigation_bar.opened_in_classic_interface": "Posts, accounts, and other specific pages are opened by default in the classic web interface.", "navigation_bar.personal": "Personal", - "navigation_bar.pins": "Pinned posts", + "navigation_bar.pins": "Featured posts", "navigation_bar.preferences": "Preferences", "navigation_bar.public_timeline": "Federated timeline", "navigation_bar.search": "Search", @@ -857,8 +857,7 @@ "status.mute": "Mute @{name}", "status.mute_conversation": "Mute conversation", "status.open": "Expand this post", - "status.pin": "Pin on profile", - "status.pinned": "Pinned post", + "status.pin": "Feature on profile", "status.read_more": "Read more", "status.reblog": "Boost", "status.reblog_private": "Boost with original visibility", @@ -883,7 +882,7 @@ "status.translated_from_with": "Translated from {lang} using {provider}", "status.uncached_media_warning": "Preview not available", "status.unmute_conversation": "Unmute conversation", - "status.unpin": "Unpin from profile", + "status.unpin": "Don't feature on profile", "subscribed_languages.lead": "Only posts in selected languages will appear on your home and list timelines after the change. Select none to receive posts in all languages.", "subscribed_languages.save": "Save changes", "subscribed_languages.target": "Change subscribed languages for {target}",