Browse Source

Fix localization-related error messages

Ivan Savenko 1 year ago
parent
commit
543ee597b8
2 changed files with 3 additions and 3 deletions
  1. 2 2
      config/widgets/turnOptionsTab.json
  2. 1 1
      lib/mapObjects/CQuest.cpp

+ 2 - 2
config/widgets/turnOptionsTab.json

@@ -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"
 				}
 			]
 		},

+ 1 - 1
lib/mapObjects/CQuest.cpp

@@ -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);