// ==UserScript== // @name AO3 Translator // @namespace https://github.com/V-Lipset/ao3-chinese // @description 中文化 AO3 界面,可调用 AI 实现简介、注释、评论以及全文翻译。 // @version 1.6.0-2025-12-20 // @author V-Lipset // @license GPL-3.0 // @include http*://archiveofourown.org/* // @include http*://archiveofourown.gay/* // @match https://xn--iao3-lw4b.ws/* // @match https://ao3sg.hyf9588.tech/* // @icon https://raw.githubusercontent.com/V-Lipset/ao3-chinese/main/assets/icon.png // @resource vIcon https://cdn.jsdelivr.net/gh/V-Lipset/ao3-chinese@main/assets/icon.png // @resource santaHat https://cdn.jsdelivr.net/gh/V-Lipset/ao3-chinese@main/assets/santa%20hat.png // @supportURL https://github.com/V-Lipset/ao3-chinese/issues // @downloadURL https://raw.githubusercontent.com/V-Lipset/ao3-chinese/main/local.user.js // @updateURL https://cdn.jsdelivr.net/gh/V-Lipset/ao3-chinese@main/local.user.js // @connect raw.githubusercontent.com // @connect cdn.jsdelivr.net // @connect translate.googleapis.com // @connect translate-pa.googleapis.com // @connect edge.microsoft.com // @connect api-edge.cognitive.microsofttranslator.com // @connect api.anthropic.com // @connect api.cerebras.ai // @connect api.deepseek.com // @connect generativelanguage.googleapis.com // @connect api.groq.com // @connect api-inference.modelscope.cn // @connect api.openai.com // @connect api.siliconflow.cn // @connect api.together.xyz // @connect open.bigmodel.cn // @connect fanyi.baidu.com // @connect transmart.qq.com // @run-at document-start // @grant GM_xmlhttpRequest // @grant GM_getValue // @grant GM_setValue // @grant GM_deleteValue // @grant GM_registerMenuCommand // @grant GM_unregisterMenuCommand // @grant GM_notification // @grant GM_addStyle // @grant GM_getResourceURL // ==/UserScript== (function (window, document, undefined) { 'use strict'; /****************** 词库区 (I18N) ******************/ const monthMap = { 'Jan': '1', 'Feb': '2', 'Mar': '3', 'Apr': '4', 'May': '5', 'Jun': '6', 'Jul': '7', 'Aug': '8', 'Sep': '9', 'Oct': '10', 'Nov': '11', 'Dec': '12' }; const I18N = { 'conf': { ignoreMutationSelectorPage: { '*': ['.userstuff .revised.at', '.kudos_count', '.bookmark_count', '.comment_count', '.hit_count', '.view_count'], 'works_show': ['.stats .hits', '.stats .kudos'], }, ignoreSelectorPage: { '*': ['script', 'style', 'noscript', 'iframe', 'canvas', 'video', 'audio', 'img', 'svg', 'pre', 'code', '.userstuff.workskin', '.workskin', 'div.autocomplete.dropdown ul', 'dd.freeform.tags', '[data-translated-by-custom-function]', 'li.freeforms'], 'works_show': ['.dropdown.actions-menu ul', '#main .userstuff'], 'works_chapters_show': ['#main .userstuff'], 'admin_posts_show': ['.userstuff'], 'tag_sets_index': ['h2.heading', 'dl.stats'], 'tag_sets_new': ['h4.heading > label[for*="freeform"]'], 'faq_page': ['.userstuff', '.faq.index.group'], 'wrangling_guidelines_page': ['.userstuff'], 'tos_page': ['#tos.userstuff'], 'content_policy_page': ['#content.userstuff'], 'privacy_policy_page': ['#privacy.userstuff'], 'dmca_policy_page': ['#DMCA.userstuff'], 'tos_faq_page': ['.admin.userstuff'], 'abuse_reports_new': ['.userstuff'], 'support_page': ['.userstuff'], 'known_issues_page': ['.admin.userstuff'], 'report_and_support_page': ['.userstuff'], }, characterDataPage: ['common', 'works_show', 'users_dashboard'], rePagePath: /^\/([a-zA-Z0-9_-]+)(?:\/([a-zA-Z0-9_-]+))?/ }, 'zh-CN': { 'title': { 'static': {}, 'regexp': [] }, 'public': { 'static': { // 基本 'Archive of Our Own': 'AO3 作品库', 'Fandoms': '同人圈', 'All Fandoms': '所有同人圈', 'Browse': '浏览', 'Works': '作品', 'Bookmarks': '书签', 'Tags': '标签', 'Collections': '合集', 'Search': '搜索', 'People': '用户', 'About': '关于', 'About Us': '关于我们', 'News': '新的动态', 'FAQ': '常见问题', 'Wrangling Guidelines': '整理指南', 'Donate or Volunteer': '捐赠/志愿', 'Recent Works': '最近作品', 'Recent Series': '最近系列', 'Recent Bookmarks': '最近书签', 'Collections:': '合集:', 'Bookmarker\'s Tags:': '书签创建者的标签:', 'Bookmarker\'s Collections:': '书签创建者的合集:', 'Completed': '已完结', 'Bookmark Tags:': '书签标签:', 'Complete Work': '已完结', 'Work in Progress': '连载中', 'Public Bookmark': '公开书签', 'Most Popular': '最常用', 'Tag Sets': '标签集', 'Warnings': '预警', 'Find your favorites': '寻找喜欢的内容', // 登录 'Log In': '登录', 'Log in': '登录', 'Sign Up': '注册', 'User': '用户', 'Username or email:': '用户名或邮箱:', 'Password:': '密码:', 'Remember Me': '记住我', 'Remember me': '记住我', 'Forgot password?': '忘记密码?', 'Get an Invitation': '获取邀请', // 忘记密码 'Forgotten your password?': '忘记您的密码了吗?', 'If you\'ve forgotten your password, we can send instructions that will allow you to reset it. Please tell us the username or email address you used when you signed up for your Archive account.': '如果您忘记了密码,我们可以发送允许您重置密码的邮件说明。请输入您注册 AO3 帐户时使用的用户名或电子邮箱地址。', 'Reset Password': '重置密码', // 星期 'Mon': '周一', 'Tue': '周二', 'Wed': '周三', 'Thu': '周四', 'Fri': '周五', 'Sat': '周六', 'Sun': '周日', 'Monday': '星期一', 'Tuesday': '星期二', 'Wednesday': '星期三', 'Thursday': '星期四', 'Friday': '星期五', 'Saturday': '星期六', 'Sunday': '星期日', // 月份 'Jan': '1月', 'Feb': '2月', 'Mar': '3月', 'Apr': '4月', 'May': '5月', 'Jun': '6月', 'Jul': '7月', 'Aug': '8月', 'Sep': '9月', 'Oct': '10月', 'Nov': '11月', 'Dec': '12月', 'January': '1月', 'February': '2月', 'March': '3月', 'April': '4月', 'May': '5月', 'June': '6月', 'July': '7月', 'August': '8月', 'September': '9月', 'October': '10月', 'November': '11月', 'December': '12月', // 页脚 'Footer': '页脚', 'Customize': '自定义', 'Default': '默认界面', 'Low Vision Default': '低视力默认界面', 'Reversi': 'Reversi 界面', 'Snow Blue': 'Snow Blue 界面', 'About the Archive': '关于 Archive', 'Site Map': '站点地图', 'Diversity Statement': '多元化声明', 'Terms of Service': '服务条款', 'Content Policy': '内容政策', 'Privacy Policy': '隐私政策', 'DMCA Policy': 'DMCA 政策', 'Site Status': '站点状态', 'TOS FAQ': '服务条款常见问题', '↑ Top': '↑ 回到顶部', 'Frequently Asked Questions': '常见问题', 'Contact Us': '联系我们', 'Policy Questions & Abuse Reports': '政策咨询与滥用举报', 'Technical Support & Feedback': '技术支持与反馈', 'Development': '开发', 'Known Issues': '已知问题', 'View License': '查看许可证', 'OTW': 'OTW', 'Organization for Transformative Works': '再创作组织', // 反馈 'Support and Feedback': '支持与反馈', 'FAQs & Tutorials': '常见问题与教程', 'Release Notes': '更新日志', // 动态 'News': '最新动态', 'All News': '全部动态', 'Published': '发布于', 'Comments': '评论', 'Read more...': '更多', 'Tag:': '标签:', 'Go': '确定', 'RSS Feed': 'RSS 订阅', 'Follow us': '关注我们', 'What\'s New': '新增内容', 'Enter Comment': '输入评论', 'Last Edited': '最后编辑', // 同人圈 'Anime & Manga': '动漫及漫画', 'Books & Literature': '书籍及文学', 'Cartoons & Comics & Graphic Novels': '卡通,漫画及图像小说', 'Celebrities & Real People': '明星及真人', 'Movies': '电影', 'Music & Bands': '音乐及乐队', 'Other Media': '其她媒体', 'Theater': '戏剧', 'TV Shows': '电视剧', 'Video Games': '电子游戏', 'Uncategorized Fandoms': '未分类的同人圈', '> Anime & Manga': ' > 动漫及漫画', '> Books & Literature': ' > 书籍及文学', '> Cartoons & Comics & Graphic Novels': ' > 卡通,漫画及图像小说', '> Celebrities & Real People': ' > 明星及真人', '> Movies': ' > 电影', '> Music & Bands': ' > 音乐及乐队', '> Other Media': ' > 其她媒体', '> Theater': ' > 戏剧', '> TV Shows': ' > 电视剧', '> Video Games': ' > 电子游戏', '> Uncategorized Fandoms': ' > 未分类的同人圈', // 个人中心 'My Dashboard': '个人中心', 'My Subscriptions': '订阅列表', 'My History': '历史记录', 'My Preferences': '偏好设置', 'Dashboard': '仪表盘', 'Preferences': '偏好设置', 'Skins': '站点界面', 'Works in Collections': '合集中的作品', 'Drafts': '草稿', 'Please note:': '注意:', 'Unposted drafts are only saved for a month from the day they are first created, and then deleted from the Archive.': '未发布的草稿自创建日起仅保留一个月,之后将被从 Archive 中删除。', 'Series': '系列', 'Bookmark External Work': '为外部作品创建书签', 'save a bookmark!': '创建书签', 'Sorry, there were no collections found.': '抱歉,未找到任何合集。', 'Manage Collection Items': '管理合集', 'New Collection': '新建合集', 'Works in Challenges/Collections': '参与挑战/合集的作品', 'Awaiting Collection Approval': '等待合集方审核', 'Awaiting User Approval': '等待用户确认', 'Rejected by Collection': '合集方已拒绝', 'Rejected by User': '用户已拒绝', 'Approved': '已通过', 'Nothing to review here!': '当前无待审内容!', 'Inbox': '消息中心', 'Filter by read': '按阅读状态筛选', 'Show all': '显示全部', 'Show unread': '显示未读', 'Show read': '显示已读', 'Filter by replied to': '按回复状态筛选', 'Show all': '显示全部', 'Show without replies': '显示未回复', 'Show replied to': '显示已回复', 'Sort by date': '按日期排序', 'Newest first': '最新优先', 'Oldest first': '最早优先', 'Filter': '筛选', 'Statistics': '数据统计', 'History': '历史记录', 'Full History': '全部历史记录', 'Marked for Later': '稍后阅读', 'Is it later already?': '到“稍后”了吗?', 'Some works you\'ve marked for later.': '这里是您标记为稍后阅读的作品。', 'Clear History': '清空历史记录', 'Delete from History': '删除历史记录', 'Subscriptions': '订阅列表', 'All Subscriptions': '所有订阅', 'Series Subscriptions': '系列订阅', 'User Subscriptions': '用户订阅', 'Work Subscriptions': '作品订阅', 'My Series Subscriptions': '系列订阅', 'My User Subscriptions': '用户订阅', 'My Work Subscriptions': '作品订阅', 'Delete All Work Subscriptions': '删除所有作品订阅', 'Delete All Series Subscriptions': '删除所有系列订阅', 'Delete All User Subscriptions': '删除所有用户订阅', 'Yes, Delete All Subscriptions': '是的,删除所有订阅', 'Yes, Delete All Work Subscriptions': '是的,删除所有作品订阅', 'Yes, Delete All Series Subscriptions': '是的,删除所有系列订阅', 'Yes, Delete All User Subscriptions': '是的,删除所有用户订阅', 'Your subscriptions have been deleted.': '您的订阅已成功删除。', 'Unsubscribe': '取消订阅', 'Delete All Subscriptions': '删除所有订阅', 'Sign-ups': '报名挑战', 'Assignments': '任务中心', 'My Assignments': '任务中心', 'Looking for prompts you claimed in a prompt meme? Try': '想查看您在“接梗挑战”中认领的同人梗?请前往', 'My Claims': '我的认领', 'Unfulfilled Claims': '未完成的认领', 'Fulfilled Claims': '已完成的认领', 'Looking for assignments you were given for a gift exchange? Try': '想查看您在赠文交换活动中被分配的任务?请前往', 'Claims': '我的认领', 'Related Works': '相关作品', 'Gifts': '赠文', 'Accepted Gifts': '已接受的赠文', 'Refused Gifts': '已拒绝的赠文', 'Choices': '用户选项', 'Pitch': '创作与发布', 'Catch': '互动与追踪', 'Switch': '活动与交换', 'My Works': '我的作品', 'My Series': '我的系列', 'My Bookmarks': '我的书签', 'My Collections': '我的合集', 'History': '历史记录', 'Log Out': '登出', 'Post New': '发布新作', 'Edit Works': '编辑作品', 'Subscribe': '订阅', 'Invitations': '邀请', 'My pseuds:': '笔名:', 'Name (required)': '名称(必填)', 'Create Pseud': '创建笔名', 'Edit Pseud': '编辑笔名', 'Back To Pseuds': '返回笔名列表', 'Pseuds': '笔名', 'Pseud was successfully created.': '笔名已成功创建。', 'I joined on:': '加入于:', 'My user ID is:': '用户ID:', 'Edit My Works': '编辑作品', 'Edit My Profile': '编辑资料', 'Set My Preferences': '设置偏好', 'Manage My Pseuds': '管理笔名', 'Delete My Account': '删除账号', 'Blocked Users': '已屏蔽用户', 'Muted Users': '已静音用户', 'Change Username': '修改用户名', 'Change Password': '修改密码', 'Email address': '邮箱地址', 'Change Email': '修改邮箱', 'Privacy': '隐私设置', 'Show my email address to other people.': '向其她人显示我的邮箱地址', 'Show my date of birth to other people.': '向其她人显示我的出生日期', 'Hide my work from search engines when possible.': '尽可能地对搜索引擎隐藏我的作品', 'Hide the share buttons on my work.': '隐藏我作品中的分享按钮', 'Allow others to invite me to be a co-creator.': '允许其她人邀请我成为共同创作者', 'Display': '显示设置', 'Show me adult content without checking.': '无需确认即可显示成人内容', 'Show the whole work by default.': '默认显示全文', 'Hide warnings (you can still choose to show them).': '隐藏内容预警(仍可手动显示)', 'Hide additional tags (you can still choose to show them).': '隐藏附加标签(仍可手动显示)', 'Hide work skins (you can still choose to show them).': '隐藏作品界面(仍可手动显示)', 'Your site skin': '您的站点界面', 'Public Site Skins': '公开站点界面', 'Your time zone': '您所在的时区', 'Browser page title format': '浏览页面标题格式', 'Turn off emails about comments.': '关闭评论邮件通知', 'Turn off messages to your inbox about comments.': '关闭评论消息通知', 'Turn off copies of your own comments.': '关闭自己评论的副本通知', 'Turn off emails about kudos.': '关闭点赞邮件通知', 'Do not allow guests to reply to my comments on news posts or other users\' works (you can still control the comment settings for your works separately).': '不允许游客回复我在动态帖或其她用户作品中的评论(仍可单独调整自己作品的评论权限)', 'Collections, Challenges and Gifts': '合集、挑战与赠文设置', 'Allow others to invite my works to collections.': '允许其她人将我的作品加入合集', 'Allow anyone to gift me works.': '允许任何人向我赠送作品', 'Turn off emails from collections.': '关闭来自合集的邮件通知', 'Turn off inbox messages from collections.': '关闭来自合集的消息通知', 'Turn off emails about gift works.': '关闭有关赠文的邮件通知', 'Misc': '其她偏好设置', 'Turn on History.': '启用历史记录', 'Turn the new user help banner back on.': '重新显示新用户帮助横幅', 'Turn off the banner showing on every page.': '关闭每个页面的提示横幅', 'Update': '确定', 'My Site Skins': '我的站点界面', 'Create Site Skin': '创建站点界面', 'A site skin lets you change the way the Archive is presented when you are logged in to your account. You can use work skins to customize the way your own works are shown to others.': '站点界面可让您在登录账户后更改 Archive 的呈现方式。您也可以使用作品界面来自定义其她人查看您作品时的展示样式。', 'My Site Skins': '我的站点界面', 'My Work Skins': '我的作品界面', 'Public Work Skins': '公开作品界面', 'Create Work Skin': '创建作品界面', 'No site skins here yet!': '还没有站点界面!', 'No work skins here yet!': '还没有作品界面!', 'Why not try making one?': '为什么不试着去创建一个呢?', 'Inbox': '收件箱', 'Subscribed Works': '已订阅作品', 'Subscribed Series': '已订阅系列', // 作品搜索页 'Work Info': '作品信息', 'Date Posted': '发布日期', 'Date Updated': '更新日期', 'Completion status': '完成状态', 'All works': '所有作品', 'Complete works only': '仅完结作品', 'Works in progress only': '仅连载作品', 'Include crossovers': '包含跨圈作品', 'Exclude crossovers': '排除跨圈作品', 'Only crossovers': '仅限跨圈作品', 'Single Chapter': '单个章节', 'Rating': '分级', 'Categories': '分类', 'Other': '其她', 'Work Stats': '作品统计', 'Hits': '点击', 'Kudos': '点赞', 'Kudos ♥': '点赞 ♥', 'Sort by': '排序方式', 'Best Match': '最佳匹配', 'Sort direction': '排序方向', 'Descending': '降序', 'Ascending': '升序', 'Filter by title': '按标题筛选', 'Filter by tag': '按标签筛选', 'Work Search': '作品搜索', 'Any Field': '任意字段', 'Date': '日期', 'Crossovers': '跨圈作品', 'Language': '语言', 'Characters': '角色', 'Relationships': '关系', 'Additional Tags': '附加标签', // 用户搜索页 'Search all fields': '搜索所有字段', 'Name': '名称', 'Fandom': '同人圈', 'Search People': '搜索用户', // 标签搜索页 'Tag name': '标签名称', 'Find tags wrangled to specific canonical fandoms.': '查找已整理至特定规范同人圈的标签。', 'Type': '类型', 'Fandom': '同人圈', 'Character': '角色', 'Relationship': '关系', 'Freeform': '自由标签', 'Any type': '任意类型', 'Wrangling status': '整理状态', 'Canonical': '规范', 'Non-canonical': '非规范', 'Synonymous': '同义', 'Canonical or synonymous': '规范或同义', 'Non-canonical and non-synonymous': '非规范且非同义', 'Any status': '任意状态', 'Name': '名称', 'Date Created': '创建日期', 'Uses': '使用次数', 'Search Tags': '搜索标签', 'Title': '标题', 'Author': '作者', 'Artist': '画师', 'Author/Artist': '作者/画师', 'People Search': '用户搜索', 'Tag Search': '标签搜索', 'Work Tags': '作品标签', // 浏览 'Expand Fandoms List': '展开同人圈列表', 'Collapse Fandoms List': '收起同人圈列表', 'Recent works': '最近作品', 'Recent series': '最近系列', 'Recent bookmarks': '最近书签', 'Expand Works List': '展开作品列表', 'Collapse Works List': '收起作品列表', 'Expand Bookmarks List': '展开书签列表', 'Collapse Booksmarks List': '收起书签列表', // 个人资料 'Edit My Profile': '编辑简介', 'Edit Profile': '编辑简介', 'Edit Default Pseud and Icon': '编辑笔名和头像', 'Change Username': '更改用户名', 'Change My Username': '更改用户名', 'Change Password': '更改密码', 'Change My Password': '更改密码', 'Change Email': '更改邮箱', 'Title': '标题', 'Location': '位置', 'Date of Birth': '出生日期', 'About Me': '关于我', 'Plain text with limited HTML': '纯文本,支持有限 HTML', 'Embedded images ( tags) will be displayed as HTML, including the image\'s source link and any alt text.': '嵌入的图像( 标签)将显示为 HTML,包括图像的源链接和任何替代文本。', 'Update': '更新', 'Editing pseud': '编辑笔名', 'Name': '名称', 'Make this name default': '将此笔名设为默认', 'Description': '简介', 'Icon': '头像', 'This is your icon.': '这是您的头像。', 'You can have one icon for each pseud.': '每个笔名可设置一个头像。', 'Icons can be in png, jpeg or gif form.': '头像格式支持 PNG、JPEG 和 GIF。', 'Icons should be sized 100x100 pixels for best results.': '建议头像尺寸为 100×100 像素以获得最佳效果。', 'Upload a new icon': '上传新头像', 'Icon alt text': '头像替代文本', 'Icon comment text': '头像注释文本', 'New Pseud': '新建笔名', 'Default Pseud': '默认笔名', 'Edit Pseud': '编辑笔名', 'Edit': '编辑', 'Current username': '当前用户名', 'New username': '新用户名', 'Your username has been successfully updated.': '您的用户名已成功更新。', 'Password': '密码', 'New password': '新密码', 'Confirm new password': '确认新密码', 'Old password': '旧密码', 'Current email': '当前邮箱', 'New email': '新邮箱', 'Enter new email again': '再次输入新邮箱', 'Confirm New Email': '确认新邮箱', 'Submit': '提交', 'Create': '创建', // 作品 'Rating:': '分级:', 'Archive Warning:': 'Archive 预警:', 'Archive Warnings:': 'Archive 预警:', 'Archive Warning': 'Archive 预警', 'Archive Warnings': 'Archive 预警', 'Category:': '分类:', 'Categories:': '分类:', 'Fandom:': '同人圈:', 'Fandoms:': '同人圈:', 'Relationship:': '关系:', 'Relationships:': '关系:', 'Character:': '角色:', 'Characters:': '角色:', 'Additional Tag:': '附加标签:', 'Additional Tags:': '附加标签:', 'Language:': '语言:', 'Series': '系列', 'Series:': '系列:', 'Stats:': '统计:', 'Published:': '发布于:', 'Completed:': '完结于:', 'Updated:': '更新于:', 'Words:': '字数:', 'Chapters:': '章节:', 'Comments:': '评论:', 'Kudos:': '点赞:', 'Bookmarks:': '书签:', 'Hits:': '点击:', 'Complete?': '已完结?', 'Word Count:': '字数:', 'Date Updated:': '更新日期:', 'Post': '发布', 'New Work': '新作品', 'Edit Work': '编辑作品', 'Import Work': '导入作品', 'From Draft': '从草稿', 'Edit': '编辑', 'Edit Tags': '编辑标签', 'Add Chapter': '添加章节', 'Post Draft': '发布草稿', 'Delete Draft': '删除草稿', 'Post Chapter': '发布章节', 'Edit Chapter': '编辑章节', 'Delete Chapter': '删除章节', 'Manage Chapters': '管理章节', 'Drag chapters to change their order.': '拖动章节以更改顺序。', 'Enter new chapter numbers.': '输入新的章节编号。', 'Update Positions': '更新顺序', 'Update': '更新', 'Delete': '删除', 'Cancel': '取消', 'Save': '保存', 'Saved': '已保存', 'Submit': '提交', 'Orphan Work': '匿名化作品', 'Orphan Works': '匿名化作品', 'Filters': '筛选器', 'Sort By': '排序方式', 'Random': '随机', 'Creator': '创作者', 'Date Updated': '更新日期', 'Word Count': '字数统计', 'Summary': '简介', 'Summary:': '简介:', 'Notes': '注释', 'Work Text': '作品正文', 'Chapter Index': '章节索引', 'Full-page index': '整页索引', 'Full-Page Index': '整页索引', 'Entire Work': '完整作品', 'Next Chapter': '下一章', 'Previous Chapter': '上一章', 'kudos': ' 个赞', 'bookmark': ' 条书签', 'comment': ' 条评论', '← Previous': '← 上一页', 'Next →': '下一页 →', 'All fields are required. Your email address will not be published.': '所有字段均为必填。您的电子邮箱地址不会被公开。', 'Guest name': '访客名称', 'Guest email': '访客邮箱', 'Please enter your name.': '请输入您的名称', 'Please enter your email address.': '请输入您的电子邮箱地址', 'Hide Creator\'s Style': '隐藏创作者样式', 'Show Creator\'s Style': '显示创作者样式', 'top level comment': '主评论', 'Share Work': '分享作品', 'Restore From Last Unposted Draft?': '从上次未发布的草稿继续', 'Delete Work': '删除作品', 'Save As Draft': '存为草稿', 'Save Draft': '保存草稿', 'Post Work': '发布作品', 'Comment as': '发表评论', // 合集 'Collections in the Archive of Our Own': ' AO3 中的合集', 'Profile': '简介', 'Join': '加入', 'Leave': '退出', 'Open Challenges': '开放中的挑战', 'Open Collections': '开放中的合集', 'Closed Collections': '已截止的合集', 'Moderated Collections': '审核制合集', 'Unmoderated Collections': '非审核制合集', 'Unrevealed Collections': '未公开合集', 'Anonymous Collections': '匿名合集', 'Sort and Filter': '排序及筛选', 'Filter collections:': '筛选合集:', 'Filter by title or name': '按标题或名称筛选', 'Filter by fandom': '按同人圈筛选', 'Closed': '已截止', 'Multifandom': '跨圈', 'Yes': '是', 'No': '否', 'Either': '皆可', 'Collection Type': '合集类型', 'No Challenge': '无挑战', 'Any': '任意', 'Clear Filters': '清除筛选', // 书签 'Bookmark Search': '书签搜索', 'Edit Bookmark': '编辑书签', 'Start typing for suggestions!': '开始输入以获取建议', 'Searching...': '搜索中…', '(No suggestions found)': '未找到建议', 'Any field on work': '作品任意字段', 'Work tags': '作品标签', 'Type': '类型', 'Work': '作品', 'Work language': '作品语言', 'External Work': '外部作品', 'Date updated': '更新日期', 'Bookmark': '书签', 'Any field on bookmark': '书签任意字段', 'Bookmarker\'s tags': '书签创建者的标签', 'Bookmarker': '书签创建者', 'Bookmark type': '书签类型', 'Rec': '推荐', 'With notes': '含注释', 'Date Bookmarked': '书签创建日期', 'Date bookmarked': '书签创建日期', 'Search Bookmarks': '搜索书签', 'Search Results': '搜索结果', 'Edit Your Search': '修改搜索设置', 'Ratings': '分级', 'Include': '包括', 'Include Ratings': '包括分级', 'Other tags to include': '要包括的其她标签', 'Exclude': '排除', 'Other tags to exclude': '要排除的其她标签', 'More Options': '更多选项', 'Show only crossovers': '仅显示跨圈作品', 'Completion Status': '完成状态', 'Search within results': '在结果中搜索', 'Bookmarker\'s Tags': '书签创建者标签', 'Other work tags to include': '要包括的其她作品标签', 'Other bookmarker\'s tags to include': '要包括的其她书签创建者标签', 'Search bookmarker\'s tags and notes': '搜索书签创建者标签和注释', 'Other work tags to exclude': '要排除的其她作品标签', 'Other bookmarker\'s tags to exclude': '要排除的其她书签创建者标签', 'Bookmark types': '书签类型', 'Recs only': '仅推荐', 'Only bookmarks with notes': '仅含注释', 'All Bookmarks': '所有书签', 'Add To Collection': '添加到合集', 'Share': '分享', 'Private Bookmark': '私人书签', 'Your tags': '标签', 'Plain text with limited HTML': '纯文本,支持有限 HTML', 'The creator\'s tags are added automatically.': '创建者的标签会自动添加', 'Comma separated, 150 characters per tag': '以逗号分隔,每个标签最多 150 字符', 'Add to collections': '添加到合集', 'Private bookmark': '私人书签', 'Create': '创建', 'Bookmark was successfully deleted.': '书签已成功删除。', 'Add Bookmark to collections': '将书签添加到合集', 'Collection name(s):': '合集名称:', 'collection name': '合集名称', 'Add': '添加', 'Back': '返回', 'Bookmark was successfully updated.': '书签已成功更新。', 'Share Bookmark': '分享书签', 'Close': '关闭', 'Show': '展示', 'Bookmark Collections:': '书签合集:', // 系列 'Creators:': '创建者:', 'Creator:': '创建者:', 'Series Begun:': '系列开始于:', 'Series Updated:': '系列更新于:', 'Description:': '描述:', 'Notes:': '注释:', 'Works:': '作品:', 'Complete:': '完结:', // 语言 'Work Languages': '作品语言', 'Suggest a Language': '建议语言', // 界面 'You are now using the default Archive skin again!': '您已重新切换至 Archive 默认界面!', 'Revert to Default Skin': '恢复默认界面', 'Role:': '功能:', 'user': '用户', 'Media:': '媒体:', 'all': '全部', 'Condition:': '状态:', 'Normal': '正常', '(No Description Provided)': '(未提供描述)', 'Parent Skins': '母级界面', 'Use': '使用', 'Stop Using': '停用', 'Preview': '预览', 'Set For Session': '为当前会话设置', 'override': '覆盖', // 屏蔽与静音 'Block': '屏蔽', 'Unblock': '取消屏蔽', 'Mute': '静音', 'Unmute': '取消静音', 'Yes, Unmute User': '是的,取消静音', 'Yes, Mute User': '是的,静音用户', 'Yes, Unblock User': '是的,取消屏蔽', 'Yes, Block User': '是的,屏蔽用户', // 提示信息 'Your profile has been successfully updated': '您的个人资料已成功更新。', 'Your edits were put through! Please check over the works to make sure everything is right.': '您的编辑已生效!请检查相关作品,确保所有更改都已正确应用。', 'We\'re sorry! Something went wrong.': '非常抱歉!操作未完成,请稍后重试。', 'Your preferences were successfully updated.': '您的偏好设置已成功更新。', 'Works and bookmarks listed here have been added to a collection but need approval from a collection moderator before they are listed in the collection.': '此处列出的作品和书签已添加至合集中,但需经合集管理员批准后才会在合集内显示。', 'Successfully logged out.': '已成功登出。', 'Successfully logged in.': '已成功登录。', 'Bookmark was successfully created. It should appear in bookmark listings within the next few minutes.': '书签已创建成功。它将在接下来的几分钟内出现在书签列表中。', 'Browse fandoms by media or favorite up to 20 tags to have them listed here!': '可按媒体浏览同人圈,或收藏最多 20 个标签以在此展示。', 'You can search this page by pressing': '按', 'ctrl F': ' Ctrl + F ', 'cmd F': ' Cmd + F ,', '': '', 'and typing in what you are looking for.': '输入关键词即可在本页搜索。', 'Sorry! We couldn\'t save this bookmark because:': '抱歉!我们无法保存此书签,因为', 'Pseud can\'t be blank': '笔名不能为空', 'The following challenges are currently open for sign-ups! Those closing soonest are at the top.': '以下挑战现已开放报名!即将截止的挑战排在最前面。', 'You currently have no works posted to the Archive. If you add some, you\'ll find information on this page about hits, kudos, comments, and bookmarks of your works.': '您当前没有任何已发布的作品。添加作品后,您可以在此页面查看作品的访问量、点赞、评论和书签情况。', 'Users can also see how many subscribers they have, but not the names of their subscribers or identifying information about other users who have viewed or downloaded their works.': '用户还可以查看自己的订阅者数量,但无法看到订阅者的姓名,也无法获取浏览或下载其作品的其她用户的任何身份信息。', 'This work could have adult content. If you continue, you have agreed that you are willing to see such content.': '此作品可能含有成人内容。若您选择“继续”,即表示您同意查看此类内容。', 'Yes, Continue': '是,继续', 'No, Go Back': '否,返回', 'Set your preferences now': '立即设置您的偏好', 'Work successfully deleted from your history.': '该作品已成功从您的历史记录中删除。', 'Your history is now cleared.': '您的历史记录已清除。', 'You are already signed in.': '您已登录。', 'There are no works or bookmarks under this name yet.': '此名称下尚无作品或书签。', 'Sorry, you don\'t have permission to access the page you were trying to reach. Please log in.': '抱歉,您无权访问目标页面。请先登录。', 'Are you sure you want to delete this draft?': '您确定要删除此草稿吗?', 'Work was successfully updated.': '作品已成功更新。', 'The work was not updated.': '作品没有更新。', 'Your changes have not been saved. Please post your work or save as draft if you want to keep them.': '您的更改尚未保存。如果您想保留,请发布作品或将其保存为草稿。', 'Work was successfully posted. It should appear in work listings within the next few minutes.': '作品已成功发布。它将在接下来的几分钟内出现在作品列表中。', 'Are you sure you want to delete this work? This will destroy all comments and kudos on this work as well and CANNOT BE UNDONE!': '您确定要删除这篇作品吗?此操作将一并删除该作品收到的所有评论和点赞,且无法撤销!', 'Chapter has been posted!': '章节已成功发布!', 'Chapter was successfully updated.': '章节已成功更新。', 'Are you sure?': '您确定吗?', 'The chapter was successfully deleted.': '已成功删除此章节。', 'Chapter order has been successfully updated.': '章节顺序已成功更新。', 'This is a draft chapter in a posted work. It will be kept unless the work is deleted.': '这是已发布作品中的一篇草稿章节。除非作品被删除,否则该草稿将一直保留。', 'This chapter is a draft and hasn\'t been posted yet!': '本章节为草稿,尚未发布!', 'Are you sure you want to delete this bookmark?': '您确定要删除此书签吗?', 'This is part of an ongoing challenge and will be revealed soon!': '本作品正在参与一项开放中的挑战,内容将很快揭晓!', 'Your search failed because of a syntax error. Please try again.': '搜索失败,您的查询存在语法错误。请修改后重试。', 'Type or paste formatted text.': '输入或粘贴带有格式的文本', 'Comment created!': '评论已发布!', 'Are you sure you want to delete this comment?': '您确定要删除这条评论吗?', 'Yes, delete!': '是的,删除!', 'Comment deleted.': '评论已删除。', '(Previous comment deleted.)': '(原评论已删除)', 'Freeze Thread': '锁定评论串', 'Comment thread successfully frozen!': '已成功锁定评论串!', 'Unfreeze Thread': '解锁评论串', 'Comment thread successfully unfrozen!': '已成功解锁评论串!', 'Frozen': '已锁定', 'Comment was successfully updated.': '评论已成功更新。', 'Sorry! We couldn\'t save this skin because:': '抱歉!我们无法保存此界面,因为:', 'Title must be unique': '标题必须唯一', 'We couldn\'t find any valid CSS rules in that code.': '代码中不存在任何有效的 CSS 规则', 'Skin was successfully created.': '界面已成功创建。', 'Skin was successfully updated.': '界面已成功删除。', 'Are you sure you want to delete this skin?': '您确定要删除此界面吗?', 'The skin was deleted.': '界面已删除。', 'Your changes have not been saved. Please post your work or save the draft if you want to keep them.': '您的更改尚未保存。如果您想保留,请发布作品或保存草稿。', 'Are you sure you want to change your username?': '您确定要更改用户名吗?', // 标签说明 'This tag indicates adult content.': '此标签涉及成人内容。', 'Parent tags (more general):': '母级标签(更通用):', 'Tags with the same meaning:': '同义标签:', 'Metatags:': '元标签:', 'Subtags:': '子标签:', 'Child tags (displaying the first 300 of each type):': '子标签(每种类型显示前 300 个):', 'and more': '以及更多', 'Relationships by Character': '关系按角色分类' }, 'innerHTML_regexp': [ ['h4.heading', /^\s*Hi,\s+(.+?)!\s*$/s, '您好,$1!'], [ 'li.dropdown a.dropdown-toggle', /^\s*Hi,\s+(.+?)!\s*$/s, '您好,$1!' ], // 用户主页 ['li a, li span.current', /^\s*Works\s*\((\d+)\)\s*$/s, '作品($1)'], ['li a, li span.current', /^\s*Drafts\s*\((\d+)\)\s*$/s, '草稿($1)'], ['li a, li span.current', /^\s*Series\s*\((\d+)\)\s*$/s, '系列($1)'], ['li a, li span.current', /^\s*Bookmarks\s*\((\d+)\)\s*$/s, '书签($1)'], ['li a, li span.current', /^\s*Collections\s*\((\d+)\)\s*$/s, '合集($1)'], ['li a, li span.current', /^\s*Inbox\s*\((\d+)\)\s*$/s, '消息中心($1)'], ['li a, li span.current', /^\s*Sign-ups\s*\((\d+)\)\s*$/s, '报名挑战($1)'], ['li a, li span.current', /^\s*Assignments\s*\((\d+)\)\s*$/s, '任务中心($1)'], ['li a, li span.current', /^\s*Claims\s*\((\d+)\)\s*$/s, '我的认领($1)'], ['li a, li span.current', /^\s*Related Works\s*\((\d+)\)\s*$/s, '相关作品($1)'], ['li a, li span.current', /^\s*Gifts\s*\((\d+)\)\s*$/s, '接收赠文($1)'], ['li a, li span.current', /^\s*Challenge Sign-ups\s*$/s, '挑战活动报名'], ['li a, li span.current', /^\s*Gifts\s*$/s, '接收赠文'], ['a', /^\s*Unsubscribe from (.+?)\s*$/s, '取消订阅 $1'], ['h2.heading', /^\s*Works by\s+(.+?)\s*$/s, '$1 的作品'], ['h2.heading', /^\s*Series by\s+(.+?)\s*$/s, '$1 的系列'], ['h2.heading', /^\s*Bookmarks by\s+(.+?)\s*$/s, '$1 的书签'], ['h2.heading', /^\s*Collections by\s+(.+?)\s*$/s, '$1 的合集'], ['h2.heading', /^\s*Gifts for\s+(.+?)\s*$/s, '$1 收到的赠文'], ['h2.heading', /^\s*(.+?)'s Related Works\s*$/s, '$1 的相关作品'], ['h2.heading', /^\s*(.+?)'s Collections\s*$/s, '$1 的合集'], ['h2.heading', /^\s*Challenge Sign-ups for\s+(.+?)\s*$/s, '$1 参加的挑战'], [ 'h2.heading', /^\s*(\d+)\s+Works?\s+by\s+(.+?)\s+in\s+(]+>.+?<\/a>)\s*$/s, '$3($2):$1 篇作品' ], [ 'h2.heading', /^\s*(\d+)\s*-\s*(\d+)\s+of\s+([0-9,]+)\s+Works?\s+by\s+(.+?)\s+in\s+(]+>.+?<\/a>)\s*$/s, '$5($4):$3 篇作品,第 $1 - $2 篇' ], [ 'h2.heading', /^\s*(\d+)\s*-\s*(\d+)\s+of\s+([0-9,]+)\s+Works?\s+in\s+(]+>.+?<\/a>)\s*$/s, '$4:$3 篇作品,第 $1 - $2 篇' ], [ 'h2.heading', /^\s*(\d+)\s*-\s*(\d+)\s+of\s+([0-9,]+)\s+Works?\s+by\s+(.+?)\s*$/s, '$4:$3 篇作品,第 $1 - $2 篇' ], [ 'h2.heading', /^\s*(\d+)\s*-\s*(\d+)\s+of\s+([0-9,]+)\s+Series\s+by\s+(.+?)\s*$/s, '$4:$3 个系列,第 $1 - $2 个' ], [ 'h2.heading', /^\s*(\d+)\s*-\s*(\d+)\s+of\s+([0-9,]+)\s+Bookmarks?\s+by\s+(.+?)\s*$/s, '$4:$3 条书签,第 $1 - $2 条' ], ['h2.heading', /^\s*(\d+)\s+Works?\s+by\s+(.+?)\s*$/s, '$2:$1 篇作品'], ['h2.heading', /^\s*(\d+)\s+Series\s+by\s+(.+?)\s*$/s, '$2:$1 个系列'], ['h2.heading', /^\s*(\d+)\s+Bookmarks?\s+by\s+(.+?)\s*$/s, '$2:$1 条书签'], ['h2.heading', /^\s*(\d+)\s+Collections?\s+by\s+(.+?)\s*$/s, '$2:$1 个合集'], ['h2.heading', /^\s*(\d+)\s+Unposted\s+Drafts?\s*$/s, '未发布的草稿($1)'], // 浏览 [ 'p', /^\s*These are some of the latest works posted to the Archive\. To find more works, choose a fandom<\/a> or try our advanced search<\/a>\.\s*(?:)?\s*$/s, '这里展示了一些最新发布的作品。若要查看更多作品,请选择一个同人圈尝试高级搜索。' ], [ 'p', /^\s*These are some of the latest bookmarks created on the Archive\. To find more bookmarks,\s*choose a fandom<\/a>\s*or\s*try our advanced search<\/a>\.\s*(?:)?\s*$/s, '这里展示了一些最新创建的书签。若要查看更多书签,请选择一个同人圈尝试高级搜索。' ], [ 'p', /^\s*These are some of the most popular tags used on the Archive\. To find more tags,\s*try our tag search<\/a>\.\s*$/s, '这里展示了一些最常用的标签。若要查看更多标签,请尝试标签搜索。' ], [ 'h2.heading', /^\s*Chapter Index for\s+(.+?<\/a>)\s+by\s+()/s, '创建者:$1'], ['li', /^\s*Part (\d+<\/strong>) of ()/, '$2 第 $1 部分'], ['h2.heading', /^New bookmark for (.*?<\/a>)/, '为 $1 创建新书签'], ['h5.heading a', /^(\d+)\s+works?$/s, '$1 篇作品'], ['h5.heading a', /^(\d+)\s+recs?$/s, '$1 条推荐'], ['h2.heading', /^\s*Items\s+by\s+(.+?)\s+in\s+Collections\s*$/s, '$1 在合集中的作品'], ['dd a', /^([\d,]+)\s+works?$/s, '$1 篇作品'], ['h2.heading', /^\s*([\d,]+)\s+Works?\s*$/s, '$1 篇作品'], ['h2.heading', /^\s*([\d,]+)\s+Collections?\s*$/s, '$1 个合集'], [ 'dt', /(<\/a>)\s*\(Work\)\s+by\s*(.*?<\/a>|[^<]+)/s, '$1(作品)by $2' ], [ 'dt', /(<\/a>)\s*\(Series\)\s+by\s*(]*>/g, '(访问受限)' ], ['li.pseud ul a[href$="/pseuds"], li.pseud ul span.current', /^\s*All Pseuds\s*\((\d+)\)\s*$/s, '所有笔名 ($1)'], // 个人资料 ['p.character_counter', /(]*>\d+<\/span>)\s*characters left/g, '剩余 $1 字符'], ['p#password-field-description', /^\s*6 to 40 characters\s*$/, '6 到 40 字符'], ['p.notice', /Any personal information you post on your public AO3 profile[\s\S]*?(?:Privacy Policy|隐私政策)<\/a>[\s\S]*?\./s, '您在公开 AO3 个人资料中发布的任何个人信息(包括但不限于您的姓名、电子邮箱、年龄、位置、个人关系、性别或性取向认同、种族或族裔背景、宗教或政治观点,以及/或其她网站的账户用户名)都会对公众可见。要了解 AO3 在您使用网站时收集哪些数据以及我们如何使用这些数据,请查看我们的隐私政策。'], ['div.caution.notice', /

