mjpenny 當然是正確的,我以為你需要更複雜的東西(例如,由於附著語素)。如果你確實在處理附著語素,團隊可能想要考慮一下,是否只有單詞中的名字部分使用全大寫看起來更好。(例如,一些羅馬尼亞語翻譯中有 RAIesqo [屬於主的])。這可以通過 \nd Rai\nd*esqo 和像 mjpenny 提供的那樣 changes.txt 來實現,或者也可以使用子匹配。
我認為格式是:
in "\\nd .*\\nd\*": "Lord" > "LORD"
(意思是當 Lord 位於 \nd ....\nd* 塊中時,將其更改為 LORD)
為了測試目的,我非常想啟用彩色文本並為標記為 \nd 的文本設置一種顏色(見樣式選項卡),以防萬一出現問題。如果你這樣做,那麼 mjpenny 的示例在箭頭右側也會包含 \\nd 部分。
mjpenny is of course correct, I assumed that you needed something more complex (e.g. due to affixation). If you are struggling with affixation, the team might want to think about whether it would look better with only the name portion of the word in all-caps. (Some romani translatoins have RAIesqo [of the LORD], for example). That can be done with either \nd Rai\nd*esqo and a changes.txt like mjpenny gives, Or there are also sub-matches.
I think the format is:
in "\\nd .*\\nd\*": "Lord" > "LORD"
(Meaning change Lord to LORD, when it’s in a chunk \nd ....\nd*)
For testing purposes, I’d be very tempted to enable coloured text and set a colour for text marked as \nd (see the styling tab), just in case something goes wrong. If you are doing this, then mjpenny’s example would also include the \\nd bits in the right hand side of the arrow.
機器翻譯自 English