[gbrainy] Commit even if autogenerated. Should be always sync with games.xml
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Commit even if autogenerated. Should be always sync with games.xml
- Date: Sat, 17 Jul 2010 17:20:47 +0000 (UTC)
commit da5211072560a53066ff8c8ba1d72d42e94559cb
Author: Jordi Mas <jmas softcatala org>
Date: Sat Jul 17 19:22:02 2010 +0200
Commit even if autogenerated. Should be always sync with games.xml
tools/GameXmlGetString.cs | 69 +++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/tools/GameXmlGetString.cs b/tools/GameXmlGetString.cs
new file mode 100644
index 0000000..9e00935
--- /dev/null
+++ b/tools/GameXmlGetString.cs
@@ -0,0 +1,69 @@
+/*
+ * Copyright (C) 2010 Jordi Mas i Hernà ndez <jmas softcatala org>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ */
+
+using System;
+using Mono.Unix;
+
+// This is an auto-generated file GameXmlToGetString tool. Do not edit manually
+public class GameXmlSttringFactory
+{
+ void LoadStrings ()
+ {
+ int variable = 0;
+ Catalog.GetPluralString ("How many degrees rotates the minute hand of a clock in 2 hours [num] minute?",
+ "How many degrees rotates the minute hand of a clock in 2 hours [num] minutes?",
+ variable);
+
+ Catalog.GetPluralString ("John's is 46 years old. His son is [difference] year younger than half of John's age. How old is John's son?",
+ "John's is 46 years old. His son is [difference] years younger than half of John's age. How old is John's son?",
+ variable);
+
+ Catalog.GetPluralString ("John's age is nowadays 2 times his son's age. [ago] year ago, John was [proportion] times older than his son. How old is John's son nowadays?",
+ "John's age is nowadays 2 times his son's age. [ago] years ago, John was [proportion] times older than his son. How old is John's son nowadays?",
+ variable);
+
+ Catalog.GetPluralString ("[ago] year ago, John's age minus [ago] was equal to [proportion] times his son age minus [ago].",
+ "[ago] years ago, John's age minus [ago] was equal to [proportion] times his son age minus [ago].",
+ variable);
+
+ Catalog.GetPluralString ("A file is protected by a password formed by a [digits] digit number (ranging from 0 to 9). How many different passwords can you have?",
+ "A file is protected by a password formed by a [digits] digits number (ranging from 0 to 9). How many different passwords can you have?",
+ variable);
+
+ Catalog.GetPluralString ("A file is protected by a password formed by a [digits] digit octal number (ranging from 0 to 7). How many different passwords can you have?",
+ "A file is protected by a password formed by a [digits] digits octal number (ranging from 0 to 7). How many different passwords can you have?",
+ variable);
+
+ Catalog.GetPluralString ("There are [games] tennis game played simultaneous. How many different forecast are possible?",
+ "There are [games] tennis games played simultaneous. How many different forecast are possible?",
+ variable);
+
+ Catalog.GetPluralString ("How many matches does it take to determine the winner of a tennis tournament that starts with [players] player?",
+ "How many matches does it take to determine the winner of a tennis tournament that starts with [players] players?",
+ variable);
+
+ Catalog.GetPluralString ("You have [money] monetary unit in your bank account at 10% compound interest annually. How much money will you have at end of 2 years?",
+ "You have [money] monetary units in your bank account at 10% compound interest annually. How much money will you have at end of 2 years?",
+ variable);
+
+
+ }
+}
+
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]