Изменения

Строка 55: Строка 55:  
</syntaxhighlight>
 
</syntaxhighlight>
   −
The first part (before <cоde>:</cоde>) is the unique key for the translation. This is how the mod identifies the translation, so you shouldn't change it. The second part (after <cоde>:</cоde>) is the translation text, which you can change. Sometimes this will contain a token, which looks like <code><nowiki>{{token}}</nowiki></code>; this will be replaced with different text when the mod runs, so you shouldn't change the text between <code><nowiki>{{</nowiki></code> and <code><nowiki>}}</nowiki> </code>. For example, if the text says <code><nowiki>"You have {{count}} gold"</nowiki></code>, the player would actually see something like <code>You have 500 gold</code> in-game.
+
Первая часть (до <code>:</code>) является уникальным ключом для перевода. Так мод идентифицирует перевод, поэтому менять его не следует.
 +
Вторая часть (после <code>:</code>) это текст перевода, который вы можете изменить. Иногда это будет содержать токен, который выглядит как <code><nowiki>{{token}}</nowiki></code>; это будет заменено другим текстом при запуске мода, поэтому вам не следует менять текст между <code><nowiki>{{</nowiki></code> и <code><nowiki>}}</nowiki> </code>. Например, если в тексте написано <code><nowiki>"У вас есть {{count}} монет"</nowiki></code>, Игрок увидит в игре что-то типа <code>У вас есть 500 золота</code>.
    
===Как перевести мод===
 
===Как перевести мод===
32

правки