mjpenny 当然是正确的,我假设你需要更复杂的东西(例如,由于词缀变化)。如果你确实在词缀变化方面遇到困难,团队可能想要考虑是否只有单词的名称部分使用全大写看起来更好。(例如,一些罗姆语翻译使用 RAIesqo [of the LORD])。这可以通过 \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