fix(tw): 修正雲端相關詞彙中誤留簡體「云」的問題 - #418
Merged
Merged
Conversation
OpenCC's s2twp segments 現有云服務 / 公有云服務 / 但云原生 with the
classical 云 ("to say", as in 古諺有云) and therefore leaves the
character unconverted, where 雲 is meant.
Add two post-conversion fixups to bin/zh-tw.py alongside the existing
exception list, and apply them to the generated files:
- content/tw/ch1.md:217 現有云服務 -> 現有雲服務
- content/tw/ch1.md:248 但云原生系統 -> 但雲原生系統
- content/v1_tw/ch8.md:126 公有云服務 -> 公有雲服務
The genuine classical usage in content/tw/ch10.md:14 (古諺有云) is
deliberately left alone; neither rule matches it.
JYu1999
force-pushed
the
fix/tw-cloud-character
branch
from
September 14, 2026 13:32
302b668 to
26ba6d3
Compare
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.
繁體版有三處「云」應為「雲」:
content/tw/ch1.md:248content/tw/ch1.md:217content/v1_tw/ch8.md:126原因是 OpenCC 的
s2twp把「有云」「但云」斷成文言的「云(曰)」,因此沒有轉換。因為
content/tw/與content/v1_tw/是由bin/zh-tw.py生成的,只改 Markdown 會在下次make translate被蓋掉,所以修正加在腳本既有的例外清單中,並同步更新生成檔:content/tw/ch10.md:14的「古諺有云」是正確的文言用法,兩條規則都不會匹配到,維持原狀。