同步插件源代码并补齐标准项目文件

This commit is contained in:
XIGE
2026-11-26 15:05:38 +08:00
parent f813b839fa
commit 86b4e24004
21 changed files with 4694 additions and 1 deletions

110
locales/en.json Normal file
View File

@@ -0,0 +1,110 @@
{
"common": {
"refresh": "Refresh",
"loading": "Loading…",
"search": "Search title / site",
"previousPage": "Previous",
"nextPage": "Next",
"pageOf": "Page {page} / {total}",
"retry": "Retry",
"copy": "Copy",
"copied": "Copied",
"save": "Save",
"cancel": "Cancel",
"close": "Close",
"error": "Error",
"total": "{total} items"
},
"setting": {
"title": "RSS Union Reader",
"siteUrl": "Site URL",
"siteUrlDesc": "Root URL of your site, e.g. https://example.com (no /action/rssunion, no trailing slash)",
"authCode": "Auth code",
"authCodeDesc": "Site → Member center → My subscriptions → “Obsidian auth code”, then copy it here",
"verify": "Verify",
"verifying": "Verifying…",
"verified": "Connected: {name}, {sites} subscribed sites",
"verifyNeedInput": "Fill in site URL and auth code first",
"pageSize": "Items per page",
"pageSizeDesc": "How many articles per page (10–100)",
"openMode": "Reader window",
"openModeDesc": "Where to open the article after the full text is fetched",
"openModeSplit": "Split to the right",
"openModeTab": "New tab",
"saveFolder": "Save folder",
"saveFolderDesc": "Folder used by “Save as note” (created when missing)",
"autoRefresh": "Auto refresh",
"autoRefreshDesc": "While the panel is open, how often to pull new articles. Choose “Off” to refresh only when you click Refresh.",
"autoRefreshOff": "Off",
"minutes": "{n} min",
"clearRead": "Read history",
"clearReadDesc": "Read/unread marks are stored on this device only. Clearing them makes every article unread again.",
"clearReadBtn": "Clear read marks",
"clearReadDone": "Read marks cleared",
"howTo": "How to use",
"howToBody": "1. Generate an auth code in the member center and paste it above; 2. Run “Open RSS Union reader” from the command palette, or click the RSS ribbon icon; 3. Pick a category or site on the left, click an article on the right, and the full text opens in the reader."
},
"view": {
"title": "RSS Union",
"all": "All subscriptions",
"emptyTree": "No subscriptions yet",
"emptyTreeDesc": "Subscribe to some sites on the RSS page or site square first, then categories and articles show up here.",
"notConfigured": "Site not configured",
"notConfiguredDesc": "Fill in the site URL and auth code in the plugin settings, then refresh.",
"openSettings": "Open settings",
"emptyList": "No articles in this scope",
"refreshing": "Refreshing…",
"refreshed": "Refreshed",
"fetchedMark": "Fetched",
"loadingList": "Loading articles…",
"totalCount": "{n} articles",
"readChip": "Read",
"unreadChip": "Unread",
"filterTip": "Show only {label}",
"filterClear": "Click again to show all",
"selectMode": "Select",
"selectCancel": "Cancel",
"selectTip": "Enter multi-select to mark several articles as read at once",
"selectExitTip": "Leave multi-select",
"selectAll": "All",
"selectAllTip": "Select every article on this page",
"selectNoneTip": "Click again to deselect all",
"selectItem": "Select this article",
"markRead": "Mark read",
"markReadTip": "Mark the {n} selected articles as read",
"markReadEmpty": "Select some articles first",
"markReadDone": "{n} articles marked as read",
"markReadNone": "The selected articles are already read",
"filterOn": "Filtered: {label} ({n})",
"filterPartial": "Only the latest {n} articles were scanned",
"searching": "Search: {q}",
"clearSearch": "Click to clear the search",
"emptyRead": "Nothing read in this scope yet",
"emptyReadDesc": "Articles you open are remembered here (on this device only)",
"emptyUnread": "You have read everything in this scope",
"emptyUnreadDesc": "Click “Read” on the right to browse what you have read",
"serverBadge": "Server outdated",
"serverBadgeTip": "Category counts on the left still cover the whole site. Upload the new Obsidian.php to the plugin folder and restart Obsidian.",
"serverOld": "The server API is outdated (v{v}), so category counts on the left are still site-wide: replace Obsidian.php in the plugin folder (1.9.316)",
"serverUnknown": "The server did not report an API version, so counts cannot be verified: replace Obsidian.php in the plugin folder (1.9.316)",
"catTip": "{total} articles site-wide, {mine} in your subscriptions",
"autoRefreshHint": "Auto refresh every {n} min",
"loadFailed": "Failed to load: {message}",
"openReader": "Read",
"open": "Open RSS Union reader"
},
"reader": {
"title": "Reader",
"fetching": "Fetching full text…",
"fetchingHint": "Requesting the original page and extracting the article",
"failed": "Fetch failed",
"noContent": "No article body found — the page may use an unusual layout, try opening it in the browser",
"openSource": "Open in browser",
"saveNote": "Save as note",
"saved": "Saved: {path}",
"copyAll": "Copy all",
"words": "{n} chars",
"source": "Source",
"unknownTitle": "Untitled"
}
}

110
locales/zh.json Normal file
View File

