From 10af777cfaf74a6ea0d124d46407951e1d40fdf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Severin=20Gl=C3=B6ckner?= Date: Fri, 20 Apr 2018 01:26:21 +0200 Subject: [PATCH] Fix misplaced tag --- src/units/attack_type.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/units/attack_type.cpp b/src/units/attack_type.cpp index 3b16d7dbf3d3..47fa51218fe7 100644 --- a/src/units/attack_type.cpp +++ b/src/units/attack_type.cpp @@ -416,7 +416,7 @@ bool attack_type::describe_modification(const config& cfg,std::string* descripti if(!set_movement.empty()) { desc.emplace_back(VNGETTEXT( - // TRANSLATORS: Current value for WML code set_movement, documented in https://wiki.wesnoth.org/EffectWML + // TRANSLATORS: Current value for WML code set_movement_used, documented in https://wiki.wesnoth.org/EffectWML "$number movement point", "$number movement points", std::stoi(set_movement), @@ -425,9 +425,9 @@ bool attack_type::describe_modification(const config& cfg,std::string* descripti if(!increase_movement.empty()) { desc.emplace_back(VNGETTEXT( - // TRANSLATORS: Current value for WML code increase_movement, documented in https://wiki.wesnoth.org/EffectWML - "$number_or_percent movement point", - "$number_or_percent movement points", + // TRANSLATORS: Current value for WML code increase_movement_used, documented in https://wiki.wesnoth.org/EffectWML + "$number_or_percent movement point", + "$number_or_percent movement points", std::stoi(increase_movement), {{"number_or_percent", utils::print_modifier(increase_movement)}, {"color", increase_movement[0] == '-' ? "red" : "green"}})); }