[gbrainy] Fixes bugzilla #651703
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Fixes bugzilla #651703
- Date: Tue, 7 Jun 2011 05:31:47 +0000 (UTC)
commit be242c7c1b25d07234a0d9b5e98b230ba6ab377f
Author: Jordi Mas <jmas softcatala org>
Date: Tue Jun 7 07:31:19 2011 +0200
Fixes bugzilla #651703
src/Games/Logic/PuzzleClocks.cs | 5 +++--
src/Games/Logic/PuzzleCountSeries.cs | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/Games/Logic/PuzzleClocks.cs b/src/Games/Logic/PuzzleClocks.cs
index 3eaee40..97f7f51 100644
--- a/src/Games/Logic/PuzzleClocks.cs
+++ b/src/Games/Logic/PuzzleClocks.cs
@@ -47,9 +47,10 @@ namespace gbrainy.Games.Logic
public override string Rationale {
get {
+ // Translators: {0} is replaced by 'Figure X'
return String.Format (ServiceLocator.Instance.GetService <ITranslations> ().GetString (
- "Starting from the first clock, sum {0} to the number made by adding the values to which the hands point."),
- addition);
+ "Starting from the first clock, add {1} to the number obtained by appending the values to which the hands point, for '{0}' is {2} + {1} = {3}."),
+ Answer.GetFigureName (3), addition, handles [4].ToString () + handles [5].ToString (), handles [6].ToString () + handles [7].ToString ());
}
}
diff --git a/src/Games/Logic/PuzzleCountSeries.cs b/src/Games/Logic/PuzzleCountSeries.cs
index 55eaadb..db45aca 100644
--- a/src/Games/Logic/PuzzleCountSeries.cs
+++ b/src/Games/Logic/PuzzleCountSeries.cs
@@ -89,7 +89,7 @@ namespace gbrainy.Games.Logic
rationale = string.Format (ServiceLocator.Instance.GetService <ITranslations> ().GetString ("The numbers are: {0}."), rationale);
if (game_type == GameType.HowManyNines) {
- // Translators: Concadenating two strings (rationale of answer + extra information).
+ // Translators: Concatenating two strings (rationale of answer + extra information).
rationale = string.Format (ServiceLocator.Instance.GetService <ITranslations> ().GetString ("{0} {1}"), rationale,
ServiceLocator.Instance.GetService <ITranslations> ().GetString ("Notice that 99 contains two numbers '9'."));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]