File: GameXmlGetString.cs

package info (click to toggle)
gbrainy 1%3A2.3.9-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 14,372 kB
  • sloc: cs: 18,019; sh: 3,662; xml: 1,421; makefile: 558
file content (87 lines) | stat: -rw-r--r-- 5,829 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
/*
 * 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, see <http://www.gnu.org/licenses/>.
 */

using System;
using Mono.Unix;

// This is an auto-generated file GameXmlToGetString tool. Do not edit manually
public class GameXmlStringFactory
{
	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 is 46 years old. His son is [difference] year younger than half of John's age. How old is John's son?",
			"John 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 as old as 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 as old as his son. How old is John's son nowadays?",
			variable);

		Catalog.GetPluralString ("John's age (variable x) is nowadays 2 times his son's age (variable y), that is x = 2y, and [ago] year ago, John was [proportion] times as old as his son: x - [ago] = (y - [ago]) * [proportion].",
			"John's age (variable x) is nowadays 2 times his son's age (variable y), that is x = 2y, and [ago] years ago, John was [proportion] times as old as his son: x - [ago] = (y - [ago]) * [proportion].",
			variable);

		Catalog.GetPluralString ("A file is protected by a password formed by a [digits] digit number represented in base 10 (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 represented in base 10 (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 represented in base 8 (ranging from 0 to 7). How many different passwords can you have?",
			"A file is protected by a password formed by a [digits] digits represented in base 8 (ranging from 0 to 7). How many different passwords can you have?",
			variable);

		Catalog.GetPluralString ("There is [games] tennis game played simultaneously. How many different forecasts are possible?",
			"There are [games] tennis games played simultaneously. How many different forecasts are possible?",
			variable);

		Catalog.GetPluralString ("In a tennis tournament, in every match a player is eliminated after losing to a single opponent. How many matches does it take to determine the winner of a tennis tournament that starts with [players] player?",
			"In a tennis tournament, in every match a player is eliminated after losing to a single opponent. 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% interest compounded annually. How much money will you have at the end of 2 years?",
			"You have [money] monetary units in your bank account at 10% interest compounded annually. How much money will you have at the end of 2 years?",
			variable);

		Catalog.GetPluralString ("In a horse race there are people and horses. You count [eyes] eye and [legs] leg. How many horses are present?",
			"In a horse race there are people and horses. You count [eyes] eyes and [legs] legs. How many horses are present?",
			variable);

		Catalog.GetPluralString ("John cleans at the speed of 1 / [john_time] per hour and his friend at 1 / [friend]. Together they will need [answer_a] hour.",
			"John cleans at the speed of 1 / [john_time] per hour and his friend at 1 / [friend]. Together they will need [answer_a] hours.",
			variable);

		Catalog.GetPluralString ("John needs [john_time] hour to clean a warehouse and his friend needs half as many. How many hours would it take them to clean up the warehouse if they worked together? [option_answers]",
			"John needs [john_time] hours to clean a warehouse and his friend needs half as many. How many hours would it take them to clean up the warehouse if they worked together? [option_answers]",
			variable);

		Catalog.GetPluralString ("John needs [john_time] hour to clean a warehouse and his friend needs twice as many. How many hours would it take them to clean up the warehouse if they worked together? [option_answers]",
			"John needs [john_time] hours to clean a warehouse and his friend needs twice as many. How many hours would it take them to clean up the warehouse if they worked together? [option_answers]",
			variable);

		Catalog.GetPluralString ("You have two trucks that have a total weight of [add] unit. If the lighter truck weights 15 units less that half of the weight of the heavier truck, what is the weight of the lighter truck? [option_answers]",
			"You have two trucks that have a total weight of [add] units. If the lighter truck weights 15 units less that half of the weight of the heavier truck, what is the weight of the lighter truck? [option_answers]",
			variable);


	}
}