fix: external list and feed page statistics display

This commit is contained in:
DIYgod 2024-10-12 03:26:04 +08:00
parent dd398cdc4d
commit 6760a3486f
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View File

@ -50,7 +50,7 @@ export function Component() {
{t("feed.followsAndFeeds", {
subscriptionCount: list.data?.subscriptionCount,
subscriptionNoun: t("feed.follower", { count: list.data?.subscriptionCount }),
feedsCount: "feedCount" in listData ? listData.feedCount : 0,
feedsCount: list.data?.feedCount || 0,
feedsNoun: t("feed.feeds", { count: listData?.feedIds?.length }),
appName: APP_NAME,
})}

View File

@ -8,7 +8,7 @@
"feed.follower_one": "follower",
"feed.follower_other": "followers",
"feed.followsAndFeeds": "{{subscriptionCount}} {{subscriptionNoun}} and {{feedsCount}} {{feedsNoun}} on {{appName}}",
"feed.followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} with {{readCount}} {{readNoun}} on {{appName}}",
"feed.followsAndReads": "{{subscriptionCount}} {{subscriptionNoun}} with {{readCount}} recent {{readNoun}} on {{appName}}",
"feed.read_one": "read",
"feed.read_other": "reads",
"feed.view_feed_url": "View Feed URL",

View File

@ -8,9 +8,9 @@
"feed.follower_one": "关注者",
"feed.follower_other": "关注者",
"feed.followsAndFeeds": "在 {{appName}} 上有 {{subscriptionCount}} 个{{subscriptionNoun}}和 {{feedsCount}} 个{{feedsNoun}}",
"feed.followsAndReads": "在 {{appName}} 上有 {{subscriptionCount}} 个{{subscriptionNoun}}{{readCount}} {{readNoun}}",
"feed.read_one": "文章",
"feed.read_other": "文章",
"feed.followsAndReads": "在 {{appName}} 上有 {{subscriptionCount}} 个{{subscriptionNoun}}{{readCount}} 次近期{{readNoun}}",
"feed.read_one": "阅读",
"feed.read_other": "阅读",
"feed.view_feed_url": "查看链接",
"header.app": "应用",
"header.download": "下载",