mjpenny, конечно, прав, я предположил, что вам нужно что-то более сложное (например, из-за аффиксации). Если вы действительно сталкиваетесь с проблемами аффиксации, команде, возможно, стоит подумать, не будет ли лучше, если полностью заглавными буквами будет написано только имя в слове. (Например, в некоторых романических переводах есть RAIesqo [Господа]). Это можно сделать с помощью \nd Rai\nd*esqo и changes.txt, как предлагает mjpenny, или также существуют подсовпадения.
Я думаю, формат такой:
in "\\nd .*\\nd\*": "Lord" > "LORD"
(То есть заменить Lord на LORD, когда он находится в блоке \nd ....\nd*)
В целях тестирования я бы очень хотел включить цветной текст и установить цвет для текста, размеченного как \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.