From 4cf20ff73b68d01870dbd3fe30f61e890b2cf541 Mon Sep 17 00:00:00 2001 From: hiker Date: Fri, 30 Jan 2015 16:18:26 +1100 Subject: [PATCH] Fix #1940 (achievement do not contain text). --- src/achievements/achievement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/achievements/achievement.cpp b/src/achievements/achievement.cpp index 3879fe49e..74ae97ff3 100644 --- a/src/achievements/achievement.cpp +++ b/src/achievements/achievement.cpp @@ -199,8 +199,8 @@ void Achievement::check() if(m_achievement_info->checkCompletion(this)) { //show achievement - core::stringw s = StringUtils::insertValues(_("Completed achievement \"%s\"."), - m_achievement_info->getName()); + core::stringw s = _("Completed achievement \"%s\".", + m_achievement_info->getName().c_str()); MessageQueue::add(MessageQueue::MT_ACHIEVEMENT, s); // Sends a confirmation to the server that an achievement has been