Update translations for various terms in locals.js#667
Open
PtJade-Ceramic wants to merge 1 commit intomaboloshi:gh-pagesfrom
Open
Update translations for various terms in locals.js#667PtJade-Ceramic wants to merge 1 commit intomaboloshi:gh-pagesfrom
locals.js#667PtJade-Ceramic wants to merge 1 commit intomaboloshi:gh-pagesfrom
Conversation
Resolve maboloshi#666 Signed-off-by: PtJade Ceramic <185668489+PtJade-Ceramic@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
该 PR 旨在更新 locals.js 中若干英文片段到简体中文的翻译方式,主要针对英文中 “by …” 等介宾结构在中文里不宜后置的问题(关联 Issue #666),以提升 GitHub 页面中文化后的语序与可读性。
Changes:
- 将多处包含 “by” 的片段从“由 …”式后置表达改为更符合中文语序的“……为/……来自”等表达。
- 优化 Actions 页面筛选相关文案(“Filter by …”)为更自然的“按 … 筛选”。
- 调整 OAuth 应用策略说明中的分句翻译,使句子衔接更顺畅。
Comment on lines
1286
to
1289
| ", or": ",或", | ||
| "to": "到", | ||
| "by": "由", | ||
| "by": "发起者为", | ||
| "on": "于", |
There was a problem hiding this comment.
这里把公共词条里的单独 "by" 从“由”改成了“发起者为”。由于该 key 位于 I18N["zh-CN"]["public"](全局公共区域),通常会被很多不同语境复用(不仅仅是“发起”场景);改成带语义的“发起者为”可能会在其他页面/短语中产生明显语义错误或别扭的拼接。建议保留更通用的翻译(如“由”/“作者:”取决于项目既有用法),并仅对确实需要避免介宾后置的具体短语(例如 "... by" 的完整片段)做定向翻译。
Author
There was a problem hiding this comment.
@copilot open a new pull request to apply changes based on this feedback
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.
Resolve #666