[gbrainy] Bugzilla bug fix #631556
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Bugzilla bug fix #631556
- Date: Thu, 7 Oct 2010 18:35:45 +0000 (UTC)
commit 84bad7f3c5999c973ece5dfccab6737e17401509
Author: Jordi Mas <jmas softcatala org>
Date: Thu Oct 7 20:37:27 2010 +0200
Bugzilla bug fix #631556
src/Games/Logic/PuzzleCounting.cs | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/src/Games/Logic/PuzzleCounting.cs b/src/Games/Logic/PuzzleCounting.cs
index 8337925..a2adf2d 100644
--- a/src/Games/Logic/PuzzleCounting.cs
+++ b/src/Games/Logic/PuzzleCounting.cs
@@ -61,9 +61,13 @@ namespace gbrainy.Games.Logic
var = 2 + random.Next (5);
total = 50 + random.Next (100);
question = String.Format (
- // Translators: {0} and {1} are always numbers greater than 1
- Catalog.GetString ("We have a {0} meters piece of fabric. Machine A takes {1} seconds to cut 1 meter of this fabric. How many seconds does Machine A take to cut the entire piece of fabric into 1 meter pieces?"),
- total, var);
+ Catalog.GetPluralString ("We have a {0} meter piece of fabric.", "We have a {0} meters piece of fabric.", total),
+ total);
+ question += " ";
+ question += String.Format (
+ Catalog.GetPluralString ("Machine A takes {0} second to cut 1 meter of this fabric. How many seconds does Machine A take to cut the entire piece of fabric into 1 meter pieces?",
+ "Machine A takes {0} seconds to cut 1 meter of this fabric. How many seconds does Machine A take to cut the entire piece of fabric into 1 meter pieces?"
+ , var), var);
answer = String.Format (
// Translators: {0} is always a number greater than 1
Catalog.GetString ("With the {0} cut, Machine A creates two 1 meter pieces."), (total - 1));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]