pl-fe: simplify requested follow action button text

Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
Nicole Mikołajczyk
2025-06-01 00:27:16 +02:00
parent 7d60415673
commit 8030319152
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
<!-- IMPORTANT: remember to remove this flag immediately on july 1st -->
!-- IMPORTANT: remember to remove this flag immediately on july 1st -->
# pl-fe 🏳️‍🌈
[![GitHub Repo stars](https://img.shields.io/github/stars/mkljczk/pl-fe)](https://github.com/mkljczk/pl-fe)

View File

@ -29,8 +29,8 @@ const messages = defineMessages({
follow: { id: 'account.follow', defaultMessage: 'Follow' },
mute: { id: 'account.mute', defaultMessage: 'Mute @{name}' },
remote_follow: { id: 'account.remote_follow', defaultMessage: 'Remote follow' },
requested: { id: 'account.requested', defaultMessage: 'Awaiting approval. Click to cancel follow request' },
requested_small: { id: 'account.requested_small', defaultMessage: 'Awaiting approval' },
requested: { id: 'account.requested', defaultMessage: 'Follow requested. Click to cancel' },
requested_small: { id: 'account.requested_small', defaultMessage: 'Follow requested' },
unblock: { id: 'account.unblock', defaultMessage: 'Unblock @{name}' },
unfollow: { id: 'account.unfollow', defaultMessage: 'Unfollow' },
unmute: { id: 'account.unmute', defaultMessage: 'Unmute @{name}' },
@ -55,7 +55,7 @@ interface IActionButton {
* May say "Unblock" or something else, depending on the relationship and
* `actionType` prop.
*/
const ActionButton: React.FC<IActionButton> = ({ account, actionType, small }) => {
const ActionButton: React.FC<IActionButton> = ({ account, actionType, small = true }) => {
const dispatch = useAppDispatch();
const features = useFeatures();
const intl = useIntl();

View File

@ -55,8 +55,8 @@
"account.remote_follow": "Remote follow",
"account.remove_from_followers": "Remove this follower",
"account.report": "Report @{name}",
"account.requested": "Awaiting approval. Click to cancel follow request",
"account.requested_small": "Awaiting approval",
"account.requested": "Follow requested. Click to cancel",
"account.requested_small": "Follow requested",
"account.rss_feed": "Subscribe to RSS feed",
"account.scrobbling": "Playing {song}",
"account.scrobbling.title": "{title} by {artist}",