[gbrainy] No need to give the possible answers since they are given already in the UI



commit 5eb73c142473aa7541d20a566d3be5c999a634f3
Author: Jordi Mas <jmas softcatala org>
Date:   Sat Sep 10 12:01:41 2011 +0200

    No need to give the possible answers since they are given already in the UI

 src/Core/Main/Verbal/Analogies.cs |   12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/src/Core/Main/Verbal/Analogies.cs b/src/Core/Main/Verbal/Analogies.cs
index 7ea5994..93a3df9 100644
--- a/src/Core/Main/Verbal/Analogies.cs
+++ b/src/Core/Main/Verbal/Analogies.cs
@@ -52,17 +52,7 @@ namespace gbrainy.Core.Main.Verbal
 				if (Current == null)
 					return string.Empty;
 
-				if (Current.MultipleAnswers == false || String.IsNullOrEmpty (Current.rationale))
-					return Current.rationale;
-
-				string str;	
-				str = String.Format (ServiceLocator.Instance.GetService <ITranslations> ().GetString ("Possible correct answers are: {0}."), 
-					Answer.CorrectShow);
-
-				// For multiple answer build a rationale
-				// Translators: answer + rationale of the answer
-				return String.Format (ServiceLocator.Instance.GetService <ITranslations> ().GetString ("{0} {1}"), str, 
-					Current.rationale);
+				return Current.rationale;
 			}
 		}
 



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