[gbrainy] Removes the reference to 'Machine A' since there is only one machine plus pluralize the rationale
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Removes the reference to 'Machine A' since there is only one machine plus pluralize the rationale
- Date: Fri, 4 Nov 2011 20:37:48 +0000 (UTC)
commit 981f4bfabdca40c8fb23a1ef54bd298c9ee1322f
Author: Jordi Mas <jmas softcatala org>
Date: Fri Nov 4 21:37:31 2011 +0100
Removes the reference to 'Machine A' since there is only one machine plus pluralize the rationale
src/Games/Logic/PuzzleCounting.cs | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/src/Games/Logic/PuzzleCounting.cs b/src/Games/Logic/PuzzleCounting.cs
index a0ac189..d972fb7 100644
--- a/src/Games/Logic/PuzzleCounting.cs
+++ b/src/Games/Logic/PuzzleCounting.cs
@@ -65,12 +65,13 @@ namespace gbrainy.Games.Logic
total);
question += " ";
question += String.Format (
- translations.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?"
+ translations.GetPluralString ("A machine takes {0} second to cut 1 meter of this fabric. How many seconds does the machine take to cut the entire piece of fabric into 1 meter pieces?",
+ "A machine takes {0} seconds to cut 1 meter of this fabric. How many seconds does the machine 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
- translations.GetString ("With the {0} cut, Machine A creates two 1 meter pieces."), (total - 1));
+ translations.GetPluralString ("With the cut number {0}, the machine creates two 1 meter pieces.",
+ "With the cut number {0}, the machine creates two 1 meter pieces.", total - 1),
+ total - 1);
ans = (total - 1) * var;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]