Repository navigation
feat(domains): 内置领域改为 12 个 —— 软件开发、编程语言、技术术语、Web3 与编程竞赛、Web3 术语合并为“计算机(简体中文)”,新增 AO3、金融、餐饮、法律、医学、影视、音乐、新闻、摄影九个带译法的领域并各自预置常见站点;删除游戏领域 - #1179
Merged
Conversation
…机(简体中文)”,新增 AO3、金融、餐饮、法律、医学、影视、音乐、新闻、摄影九个带译法的领域并各自预置常见站点;删除游戏领域 - “计算机(简体中文)”沿用原“软件开发”的 ID,用户已有的修改继续生效;共 264 条术语、40 个站点,原词重复时先出现的译法优先(repository 仍译“仓库”,fork 仍不翻译) - 新领域的术语来自维护者自有的术语库,逐条写进 builtin-domains.ts - 预置站点互不重叠,避开大站子域名与 .co.uk 这类双段后缀 - README 列出全部内置领域,例子改用“计算机(简体中文)” - 版本号提升到 2.1.247
…ains # Conflicts: # package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改动
内置领域从 6 个调整为 12 个,目标语言都是简体中文:
builtin:software-zh-CN,用户对原“软件开发”领域的修改继续生效。原词重复时先出现的译法优先:repository 仍译“仓库”、release 仍译“发行版”、query 仍译“查询”、fork 仍不翻译。src/storage/builtin-domains.ts,不依赖生成脚本。finance.yahoo.com这类大站子域名(会按主域名覆盖整站)与.co.uk双段后缀。已知取舍
验证
pnpm typecheck、pnpm test(2682 条)、pnpm check:e2e-cjk、pnpm build通过@core|@extended:209 条通过;TC-E2E-42、TC-E2E-194 失败,main 上同样失败pnpm check:changelog需要 2.1.247 的更新说明,待合并后按 ADR-0002 写入待发布说明