@@ -0,0 +1,110 @@
{
"common": {
"refresh": "刷新",
"loading": "加载中…",
"search": "搜索标题 / 网站",
"previousPage": "上一页",
"nextPage": "下一页",
"pageOf": "第 {page} / {total} 页",
"retry": "重试",
"copy": "复制",
"copied": "已复制",
"save": "保存",
"cancel": "取消",
"close": "关闭",
"error": "出错了",
"total": "共 {total} 条"
},
"setting": {
"title": "RSS Union Reader",
"siteUrl": "站点地址",
"siteUrlDesc": "填网站根地址,例如 https://example.com(不要带 /action/rssunion,也不要带结尾斜杠)",
"authCode": "授权码",
"authCodeDesc": "网站 → 会员中心 → 我的订阅 → 「Obsidian 授权码」,复制过来即可",
"verify": "验证连接",
"verifying": "验证中…",
"verified": "连接正常:{name},已订阅 {sites} 个网站",
"verifyNeedInput": "先填站点地址和授权码",
"pageSize": "每页文章数",
"pageSizeDesc": "右侧列表一页显示几条(10–100)",
"openMode": "阅读窗口",
"openModeDesc": "点文章抓完全文后在哪里打开",
"openModeSplit": "右侧分栏",
"openModeTab": "新标签页",
"saveFolder": "保存目录",
"saveFolderDesc": "「保存为笔记」写进库里的哪个文件夹(不存在会自动创建)",
"autoRefresh": "自动刷新间隔",
"autoRefreshDesc": "面板开着的时候,每隔多久去网站取一次新文章。选「关闭」就只在你手动点刷新时才更新。",
"autoRefreshOff": "关闭",
"minutes": "{n} 分钟",
"clearRead": "已读记录",
"clearReadDesc": "已读 / 未读标记只记在本机,不会同步到其他设备。清空后所有文章重新算未读。",
"clearReadBtn": "清空已读",
"clearReadDone": "已读记录已清空",
"howTo": "怎么用",
"howToBody": "1. 在会员中心生成授权码,填到上面的「授权码」;2. 命令面板执行「打开 RSS Union 阅读器」,或点左侧功能区的 RSS 图标;3. 左树选分类或网站,右侧点文章,抓到全文后打开阅读窗口。"
},
"view": {
"title": "RSS Union",
"all": "全部订阅",
"emptyTree": "还没有订阅任何网站",
"emptyTreeDesc": "先去网站的 RSS 聚合页或网站广场订阅几个网站,这里就会出现分类和文章。",
"notConfigured": "还没配置站点",
"notConfiguredDesc": "先在插件设置里填站点地址和授权码,然后回来刷新。",
"openSettings": "打开设置",
"emptyList": "这个范围暂时没有文章",
"refreshing": "正在刷新…",
"refreshed": "已刷新",
"fetchedMark": "已抓取",
"loadingList": "正在取文章列表…",
"totalCount": "共 {n} 篇",
"readChip": "已读",
"unreadChip": "未读",
"filterTip": "只看{label}",
"filterClear": "再点一次回到全部",
"selectMode": "选择",
"selectCancel": "取消",
"selectTip": "进入多选,勾选后可以一次标为已读",
"selectExitTip": "退出多选",
"selectAll": "全选",
"selectAllTip": "选中当前这一页的全部文章",
"selectNoneTip": "再点一次取消全选",
"selectItem": "选择这篇文章",
"markRead": "设为已读",
"markReadTip": "把勾选的 {n} 篇标为已读",
"markReadEmpty": "先勾选文章",
"markReadDone": "已把 {n} 篇标为已读",
"markReadNone": "勾选的文章都已经是已读了",
"filterOn": "筛选中:{label}({n} 篇)",
"filterPartial": "只筛了最近 {n} 篇",
"searching": "搜索:{q}",
"clearSearch": "点一下清空搜索",
"emptyRead": "这个范围还没有已读文章",
"emptyReadDesc": "点开过的文章会记在这里(只记在本机,不与其他设备同步)",
"emptyUnread": "这个范围的文章都读完了",
"emptyUnreadDesc": "点右侧「已读」可以回看读过的文章",
"serverOld": "服务端接口是旧版(v{v}),左侧数字仍是整个分类的全站篇数:把 plugins/RssUnion/Obsidian.php 覆盖成新版(1.9.316)",
"serverUnknown": "服务端没返回接口版本,无法确认左侧数字的口径:把 plugins/RssUnion/Obsidian.php 覆盖成新版(1.9.316)",
"serverBadge": "服务端待更新",
"serverBadgeTip": "左侧分类数字现在还是「整个分类全站」的篇数。把新版 Obsidian.php 覆盖到服务器插件目录,再重启 Obsidian 即可。",
"catTip": "全站 {total} 篇,你订阅的网站里有 {mine} 篇",
"autoRefreshHint": "每 {n} 分钟自动刷新",
"loadFailed": "加载失败:{message}",
"openReader": "读全文",
"open": "打开 RSS Union 阅读器"
},
"reader": {
"title": "阅读",
"fetching": "正在抓取全文…",
"fetchingHint": "正在请求原文并抽取正文,稍等",
"failed": "抓取失败",
"noContent": "没抽到正文,可能原文结构特殊,用浏览器打开看看",
"openSource": "浏览器打开",
"saveNote": "保存为笔记",
"saved": "已保存:{path}",
"copyAll": "复制全文",
"words": "{n} 字",
"source": "原文",
"unknownTitle": "未命名文章"
}
}