1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Fix localization-related error messages

This commit is contained in:
Ivan Savenko
2023-12-11 17:54:00 +02:00
parent a3786f3357
commit 543ee597b8
2 changed files with 3 additions and 3 deletions

View File

@@ -222,7 +222,7 @@
{
"name": "chessFieldTurn",
"callback": "parseAndSetTimer_turn",
"help": "vcmi.optionsTab.chessFieldTurn.help"
"help": "vcmi.optionsTab.chessFieldTurnAccumulate.help"
},
{
"name": "chessFieldBattle",
@@ -232,7 +232,7 @@
{
"name": "chessFieldUnit",
"callback": "parseAndSetTimer_unit",
"help": "vcmi.optionsTab.chessFieldUnit.help"
"help": "vcmi.optionsTab.chessFieldUnitAccumulate.help"
}
]
},

View File

@@ -325,7 +325,7 @@ void CQuest::defineQuestName()
void CQuest::addKillTargetReplacements(MetaString &out) const
{
if(!heroName.empty())
out.replaceTextID(heroName);
out.replaceRawString(heroName);
if(stackToKill != CreatureID::NONE)
{
out.replaceNamePlural(stackToKill);