\s*Please use this feature with caution\.<\/strong>[\s\S]*?<\/p>/s, '

请谨慎使用此功能。用户名每 7 天仅能更改一次。

'], ['div.notice', /Changing your email will send a request for confirmation[\s\S]*?will invalidate any pending email change requests<\/strong>\./s, '更改电子邮箱将向您的新邮箱发送确认请求,并向当前邮箱发送通知。
您必须使用确认邮件中的链接完成邮箱更改。如在 7 天内未确认,请求链接将失效,邮箱不会更改。
重新提交新邮箱请求将使任何未完成的更改请求失效。'], ['p.footnote', /You cannot change the pseud that matches your username\. However, you can change your username<\/a> instead\./g, '无法修改与用户名相同的笔名。如需修改,请更改您的用户名。'], ['h2.heading', /^Pseuds for (.+)$/, '$1 的笔名'], ['div.caution.notice p:last-child', /For information on how changing your username will affect your account.*?contact Support.*?\./s, '要了解更改用户名对账户的影响,请参阅账户常见问题。用户名变更可能需要数天或更长时间才会生效。如果一周后您的作品、书签、系列或合集中仍显示旧用户名,请联系支持团队。'], ['p.note', /If that is not what you want.*?create a new Pseud.*?instead\./s, '如果您不想更改用户名,也可以创建一个新的笔名。'], ['p.footnote', /3 to 40 characters.*?underscore.*?\)/s, '3 至 40 个字符(仅限 A–Z、a–z、_、0–9),禁止使用空格,且不能以下划线开头或结尾'], [ 'div.caution.notice p', /For information on how changing your username will affect your account[\s\S]*?contact Support<\/a>[.。]?/s, '有关更改用户名如何影响账户的详情,请参阅账户常见问题。用户名更改可能需要数天或更长时间才会生效。如果一周后您的作品、书签、系列或合集中仍显示旧用户名,请联系支持团队。' ], [ 'div.flash.notice', /^\s*Your password has been changed\. To protect your account, you have been logged out of all active sessions\. Please log in with your new password\.\s*$/s, '您的密码已更改。为了保护您的账户,您已从所有活动会话中登出。请使用新密码登录。' ], // 作品 [ 'h4.heading.byline', /on\s+()Chapter\s+(\d+)(<\/a>)/g, '于 $1第 $2 章$3' ], [ 'h2.heading', /^\s*(\d+)\s*-\s*(\d+)\s+of\s+([0-9,]+)\s+Series\s+by\s+(.+?)\s*$/s, '$4:$3 个系列,第 $1 - $2 个' ], [ 'h3.heading', /^\s*(\d+)\s*-\s*(\d+)\s+of\s+([0-9,]+)\s+Collections\s*$/s, '$3 个合集,第 $1 - $2 个' ], [ 'p.type', /^\s*\((Open|Closed)(.*)\)\s*$/s, (_match, status, rest) => { const map = { 'Open': '开放中', 'Closed': '已截止' }; return `(${map[status]}${rest})`; } ], // 书签 [ 'h4.heading', /^\s*