From 2f41494a9a422bea8ed6c12896ba90648dd8d276 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Thu, 27 Aug 2020 08:49:36 -0700 Subject: [PATCH] fix: tweak language around bookmarking (#1848) For consistency with the rest of the UI, say "toot" instead of "status" and specify "toot." --- src/routes/_actions/bookmark.js | 6 +++--- .../_components/dialog/components/StatusOptionsDialog.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/routes/_actions/bookmark.js b/src/routes/_actions/bookmark.js index 06431865..ac52f620 100644 --- a/src/routes/_actions/bookmark.js +++ b/src/routes/_actions/bookmark.js @@ -12,14 +12,14 @@ export async function setStatusBookmarkedOrUnbookmarked (statusId, bookmarked) { await unbookmarkStatus(currentInstance, accessToken, statusId) } if (bookmarked) { - toast.say('Bookmarked status') + toast.say('Bookmarked toot') } else { - toast.say('Unbookmarked status') + toast.say('Unbookmarked toot') } store.setStatusBookmarked(currentInstance, statusId, bookmarked) await database.setStatusBookmarked(currentInstance, statusId, bookmarked) } catch (e) { console.error(e) - toast.say(`Unable to ${bookmarked ? 'bookmark' : 'unbookmark'} status: ` + (e.message || '')) + toast.say(`Unable to ${bookmarked ? 'bookmark' : 'unbookmark'} toot: ` + (e.message || '')) } } diff --git a/src/routes/_components/dialog/components/StatusOptionsDialog.html b/src/routes/_components/dialog/components/StatusOptionsDialog.html index 25b95042..930e471e 100644 --- a/src/routes/_components/dialog/components/StatusOptionsDialog.html +++ b/src/routes/_components/dialog/components/StatusOptionsDialog.html @@ -83,7 +83,7 @@ export default { muteConversationLabel: ({ mutingConversation }) => mutingConversation ? 'Unmute conversation' : 'Mute conversation', muteConversationIcon: ({ mutingConversation }) => mutingConversation ? '#fa-volume-up' : '#fa-volume-off', isPublicOrUnlisted: ({ visibility }) => visibility === 'public' || visibility === 'unlisted', - bookmarkLabel: ({ status }) => status.bookmarked ? 'Unbookmark' : 'Bookmark', + bookmarkLabel: ({ status }) => status.bookmarked ? 'Unbookmark toot' : 'Bookmark toot', items: ({ blockLabel, blocking, blockIcon, muteLabel, muteIcon, followLabel, followIcon, following, followRequested, pinLabel, isUser, visibility, mentionsUser, mutingConversation,