[gbrainy] AnswerValue is localizable, we should load the localized value



commit 9e42e2ff7c170c0dcac6127bca283c0d43aaeff1
Author: Jordi Mas <jmas softcatala org>
Date:   Sat Sep 11 10:15:52 2010 +0200

    AnswerValue is localizable, we should load the localized value

 src/Core/Main/Xml/GameXml.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Main/Xml/GameXml.cs b/src/Core/Main/Xml/GameXml.cs
index 23b1780..c984ef8 100644
--- a/src/Core/Main/Xml/GameXml.cs
+++ b/src/Core/Main/Xml/GameXml.cs
@@ -184,9 +184,9 @@ namespace gbrainy.Core.Main.Xml
 				rationale = CatalogGetString (game.Rationale);
 
 			if (variants && game.Variants[current.Variant].AnswerShow != null)
-				answer_value = game.Variants[current.Variant].AnswerShow;
+				answer_value = CatalogGetString (game.Variants[current.Variant].AnswerShow);
 			else
-				answer_value = game.AnswerShow;
+				answer_value = CatalogGetString (game.AnswerShow);
 
 			if (String.IsNullOrEmpty (variables) == false)
 			{



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]