From 4eb68d36d472e3677d8696df3df37535ae336e03 Mon Sep 17 00:00:00 2001 From: codytseng Date: Mon, 15 Dec 2025 21:57:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=92=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UserAggregationList/index.tsx | 10 +++++++--- src/i18n/locales/ar.ts | 4 +++- src/i18n/locales/de.ts | 4 +++- src/i18n/locales/en.ts | 4 +++- src/i18n/locales/es.ts | 4 +++- src/i18n/locales/fa.ts | 4 +++- src/i18n/locales/fr.ts | 4 +++- src/i18n/locales/hi.ts | 4 +++- src/i18n/locales/hu.ts | 4 +++- src/i18n/locales/it.ts | 4 +++- src/i18n/locales/ja.ts | 4 +++- src/i18n/locales/ko.ts | 4 +++- src/i18n/locales/pl.ts | 4 +++- src/i18n/locales/pt-BR.ts | 4 +++- src/i18n/locales/pt-PT.ts | 4 +++- src/i18n/locales/ru.ts | 4 +++- src/i18n/locales/th.ts | 4 +++- src/i18n/locales/zh.ts | 4 +++- 18 files changed, 58 insertions(+), 20 deletions(-) diff --git a/src/components/UserAggregationList/index.tsx b/src/components/UserAggregationList/index.tsx index 737cb857..baadd648 100644 --- a/src/components/UserAggregationList/index.tsx +++ b/src/components/UserAggregationList/index.tsx @@ -18,7 +18,7 @@ import client from '@/services/client.service' import userAggregationService, { TUserAggregation } from '@/services/user-aggregation.service' import { TFeedSubRequest } from '@/types' import dayjs from 'dayjs' -import { History, Loader, Pin, PinOff } from 'lucide-react' +import { History, Loader, Star } from 'lucide-react' import { Event, kinds } from 'nostr-tools' import { forwardRef, @@ -563,9 +563,13 @@ function UserAggregationItem({ ? 'text-primary hover:text-primary/80' : 'text-muted-foreground hover:text-foreground' }`} - title={pinned ? t('Unpin') : t('Pin')} + title={pinned ? t('Unfollow Special') : t('Special Follow')} > - {loading ? : pinned ? : } + {loading ? ( + + ) : ( + + )}