From 5b0abbc71b67cc23411b7aa80e9c0989a41fe681 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Wed, 31 Dec 2014 13:44:06 +0000 Subject: [PATCH] Fixed two untranslatable strings. --- src/backend/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/game.cpp b/src/backend/game.cpp index 51659d7e..2673faf5 100644 --- a/src/backend/game.cpp +++ b/src/backend/game.cpp @@ -698,7 +698,7 @@ namespace loot { catch (exception &e) { BOOST_LOG_TRIVIAL(error) << plugin.first->second.Name() << ": Exception occurred: " << e.what(); Plugin p; - p.Messages(list(1, Message(Message::error, string("An exception occurred while loading this plugin. Details: ") + e.what()))); + p.Messages(list(1, Message(Message::error, lc::translate("An exception occurred while loading this plugin. Details: ").str() + " " + e.what()))); plugin.first->second = p; } }); @@ -716,7 +716,7 @@ namespace loot { catch (exception &e) { BOOST_LOG_TRIVIAL(error) << plugin->Name() << ": Exception occurred: " << e.what(); Plugin p; - p.Messages(list(1, Message(Message::error, string("An exception occurred while loading this plugin. Details: ") + e.what()))); + p.Messages(list(1, Message(Message::error, lc::translate("An exception occurred while loading this plugin. Details:").str() + " " + e.what()))); *plugin = p; } }