[gbrainy] Show Answers options in the questions string for pair of words analogies pair options
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Show Answers options in the questions string for pair of words analogies pair options
- Date: Sat, 12 Mar 2011 22:32:13 +0000 (UTC)
commit a98f39bde1df879e5fe54e8d87319e16581f25df
Author: Jordi Mas <jmas softcatala org>
Date: Sat Mar 12 23:33:23 2011 +0100
Show Answers options in the questions string for pair of words analogies pair options
.../Main/Verbal/AnalogiesPairOfWordsOptions.cs | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/Core/Main/Verbal/AnalogiesPairOfWordsOptions.cs b/src/Core/Main/Verbal/AnalogiesPairOfWordsOptions.cs
index 2551b1b..83de8e7 100644
--- a/src/Core/Main/Verbal/AnalogiesPairOfWordsOptions.cs
+++ b/src/Core/Main/Verbal/AnalogiesPairOfWordsOptions.cs
@@ -59,15 +59,17 @@ namespace gbrainy.Core.Main.Verbal
str+= Answer.GetMultiOption (n);
if (n +1 < Current.answers.Length) {
- // Translators: this the separator used when concatenating possible options for answering verbal analogies
- // For example: "Possible correct answers are: a, b, c, d."
str += ServiceLocator.Instance.GetService <ITranslations> ().GetString (", ");
}
}
- return String.Format (ServiceLocator.Instance.GetService <ITranslations> ().GetString (
+ string ques = String.Format (ServiceLocator.Instance.GetService <ITranslations> ().GetString (
"Given the relationship between the two words below, which word has the same relationship to '{0}'?"),
sample);
+
+ return String.Format (ServiceLocator.Instance.GetService <ITranslations> ().GetString ("{0} Answer {1}."),
+ ques,
+ str);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]