diff --git a/apps/desktop/layer/renderer/src/modules/settings/tabs/feeds.tsx b/apps/desktop/layer/renderer/src/modules/settings/tabs/feeds.tsx
index a71143c33..3c31bfe09 100644
--- a/apps/desktop/layer/renderer/src/modules/settings/tabs/feeds.tsx
+++ b/apps/desktop/layer/renderer/src/modules/settings/tabs/feeds.tsx
@@ -177,7 +177,7 @@ const SubscriptionFeedsSection = () => {
className="hover:text-text ml-4 text-left transition-colors"
onClick={() => handleSort("view")}
>
- View
+ {t("feeds.tableHeaders.view")}
{sortField === "view" && (
{sortDirection === "asc" ? "↑" : "↓"}
)}
@@ -187,7 +187,7 @@ const SubscriptionFeedsSection = () => {
onClick={() => handleSort("date")}
type="button"
>
- Subscribed Date
+ {t("feeds.tableHeaders.date")}
{sortField === "date" && (
{sortDirection === "asc" ? "↑" : "↓"}
)}
@@ -197,7 +197,7 @@ const SubscriptionFeedsSection = () => {
onClick={() => handleSort("subscriptionCount")}
type="button"
>
- Followers
+ {t("feeds.tableHeaders.followers")}
{sortField === "subscriptionCount" && (
{sortDirection === "asc" ? "↑" : "↓"}
)}
@@ -207,7 +207,7 @@ const SubscriptionFeedsSection = () => {
onClick={() => handleSort("updatesPerWeek")}
type="button"
>
- Updates
+ {t("feeds.tableHeaders.updatesPerWeek")}
{sortField === "updatesPerWeek" && (
{sortDirection === "asc" ? "↑" : "↓"}
)}
@@ -235,13 +235,13 @@ const SubscriptionFeedsSection = () => {
className="sticky bottom-16 mt-4 flex justify-center"
>
- {selectedFeeds.size} item(s) selected
+ {t("feeds.tableSelected.item", { count: selectedFeeds.size })}
@@ -256,7 +256,7 @@ const SubscriptionFeedsSection = () => {
- Move to View
+ {t("feeds.tableSelected.moveToView.action")}
@@ -269,7 +269,7 @@ const SubscriptionFeedsSection = () => {
type="button"
onClick={handleBatchUnsubscribe}
>
- Unsubscribe
+ {t("feeds.tableSelected.unsubscribe")}
@@ -369,6 +369,7 @@ const SortedFeedsList: FC<{
}
const ViewSelector: FC<{ selectedFeeds: Set }> = ({ selectedFeeds }) => {
+ const { t } = useTranslation("settings")
const { t: tCommon } = useTranslation("common")
const { mutate: batchUpdateSubscription } = useBatchUpdateSubscription()
const { ask } = useDialog()
@@ -379,8 +380,8 @@ const ViewSelector: FC<{ selectedFeeds: Set }> = ({ selectedFeeds }) =>
icon={view.icon}
onClick={() => {
ask({
- title: "Confirm",
- message: `Are you sure you want to move these feeds to ${tCommon(view.name)}?`,
+ title: t("feeds.tableSelected.moveToView.confirmTitle"),
+ message: t("feeds.tableSelected.moveToView.confirm", { view: tCommon(view.name) }),
onConfirm: () => {
batchUpdateSubscription({
feedIdList: Array.from(selectedFeeds),
diff --git a/locales/settings/en.json b/locales/settings/en.json
index 7dd41cd85..587ce6ed9 100644
--- a/locales/settings/en.json
+++ b/locales/settings/en.json
@@ -200,9 +200,19 @@
"feeds.claimTips": "To claim your feeds and receive tips, right-click on the feed in your subscription list and select Claim.",
"feeds.noFeeds": "No claimed feeds",
"feeds.subscription": "Subscribed Feeds",
+ "feeds.tableHeaders.date": "Subscribed Date",
+ "feeds.tableHeaders.followers": "Followers",
"feeds.tableHeaders.name": "Name",
"feeds.tableHeaders.subscriptionCount": "Subs",
"feeds.tableHeaders.tipAmount": "Tips",
+ "feeds.tableHeaders.updatesPerWeek": "Updates",
+ "feeds.tableHeaders.view": "View",
+ "feeds.tableSelected.clear": "Clear",
+ "feeds.tableSelected.item": "{{count}} item(s) selected",
+ "feeds.tableSelected.moveToView.action": "Move to View",
+ "feeds.tableSelected.moveToView.confirm": "Are you sure you want to move these feeds to {{view}}?",
+ "feeds.tableSelected.moveToView.confirmTitle": "Confirm",
+ "feeds.tableSelected.unsubscribe": "Unsubscribe",
"general.action.summary.description": "Generate a summary of the entry using AI.",
"general.action.summary.label": "AI Summary",
"general.action.title": "AI Actions",
diff --git a/locales/settings/zh-CN.json b/locales/settings/zh-CN.json
index 64a82612c..4bc3b07ca 100644
--- a/locales/settings/zh-CN.json
+++ b/locales/settings/zh-CN.json
@@ -195,9 +195,19 @@
"feeds.claimTips": "要认证你的订阅源并接收打赏,请在订阅列表中右键点击订阅源并选择「认证」。",
"feeds.noFeeds": "没有已认证的订阅源",
"feeds.subscription": "已订阅的订阅源",
+ "feeds.tableHeaders.date": "订阅日期",
+ "feeds.tableHeaders.followers": "订阅人数",
"feeds.tableHeaders.name": "名称",
"feeds.tableHeaders.subscriptionCount": "订阅数",
"feeds.tableHeaders.tipAmount": "收到的打赏",
+ "feeds.tableHeaders.updatesPerWeek": "更新频率",
+ "feeds.tableHeaders.view": "视图",
+ "feeds.tableSelected.clear": "清空",
+ "feeds.tableSelected.item": "{{count}} 项已选中",
+ "feeds.tableSelected.moveToView.action": "移动视图",
+ "feeds.tableSelected.moveToView.confirm": "确定要将这些订阅源移动到 {{view}} 吗?",
+ "feeds.tableSelected.moveToView.confirmTitle": "确认",
+ "feeds.tableSelected.unsubscribe": "取消订阅",
"general.action.summary.description": "使用 AI 生成条目总结。",
"general.action.summary.label": "AI 总结",
"general.action.title": "自动化",
diff --git a/packages/internal/components/src/icons/logo.tsx b/packages/internal/components/src/icons/logo.tsx
index 79051898d..8dcb80525 100644
--- a/packages/internal/components/src/icons/logo.tsx
+++ b/packages/internal/components/src/icons/logo.tsx
@@ -1,16 +1,22 @@
export const Logo = ({
ref,
...props
-}: React.SVGProps & { ref?: React.Ref }) => (
-
-)
+}: React.SVGProps & {
+ ref?: React.Ref
+ accentColor?: string
+}) => {
+ const { accentColor } = props
+ return (
+
+ )
+}