Index: trunk/extensions/Translate/groups/FreeCol/FreeCol.php |
— | — | @@ -1,389 +0,0 @@ |
2 | | -<?php |
3 | | - |
4 | | -class FreeColMessageGroup extends MessageGroupOld { |
5 | | - protected $label = 'FreeCol (open source game)'; |
6 | | - protected $id = 'out-freecol'; |
7 | | - protected $type = 'freecol'; |
8 | | - |
9 | | - protected $fileDir = '__BUG__'; |
10 | | - |
11 | | - public function getPath() { return $this->fileDir; } |
12 | | - public function setPath( $value ) { $this->fileDir = $value; } |
13 | | - |
14 | | - protected $codeMap = array( |
15 | | - 'cs' => 'cs_CZ', |
16 | | - 'es' => 'es_ES', |
17 | | - 'it' => 'it_IT', |
18 | | - 'no' => 'nb_NO', |
19 | | - 'pl' => 'pl_PL', |
20 | | - 'sv' => 'sv_SE', |
21 | | - 'nl-be' => 'nl_BE', |
22 | | - 'en-gb' => 'en_GB', |
23 | | - 'en-us' => 'en_US', |
24 | | - 'pt' => 'pt_PT', |
25 | | - 'pt-pt' => 'pt_PT', |
26 | | - 'pt-br' => 'pt_BR', |
27 | | - ); |
28 | | - |
29 | | - protected $optional = array( |
30 | | - 'model.foundingFather.adamSmith.birthAndDeath', 'model.foundingFather.adamSmith.name', |
31 | | - 'model.foundingFather.bartolomeDeLasCasas.birthAndDeath', 'model.foundingFather.bartolomeDeLasCasas.name', 'model.foundingFather.benjaminFranklin.birthAndDeath', |
32 | | - 'model.foundingFather.benjaminFranklin.name', 'model.foundingFather.fatherJeanDeBrebeuf.birthAndDeath', 'model.foundingFather.fatherJeanDeBrebeuf.name', |
33 | | - 'model.foundingFather.ferdinandMagellan.birthAndDeath', 'model.foundingFather.ferdinandMagellan.name', 'model.foundingFather.francisDrake.birthAndDeath', |
34 | | - 'model.foundingFather.francisDrake.name', 'model.foundingFather.franciscoDeCoronado.birthAndDeath', 'model.foundingFather.franciscoDeCoronado.name', |
35 | | - 'model.foundingFather.georgeWashington.birthAndDeath', 'model.foundingFather.georgeWashington.name', 'model.foundingFather.henryHudson.birthAndDeath', |
36 | | - 'model.foundingFather.henryHudson.name', 'model.foundingFather.hernanCortes.birthAndDeath', 'model.foundingFather.hernanCortes.name', |
37 | | - 'model.foundingFather.hernandoDeSoto.birthAndDeath', 'model.foundingFather.hernandoDeSoto.name', 'model.foundingFather.jacobFugger.name', |
38 | | - 'model.foundingFather.janDeWitt.birthAndDeath', 'model.foundingFather.janDeWitt.name', 'model.foundingFather.johnPaulJones.birthAndDeath', |
39 | | - 'model.foundingFather.johnPaulJones.name', 'model.foundingFather.juanDeSepulveda.birthAndDeath', 'model.foundingFather.juanDeSepulveda.name', |
40 | | - 'model.foundingFather.laSalle.birthAndDeath', 'model.foundingFather.laSalle.name', 'model.foundingFather.paulRevere.birthAndDeath', |
41 | | - 'model.foundingFather.paulRevere.name', 'model.foundingFather.peterMinuit.birthAndDeath', 'model.foundingFather.peterMinuit.name', |
42 | | - 'model.foundingFather.peterStuyvesant.birthAndDeath', 'model.foundingFather.peterStuyvesant.name', 'model.foundingFather.pocahontas.birthAndDeath', |
43 | | - 'model.foundingFather.pocahontas.name', 'model.foundingFather.simonBolivar.birthAndDeath', 'model.foundingFather.simonBolivar.name', |
44 | | - 'model.foundingFather.thomasJefferson.birthAndDeath', 'model.foundingFather.thomasJefferson.name', 'model.foundingFather.thomasPaine.birthAndDeath', |
45 | | - 'model.foundingFather.thomasPaine.name', 'model.foundingFather.williamBrewster.birthAndDeath', 'model.foundingFather.williamBrewster.name', |
46 | | - 'model.foundingFather.williamPenn.birthAndDeath', 'model.foundingFather.williamPenn.name', 'model.goods.goodsAmount', |
47 | | - 'model.model.foundingFather.jacobFugger.birthAndDeath', 'model.nation.Apache.ruler', 'model.nation.Arawak.ruler', |
48 | | - 'model.nation.Aztec.ruler', 'model.nation.Cherokee.ruler', 'model.nation.Dutch.ruler', |
49 | | - 'model.nation.English.ruler', 'model.nation.French.ruler', 'model.nation.Inca.ruler', |
50 | | - 'model.nation.Iroquois.ruler', 'model.nation.Portuguese.Europe', 'model.nation.Portuguese.ruler', |
51 | | - 'model.nation.Sioux.ruler', 'model.nation.Spanish.ruler', 'model.nation.Tupi.ruler', |
52 | | - 'model.nation.danish.ruler', 'model.nation.danishREF.ruler', 'model.nation.dutch.settlementName.0', |
53 | | - 'model.nation.dutch.settlementName.1', 'model.nation.dutch.settlementName.10', 'model.nation.dutch.settlementName.11', |
54 | | - 'model.nation.dutch.settlementName.12', 'model.nation.dutch.settlementName.13', 'model.nation.dutch.settlementName.14', |
55 | | - 'model.nation.dutch.settlementName.15', 'model.nation.dutch.settlementName.16', 'model.nation.dutch.settlementName.17', |
56 | | - 'model.nation.dutch.settlementName.18', 'model.nation.dutch.settlementName.19', 'model.nation.dutch.settlementName.2', |
57 | | - 'model.nation.dutch.settlementName.20', 'model.nation.dutch.settlementName.21', 'model.nation.dutch.settlementName.22', |
58 | | - 'model.nation.dutch.settlementName.23', 'model.nation.dutch.settlementName.24', 'model.nation.dutch.settlementName.25', |
59 | | - 'model.nation.dutch.settlementName.26', 'model.nation.dutch.settlementName.27', 'model.nation.dutch.settlementName.28', |
60 | | - 'model.nation.dutch.settlementName.29', 'model.nation.dutch.settlementName.3', 'model.nation.dutch.settlementName.30', |
61 | | - 'model.nation.dutch.settlementName.31', 'model.nation.dutch.settlementName.4', 'model.nation.dutch.settlementName.5', |
62 | | - 'model.nation.dutch.settlementName.6', 'model.nation.dutch.settlementName.7', 'model.nation.dutch.settlementName.8', |
63 | | - 'model.nation.dutch.settlementName.9', 'model.nation.dutch.region.land.1', 'model.nation.dutch.region.land.10', |
64 | | - 'model.nation.dutch.region.land.2', 'model.nation.dutch.region.land.3', 'model.nation.dutch.region.land.4', |
65 | | - 'model.nation.dutch.region.land.5', 'model.nation.dutch.region.land.6', 'model.nation.dutch.region.land.7', |
66 | | - 'model.nation.dutch.region.land.8', 'model.nation.dutch.region.land.9', 'model.nation.dutch.region.mountain.1', |
67 | | - 'model.nation.dutch.region.mountain.2', 'model.nation.dutch.region.mountain.3', 'model.nation.dutch.region.mountain.4', |
68 | | - 'model.nation.dutch.region.mountain.5', 'model.nation.dutch.region.mountain.6', 'model.nation.dutch.region.mountain.7', |
69 | | - 'model.nation.dutch.region.mountain.8', 'model.nation.dutch.region.mountain.9', 'model.nation.dutch.region.river.1', |
70 | | - 'model.nation.dutch.region.river.2', 'model.nation.dutch.region.river.3', 'model.nation.dutch.region.river.4', |
71 | | - 'model.nation.dutch.region.river.5', 'model.nation.dutch.region.river.6', 'model.nation.dutch.region.river.7', |
72 | | - 'model.nation.dutch.region.river.8', 'model.nation.english.settlementName.0', 'model.nation.english.settlementName.1', |
73 | | - 'model.nation.english.settlementName.10', 'model.nation.english.settlementName.11', 'model.nation.english.settlementName.12', |
74 | | - 'model.nation.english.settlementName.13', 'model.nation.english.settlementName.14', 'model.nation.english.settlementName.15', |
75 | | - 'model.nation.english.settlementName.16', 'model.nation.english.settlementName.17', 'model.nation.english.settlementName.18', |
76 | | - 'model.nation.english.settlementName.19', 'model.nation.english.settlementName.2', 'model.nation.english.settlementName.20', |
77 | | - 'model.nation.english.settlementName.21', 'model.nation.english.settlementName.22', 'model.nation.english.settlementName.23', |
78 | | - 'model.nation.english.settlementName.24', 'model.nation.english.settlementName.25', 'model.nation.english.settlementName.26', |
79 | | - 'model.nation.english.settlementName.27', 'model.nation.english.settlementName.28', 'model.nation.english.settlementName.29', |
80 | | - 'model.nation.english.settlementName.3', 'model.nation.english.settlementName.30', 'model.nation.english.settlementName.31', |
81 | | - 'model.nation.english.settlementName.32', 'model.nation.english.settlementName.33', 'model.nation.english.settlementName.34', |
82 | | - 'model.nation.english.settlementName.35', 'model.nation.english.settlementName.4', 'model.nation.english.settlementName.5', |
83 | | - 'model.nation.english.settlementName.6', 'model.nation.english.settlementName.7', 'model.nation.english.settlementName.8', |
84 | | - 'model.nation.english.settlementName.9', 'model.nation.english.region.land.1', 'model.nation.english.region.land.10', |
85 | | - 'model.nation.english.region.land.2', 'model.nation.english.region.land.3', 'model.nation.english.region.land.4', |
86 | | - 'model.nation.english.region.land.5', 'model.nation.english.region.land.6', 'model.nation.english.region.land.7', |
87 | | - 'model.nation.english.region.land.8', 'model.nation.english.region.land.9', 'model.nation.english.region.mountain.1', |
88 | | - 'model.nation.english.region.mountain.2', 'model.nation.english.region.mountain.3', 'model.nation.english.region.mountain.4', |
89 | | - 'model.nation.english.region.mountain.5', 'model.nation.english.region.mountain.6', 'model.nation.english.region.mountain.7', |
90 | | - 'model.nation.english.region.mountain.8', 'model.nation.english.region.mountain.9', 'model.nation.english.region.river.1', |
91 | | - 'model.nation.english.region.river.10', 'model.nation.english.region.river.2', 'model.nation.english.region.river.3', |
92 | | - 'model.nation.english.region.river.4', 'model.nation.english.region.river.5', 'model.nation.english.region.river.6', |
93 | | - 'model.nation.english.region.river.7', 'model.nation.english.region.river.8', 'model.nation.english.region.river.9', |
94 | | - 'model.nation.french.settlementName.0', 'model.nation.french.settlementName.1', 'model.nation.french.settlementName.10', |
95 | | - 'model.nation.french.settlementName.11', 'model.nation.french.settlementName.12', 'model.nation.french.settlementName.13', |
96 | | - 'model.nation.french.settlementName.14', 'model.nation.french.settlementName.15', 'model.nation.french.settlementName.16', |
97 | | - 'model.nation.french.settlementName.17', 'model.nation.french.settlementName.18', 'model.nation.french.settlementName.19', |
98 | | - 'model.nation.french.settlementName.2', 'model.nation.french.settlementName.20', 'model.nation.french.settlementName.21', |
99 | | - 'model.nation.french.settlementName.22', 'model.nation.french.settlementName.23', 'model.nation.french.settlementName.24', |
100 | | - 'model.nation.french.settlementName.25', 'model.nation.french.settlementName.26', 'model.nation.french.settlementName.27', |
101 | | - 'model.nation.french.settlementName.28', 'model.nation.french.settlementName.29', 'model.nation.french.settlementName.3', |
102 | | - 'model.nation.french.settlementName.30', 'model.nation.french.settlementName.31', 'model.nation.french.settlementName.32', |
103 | | - 'model.nation.french.settlementName.33', 'model.nation.french.settlementName.34', 'model.nation.french.settlementName.35', |
104 | | - 'model.nation.french.settlementName.36', 'model.nation.french.settlementName.37', 'model.nation.french.settlementName.38', |
105 | | - 'model.nation.french.settlementName.39', 'model.nation.french.settlementName.4', 'model.nation.french.settlementName.40', |
106 | | - 'model.nation.french.settlementName.41', 'model.nation.french.settlementName.42', 'model.nation.french.settlementName.43', |
107 | | - 'model.nation.french.settlementName.44', 'model.nation.french.settlementName.45', 'model.nation.french.settlementName.46', |
108 | | - 'model.nation.french.settlementName.47', 'model.nation.french.settlementName.48', 'model.nation.french.settlementName.49', |
109 | | - 'model.nation.french.settlementName.5', 'model.nation.french.settlementName.50', 'model.nation.french.settlementName.51', |
110 | | - 'model.nation.french.settlementName.52', 'model.nation.french.settlementName.53', 'model.nation.french.settlementName.54', |
111 | | - 'model.nation.french.settlementName.55', 'model.nation.french.settlementName.56', 'model.nation.french.settlementName.57', |
112 | | - 'model.nation.french.settlementName.58', 'model.nation.french.settlementName.59', 'model.nation.french.settlementName.6', |
113 | | - 'model.nation.french.settlementName.60', 'model.nation.french.settlementName.61', 'model.nation.french.settlementName.62', |
114 | | - 'model.nation.french.settlementName.63', 'model.nation.french.settlementName.64', 'model.nation.french.settlementName.65', |
115 | | - 'model.nation.french.settlementName.7', 'model.nation.french.settlementName.8', 'model.nation.french.settlementName.9', |
116 | | - 'model.nation.french.region.land.1', 'model.nation.french.region.land.2', 'model.nation.french.region.land.3', |
117 | | - 'model.nation.french.region.land.4', 'model.nation.french.region.land.5', 'model.nation.french.region.land.6', |
118 | | - 'model.nation.french.region.land.7', |
119 | | - 'model.nation.french.region.mountain.1', 'model.nation.french.region.mountain.10', 'model.nation.french.region.mountain.2', |
120 | | - 'model.nation.french.region.mountain.3', 'model.nation.french.region.mountain.4', 'model.nation.french.region.mountain.5', |
121 | | - 'model.nation.french.region.mountain.6', 'model.nation.french.region.mountain.7', 'model.nation.french.region.mountain.8', |
122 | | - 'model.nation.french.region.mountain.9', 'model.nation.french.region.river.1', 'model.nation.french.region.river.10', |
123 | | - 'model.nation.french.region.river.2', 'model.nation.french.region.river.3', 'model.nation.french.region.river.4', |
124 | | - 'model.nation.french.region.river.5', 'model.nation.french.region.river.6', 'model.nation.french.region.river.7', |
125 | | - 'model.nation.french.region.river.8', 'model.nation.french.region.river.9', 'model.nation.portuguese.settlementName.0', |
126 | | - 'model.nation.portuguese.settlementName.1', 'model.nation.portuguese.settlementName.10', 'model.nation.portuguese.settlementName.11', |
127 | | - 'model.nation.portuguese.settlementName.12', 'model.nation.portuguese.settlementName.13', 'model.nation.portuguese.settlementName.14', |
128 | | - 'model.nation.portuguese.settlementName.15', 'model.nation.portuguese.settlementName.16', 'model.nation.portuguese.settlementName.17', |
129 | | - 'model.nation.portuguese.settlementName.18', 'model.nation.portuguese.settlementName.19', 'model.nation.portuguese.settlementName.2', |
130 | | - 'model.nation.portuguese.settlementName.20', 'model.nation.portuguese.settlementName.21', 'model.nation.portuguese.settlementName.22', |
131 | | - 'model.nation.portuguese.settlementName.23', 'model.nation.portuguese.settlementName.24', 'model.nation.portuguese.settlementName.25', |
132 | | - 'model.nation.portuguese.settlementName.26', 'model.nation.portuguese.settlementName.27', 'model.nation.portuguese.settlementName.28', |
133 | | - 'model.nation.portuguese.settlementName.29', 'model.nation.portuguese.settlementName.3', 'model.nation.portuguese.settlementName.4', |
134 | | - 'model.nation.portuguese.settlementName.5', 'model.nation.portuguese.settlementName.6', 'model.nation.portuguese.settlementName.7', |
135 | | - 'model.nation.portuguese.settlementName.8', 'model.nation.portuguese.settlementName.9', 'model.nation.refDutch.ruler', |
136 | | - 'model.nation.refEnglish.ruler', 'model.nation.refFrench.ruler', 'model.nation.refPortuguese.ruler', |
137 | | - 'model.nation.refSpanish.ruler', 'model.nation.russian.ruler', 'model.nation.russianREF.ruler', |
138 | | - 'model.nation.spanish.settlementName.0', 'model.nation.spanish.settlementName.1', 'model.nation.spanish.settlementName.10', |
139 | | - 'model.nation.spanish.settlementName.11', 'model.nation.spanish.settlementName.12', 'model.nation.spanish.settlementName.13', |
140 | | - 'model.nation.spanish.settlementName.14', 'model.nation.spanish.settlementName.15', 'model.nation.spanish.settlementName.16', |
141 | | - 'model.nation.spanish.settlementName.17', 'model.nation.spanish.settlementName.18', 'model.nation.spanish.settlementName.19', |
142 | | - 'model.nation.spanish.settlementName.2', 'model.nation.spanish.settlementName.20', 'model.nation.spanish.settlementName.21', |
143 | | - 'model.nation.spanish.settlementName.22', 'model.nation.spanish.settlementName.23', 'model.nation.spanish.settlementName.24', |
144 | | - 'model.nation.spanish.settlementName.25', 'model.nation.spanish.settlementName.26', 'model.nation.spanish.settlementName.27', |
145 | | - 'model.nation.spanish.settlementName.28', 'model.nation.spanish.settlementName.29', 'model.nation.spanish.settlementName.3', |
146 | | - 'model.nation.spanish.settlementName.30', 'model.nation.spanish.settlementName.31', 'model.nation.spanish.settlementName.32', |
147 | | - 'model.nation.spanish.settlementName.33', 'model.nation.spanish.settlementName.34', 'model.nation.spanish.settlementName.35', |
148 | | - 'model.nation.spanish.settlementName.36', 'model.nation.spanish.settlementName.37', 'model.nation.spanish.settlementName.38', |
149 | | - 'model.nation.spanish.settlementName.4', 'model.nation.spanish.settlementName.5', 'model.nation.spanish.settlementName.6', |
150 | | - 'model.nation.spanish.settlementName.7', 'model.nation.spanish.settlementName.8', 'model.nation.spanish.settlementName.9', |
151 | | - 'model.nation.spanish.region.land.1', 'model.nation.spanish.region.land.2', 'model.nation.spanish.region.land.3', |
152 | | - 'model.nation.spanish.region.land.4', 'model.nation.spanish.region.land.5', 'model.nation.spanish.region.river.1', |
153 | | - 'model.nation.spanish.region.river.2', 'model.nation.swedish.europe', 'model.nation.swedish.ruler', |
154 | | - 'model.nation.swedishREF.ruler', 'model.unit.occupation.activeNoMovesLeft', |
155 | | - 'shipName.3.0', 'model.nation.spanish.region.mountain.1', 'model.nation.spanish.region.mountain.2', |
156 | | - 'model.nation.spanish.region.mountain.3', 'model.nation.spanish.region.mountain.4', 'model.nation.spanish.region.mountain.5', |
157 | | - 'model.nation.spanish.region.river.3', 'model.nation.spanish.region.river.4', 'model.nation.spanish.region.river.5', |
158 | | - 'model.region.default', 'model.nation.danish.settlementName.0', 'model.nation.danish.settlementName.1', |
159 | | - 'model.nation.danish.settlementName.2', |
160 | | - 'model.nation.danish.settlementName.10', 'model.nation.danish.settlementName.11', 'model.nation.danish.settlementName.12', |
161 | | - 'model.nation.danish.settlementName.3', 'model.nation.danish.settlementName.4', 'model.nation.danish.settlementName.5', |
162 | | - 'model.nation.danish.settlementName.6', 'model.nation.danish.settlementName.7', 'model.nation.danish.settlementName.8', |
163 | | - 'model.nation.danish.settlementName.9', 'model.nation.danish.region.land.1', 'model.nation.danish.region.land.2', |
164 | | - 'model.nation.danish.region.land.3', 'model.nation.danish.region.land.4', 'model.nation.danish.region.land.5', |
165 | | - 'model.nation.danish.region.land.6', 'model.nation.danish.region.mountain.1', 'model.nation.danish.region.mountain.2', |
166 | | - 'model.nation.danish.region.mountain.3', 'model.nation.danish.region.mountain.4', 'model.nation.danish.region.mountain.5', |
167 | | - 'model.nation.danish.region.mountain.6', 'model.nation.danish.region.river.1', 'model.nation.danish.region.river.2', |
168 | | - 'model.nation.danish.region.river.3', 'model.nation.russian.settlementName.0', 'model.nation.russian.settlementName.1', |
169 | | - 'model.nation.russian.settlementName.10', |
170 | | - 'model.nation.russian.settlementName.11', 'model.nation.russian.settlementName.12', 'model.nation.russian.settlementName.13', |
171 | | - 'model.nation.russian.settlementName.14', 'model.nation.russian.settlementName.15', 'model.nation.russian.settlementName.16', |
172 | | - 'model.nation.russian.settlementName.17', 'model.nation.russian.settlementName.18', 'model.nation.russian.settlementName.19', |
173 | | - 'model.nation.russian.settlementName.2', 'model.nation.russian.settlementName.20', 'model.nation.russian.settlementName.21', |
174 | | - 'model.nation.russian.settlementName.22', 'model.nation.russian.settlementName.23', 'model.nation.russian.settlementName.3', |
175 | | - 'model.nation.russian.settlementName.4', 'model.nation.russian.settlementName.5', 'model.nation.russian.settlementName.6', |
176 | | - 'model.nation.russian.settlementName.7', 'model.nation.russian.settlementName.8', 'model.nation.russian.settlementName.9', |
177 | | - 'model.nation.russian.region.land.1', 'model.nation.russian.region.land.2', 'model.nation.russian.region.land.3', |
178 | | - 'model.nation.russian.region.land.4', 'model.nation.russian.region.land.5', 'model.nation.russian.region.mountain.1', |
179 | | - 'model.nation.russian.region.mountain.2', 'model.nation.russian.region.mountain.3', 'model.nation.russian.region.mountain.4', |
180 | | - 'model.nation.russian.region.mountain.5', 'model.nation.russian.region.river.1', 'model.nation.russian.region.river.2', |
181 | | - 'model.nation.russian.region.river.3', 'model.nation.russian.region.river.4', 'model.nation.swedish.settlementName.0', |
182 | | - 'model.nation.swedish.settlementName.1', 'model.nation.swedish.settlementName.10', 'model.nation.swedish.settlementName.11', |
183 | | - 'model.nation.swedish.settlementName.12', 'model.nation.swedish.settlementName.13', 'model.nation.swedish.settlementName.14', |
184 | | - 'model.nation.swedish.settlementName.15', 'model.nation.swedish.settlementName.16', 'model.nation.swedish.settlementName.17', |
185 | | - 'model.nation.swedish.settlementName.18', 'model.nation.swedish.settlementName.19', 'model.nation.swedish.settlementName.2', |
186 | | - 'model.nation.swedish.settlementName.20', 'model.nation.swedish.settlementName.21', 'model.nation.swedish.settlementName.3', |
187 | | - 'model.nation.swedish.settlementName.4', 'model.nation.swedish.settlementName.5', 'model.nation.swedish.settlementName.6', |
188 | | - 'model.nation.swedish.settlementName.7', 'model.nation.swedish.settlementName.8', 'model.nation.swedish.settlementName.9', |
189 | | - 'model.nation.swedish.region.land.1', 'model.nation.swedish.region.land.2', 'model.nation.swedish.region.land.3', |
190 | | - 'model.nation.swedish.region.river.1', 'model.nation.swedish.region.river.2', 'model.nation.swedish.region.river.3', |
191 | | - 'model.nation.swedish.region.river.4', |
192 | | - 'model.nation.apache.settlementName.0', 'model.nation.apache.settlementName.10', 'model.nation.apache.settlementName.11', |
193 | | - 'model.nation.apache.settlementName.12', 'model.nation.apache.settlementName.13', 'model.nation.apache.settlementName.14', |
194 | | - 'model.nation.apache.settlementName.15', 'model.nation.apache.settlementName.16', 'model.nation.apache.settlementName.17', |
195 | | - 'model.nation.apache.settlementName.18', 'model.nation.apache.settlementName.19', 'model.nation.apache.settlementName.1', |
196 | | - 'model.nation.apache.settlementName.20', 'model.nation.apache.settlementName.21', 'model.nation.apache.settlementName.22', |
197 | | - 'model.nation.apache.settlementName.23', 'model.nation.apache.settlementName.24', 'model.nation.apache.settlementName.25', |
198 | | - 'model.nation.apache.settlementName.26', 'model.nation.apache.settlementName.27', 'model.nation.apache.settlementName.28', |
199 | | - 'model.nation.apache.settlementName.29', 'model.nation.apache.settlementName.2', 'model.nation.apache.settlementName.30', |
200 | | - 'model.nation.apache.settlementName.3', 'model.nation.apache.settlementName.40', 'model.nation.apache.settlementName.41', |
201 | | - 'model.nation.apache.settlementName.31', 'model.nation.apache.settlementName.32', 'model.nation.apache.settlementName.33', |
202 | | - 'model.nation.apache.settlementName.34', 'model.nation.apache.settlementName.35', 'model.nation.apache.settlementName.36', |
203 | | - 'model.nation.apache.settlementName.37', 'model.nation.apache.settlementName.38', 'model.nation.apache.settlementName.39', |
204 | | - 'model.nation.apache.settlementName.42', 'model.nation.apache.settlementName.43', 'model.nation.apache.settlementName.44', |
205 | | - 'model.nation.apache.settlementName.45', 'model.nation.apache.settlementName.46', 'model.nation.apache.settlementName.47', |
206 | | - 'model.nation.apache.settlementName.48', 'model.nation.apache.settlementName.49', 'model.nation.apache.settlementName.4', |
207 | | - 'model.nation.apache.settlementName.50', 'model.nation.apache.settlementName.5', 'model.nation.apache.settlementName.6', |
208 | | - 'model.nation.apache.settlementName.7', 'model.nation.apache.settlementName.8', 'model.nation.apache.settlementName.9', |
209 | | - 'model.nation.arawak.settlementName.0', 'model.nation.arawak.settlementName.10', 'model.nation.arawak.settlementName.11', |
210 | | - 'model.nation.arawak.settlementName.12', 'model.nation.arawak.settlementName.13', 'model.nation.arawak.settlementName.14', |
211 | | - 'model.nation.arawak.settlementName.15', 'model.nation.arawak.settlementName.16', 'model.nation.arawak.settlementName.17', |
212 | | - 'model.nation.arawak.settlementName.18', 'model.nation.arawak.settlementName.19', 'model.nation.arawak.settlementName.1', |
213 | | - 'model.nation.arawak.settlementName.20', 'model.nation.arawak.settlementName.21', 'model.nation.arawak.settlementName.22', |
214 | | - 'model.nation.arawak.settlementName.23', 'model.nation.arawak.settlementName.24', 'model.nation.arawak.settlementName.25', |
215 | | - 'model.nation.arawak.settlementName.26', 'model.nation.arawak.settlementName.27', 'model.nation.arawak.settlementName.28', |
216 | | - 'model.nation.arawak.settlementName.29', 'model.nation.arawak.settlementName.2', 'model.nation.arawak.settlementName.30', |
217 | | - 'model.nation.arawak.settlementName.3', 'model.nation.arawak.settlementName.40', 'model.nation.arawak.settlementName.41', |
218 | | - 'model.nation.arawak.settlementName.31', 'model.nation.arawak.settlementName.32', 'model.nation.arawak.settlementName.33', |
219 | | - 'model.nation.arawak.settlementName.34', 'model.nation.arawak.settlementName.35', 'model.nation.arawak.settlementName.36', |
220 | | - 'model.nation.arawak.settlementName.37', 'model.nation.arawak.settlementName.38', 'model.nation.arawak.settlementName.39', |
221 | | - 'model.nation.arawak.settlementName.42', 'model.nation.arawak.settlementName.43', 'model.nation.arawak.settlementName.44', |
222 | | - 'model.nation.arawak.settlementName.45', 'model.nation.arawak.settlementName.46', 'model.nation.arawak.settlementName.47', |
223 | | - 'model.nation.arawak.settlementName.48', 'model.nation.arawak.settlementName.49', 'model.nation.arawak.settlementName.4', |
224 | | - 'model.nation.arawak.settlementName.5', 'model.nation.arawak.settlementName.6', 'model.nation.arawak.settlementName.7', |
225 | | - 'model.nation.arawak.settlementName.50', 'model.nation.arawak.settlementName.51', 'model.nation.arawak.settlementName.52', |
226 | | - 'model.nation.arawak.settlementName.53', 'model.nation.arawak.settlementName.54', 'model.nation.arawak.settlementName.55', |
227 | | - 'model.nation.arawak.settlementName.56', 'model.nation.arawak.settlementName.57', 'model.nation.arawak.settlementName.58', |
228 | | - 'model.nation.arawak.settlementName.8', 'model.nation.arawak.settlementName.9', 'model.nation.aztec.settlementName.0', |
229 | | - 'model.nation.aztec.settlementName.10', 'model.nation.aztec.settlementName.11', 'model.nation.aztec.settlementName.12', |
230 | | - 'model.nation.aztec.settlementName.13', 'model.nation.aztec.settlementName.14', 'model.nation.aztec.settlementName.15', |
231 | | - 'model.nation.aztec.settlementName.16', 'model.nation.aztec.settlementName.17', 'model.nation.aztec.settlementName.18', |
232 | | - 'model.nation.aztec.settlementName.19', 'model.nation.aztec.settlementName.1', 'model.nation.aztec.settlementName.20', |
233 | | - 'model.nation.aztec.settlementName.2', 'model.nation.aztec.settlementName.30', 'model.nation.aztec.settlementName.31', |
234 | | - 'model.nation.aztec.settlementName.21', 'model.nation.aztec.settlementName.22', 'model.nation.aztec.settlementName.23', |
235 | | - 'model.nation.aztec.settlementName.24', 'model.nation.aztec.settlementName.25', 'model.nation.aztec.settlementName.26', |
236 | | - 'model.nation.aztec.settlementName.27', 'model.nation.aztec.settlementName.28', 'model.nation.aztec.settlementName.29', |
237 | | - 'model.nation.aztec.settlementName.32', 'model.nation.aztec.settlementName.33', 'model.nation.aztec.settlementName.34', |
238 | | - 'model.nation.aztec.settlementName.35', 'model.nation.aztec.settlementName.36', 'model.nation.aztec.settlementName.37', |
239 | | - 'model.nation.aztec.settlementName.38', 'model.nation.aztec.settlementName.39', 'model.nation.aztec.settlementName.3', |
240 | | - 'model.nation.aztec.settlementName.40', 'model.nation.aztec.settlementName.41', 'model.nation.aztec.settlementName.42', |
241 | | - 'model.nation.aztec.settlementName.43', 'model.nation.aztec.settlementName.44', 'model.nation.aztec.settlementName.45', |
242 | | - 'model.nation.aztec.settlementName.46', 'model.nation.aztec.settlementName.47', 'model.nation.aztec.settlementName.48', |
243 | | - 'model.nation.aztec.settlementName.49', 'model.nation.aztec.settlementName.4', 'model.nation.aztec.settlementName.50', |
244 | | - 'model.nation.aztec.settlementName.5', 'model.nation.aztec.settlementName.60', 'model.nation.aztec.settlementName.61', |
245 | | - 'model.nation.aztec.settlementName.51', 'model.nation.aztec.settlementName.52', 'model.nation.aztec.settlementName.53', |
246 | | - 'model.nation.aztec.settlementName.54', 'model.nation.aztec.settlementName.55', 'model.nation.aztec.settlementName.56', |
247 | | - 'model.nation.aztec.settlementName.57', 'model.nation.aztec.settlementName.58', 'model.nation.aztec.settlementName.59', |
248 | | - 'model.nation.aztec.settlementName.62', 'model.nation.aztec.settlementName.63', 'model.nation.aztec.settlementName.64', |
249 | | - 'model.nation.aztec.settlementName.65', 'model.nation.aztec.settlementName.66', 'model.nation.aztec.settlementName.67', |
250 | | - 'model.nation.aztec.settlementName.68', 'model.nation.aztec.settlementName.69', 'model.nation.aztec.settlementName.6', |
251 | | - 'model.nation.aztec.settlementName.7', 'model.nation.aztec.settlementName.8', 'model.nation.aztec.settlementName.9', |
252 | | - 'model.nation.aztec.settlementName.70', 'model.nation.aztec.settlementName.71', 'model.nation.aztec.settlementName.72', |
253 | | - 'model.nation.aztec.settlementName.73', 'model.nation.aztec.settlementName.74', 'model.nation.aztec.settlementName.75', |
254 | | - 'model.nation.cherokee.settlementName.0', 'model.nation.cherokee.settlementName.10', 'model.nation.cherokee.settlementName.11', |
255 | | - 'model.nation.cherokee.settlementName.12', 'model.nation.cherokee.settlementName.13', 'model.nation.cherokee.settlementName.14', |
256 | | - 'model.nation.cherokee.settlementName.15', 'model.nation.cherokee.settlementName.16', 'model.nation.cherokee.settlementName.17', |
257 | | - 'model.nation.cherokee.settlementName.18', 'model.nation.cherokee.settlementName.19', 'model.nation.cherokee.settlementName.1', |
258 | | - 'model.nation.cherokee.settlementName.20', 'model.nation.cherokee.settlementName.21', 'model.nation.cherokee.settlementName.22', |
259 | | - 'model.nation.cherokee.settlementName.23', 'model.nation.cherokee.settlementName.24', 'model.nation.cherokee.settlementName.25', |
260 | | - 'model.nation.cherokee.settlementName.26', 'model.nation.cherokee.settlementName.27', 'model.nation.cherokee.settlementName.28', |
261 | | - 'model.nation.cherokee.settlementName.29', 'model.nation.cherokee.settlementName.2', 'model.nation.cherokee.settlementName.30', |
262 | | - 'model.nation.cherokee.settlementName.3', 'model.nation.cherokee.settlementName.40', 'model.nation.cherokee.settlementName.41', |
263 | | - 'model.nation.cherokee.settlementName.31', 'model.nation.cherokee.settlementName.32', 'model.nation.cherokee.settlementName.33', |
264 | | - 'model.nation.cherokee.settlementName.34', 'model.nation.cherokee.settlementName.35', 'model.nation.cherokee.settlementName.36', |
265 | | - 'model.nation.cherokee.settlementName.37', 'model.nation.cherokee.settlementName.38', 'model.nation.cherokee.settlementName.39', |
266 | | - 'model.nation.cherokee.settlementName.42', 'model.nation.cherokee.settlementName.43', 'model.nation.cherokee.settlementName.44', |
267 | | - 'model.nation.cherokee.settlementName.45', 'model.nation.cherokee.settlementName.46', 'model.nation.cherokee.settlementName.47', |
268 | | - 'model.nation.cherokee.settlementName.48', 'model.nation.cherokee.settlementName.49', 'model.nation.cherokee.settlementName.4', |
269 | | - 'model.nation.cherokee.settlementName.5', 'model.nation.cherokee.settlementName.6', 'model.nation.cherokee.settlementName.7', |
270 | | - 'model.nation.cherokee.settlementName.8', 'model.nation.cherokee.settlementName.9', 'model.nation.inca.settlementName.0', |
271 | | - 'model.nation.inca.settlementName.10', 'model.nation.inca.settlementName.11', 'model.nation.inca.settlementName.12', |
272 | | - 'model.nation.inca.settlementName.13', 'model.nation.inca.settlementName.14', 'model.nation.inca.settlementName.15', |
273 | | - 'model.nation.inca.settlementName.16', 'model.nation.inca.settlementName.17', 'model.nation.inca.settlementName.18', |
274 | | - 'model.nation.inca.settlementName.19', 'model.nation.inca.settlementName.1', 'model.nation.inca.settlementName.20', |
275 | | - 'model.nation.inca.settlementName.2', 'model.nation.inca.settlementName.30', 'model.nation.inca.settlementName.31', |
276 | | - 'model.nation.inca.settlementName.21', 'model.nation.inca.settlementName.22', 'model.nation.inca.settlementName.23', |
277 | | - 'model.nation.inca.settlementName.24', 'model.nation.inca.settlementName.25', 'model.nation.inca.settlementName.26', |
278 | | - 'model.nation.inca.settlementName.27', 'model.nation.inca.settlementName.28', 'model.nation.inca.settlementName.29', |
279 | | - 'model.nation.inca.settlementName.32', 'model.nation.inca.settlementName.33', 'model.nation.inca.settlementName.34', |
280 | | - 'model.nation.inca.settlementName.35', 'model.nation.inca.settlementName.36', 'model.nation.inca.settlementName.37', |
281 | | - 'model.nation.inca.settlementName.38', 'model.nation.inca.settlementName.39', 'model.nation.inca.settlementName.3', |
282 | | - 'model.nation.inca.settlementName.40', 'model.nation.inca.settlementName.41', 'model.nation.inca.settlementName.42', |
283 | | - 'model.nation.inca.settlementName.43', 'model.nation.inca.settlementName.44', 'model.nation.inca.settlementName.45', |
284 | | - 'model.nation.inca.settlementName.46', 'model.nation.inca.settlementName.47', 'model.nation.inca.settlementName.48', |
285 | | - 'model.nation.inca.settlementName.49', 'model.nation.inca.settlementName.4', 'model.nation.inca.settlementName.50', |
286 | | - 'model.nation.inca.settlementName.5', 'model.nation.inca.settlementName.60', 'model.nation.inca.settlementName.61', |
287 | | - 'model.nation.inca.settlementName.51', 'model.nation.inca.settlementName.52', 'model.nation.inca.settlementName.53', |
288 | | - 'model.nation.inca.settlementName.54', 'model.nation.inca.settlementName.55', 'model.nation.inca.settlementName.56', |
289 | | - 'model.nation.inca.settlementName.57', 'model.nation.inca.settlementName.58', 'model.nation.inca.settlementName.59', |
290 | | - 'model.nation.inca.settlementName.62', 'model.nation.inca.settlementName.63', 'model.nation.inca.settlementName.64', |
291 | | - 'model.nation.inca.settlementName.65', 'model.nation.inca.settlementName.66', 'model.nation.inca.settlementName.67', |
292 | | - 'model.nation.inca.settlementName.68', 'model.nation.inca.settlementName.69', 'model.nation.inca.settlementName.6', |
293 | | - 'model.nation.inca.settlementName.70', 'model.nation.inca.settlementName.71', 'model.nation.inca.settlementName.72', |
294 | | - 'model.nation.inca.settlementName.73', 'model.nation.inca.settlementName.74', 'model.nation.inca.settlementName.75', |
295 | | - 'model.nation.inca.settlementName.76', 'model.nation.inca.settlementName.77', 'model.nation.inca.settlementName.78', |
296 | | - 'model.nation.inca.settlementName.79', 'model.nation.inca.settlementName.7', 'model.nation.inca.settlementName.80', |
297 | | - 'model.nation.inca.settlementName.81', 'model.nation.inca.settlementName.82', 'model.nation.inca.settlementName.83', |
298 | | - 'model.nation.inca.settlementName.84', 'model.nation.inca.settlementName.85', 'model.nation.inca.settlementName.8', |
299 | | - 'model.nation.inca.settlementName.9', 'model.nation.iroquois.settlementName.0', 'model.nation.iroquois.settlementName.10', |
300 | | - 'model.nation.iroquois.settlementName.1', 'model.nation.iroquois.settlementName.20', 'model.nation.iroquois.settlementName.21', |
301 | | - 'model.nation.iroquois.settlementName.11', 'model.nation.iroquois.settlementName.12', 'model.nation.iroquois.settlementName.13', |
302 | | - 'model.nation.iroquois.settlementName.14', 'model.nation.iroquois.settlementName.15', 'model.nation.iroquois.settlementName.16', |
303 | | - 'model.nation.iroquois.settlementName.17', 'model.nation.iroquois.settlementName.18', 'model.nation.iroquois.settlementName.19', |
304 | | - 'model.nation.iroquois.settlementName.22', 'model.nation.iroquois.settlementName.23', 'model.nation.iroquois.settlementName.24', |
305 | | - 'model.nation.iroquois.settlementName.25', 'model.nation.iroquois.settlementName.26', 'model.nation.iroquois.settlementName.27', |
306 | | - 'model.nation.iroquois.settlementName.28', 'model.nation.iroquois.settlementName.29', 'model.nation.iroquois.settlementName.2', |
307 | | - 'model.nation.iroquois.settlementName.30', 'model.nation.iroquois.settlementName.31', 'model.nation.iroquois.settlementName.32', |
308 | | - 'model.nation.iroquois.settlementName.33', 'model.nation.iroquois.settlementName.34', 'model.nation.iroquois.settlementName.35', |
309 | | - 'model.nation.iroquois.settlementName.36', 'model.nation.iroquois.settlementName.37', 'model.nation.iroquois.settlementName.38', |
310 | | - 'model.nation.iroquois.settlementName.39', 'model.nation.iroquois.settlementName.3', 'model.nation.iroquois.settlementName.40', |
311 | | - 'model.nation.iroquois.settlementName.4', 'model.nation.iroquois.settlementName.50', 'model.nation.iroquois.settlementName.51', |
312 | | - 'model.nation.iroquois.settlementName.41', 'model.nation.iroquois.settlementName.42', 'model.nation.iroquois.settlementName.43', |
313 | | - 'model.nation.iroquois.settlementName.44', 'model.nation.iroquois.settlementName.45', 'model.nation.iroquois.settlementName.46', |
314 | | - 'model.nation.iroquois.settlementName.47', 'model.nation.iroquois.settlementName.48', 'model.nation.iroquois.settlementName.49', |
315 | | - 'model.nation.iroquois.settlementName.52', 'model.nation.iroquois.settlementName.53', 'model.nation.iroquois.settlementName.54', |
316 | | - 'model.nation.iroquois.settlementName.55', 'model.nation.iroquois.settlementName.56', 'model.nation.iroquois.settlementName.57', |
317 | | - 'model.nation.iroquois.settlementName.58', 'model.nation.iroquois.settlementName.5', 'model.nation.iroquois.settlementName.6', |
318 | | - 'model.nation.iroquois.settlementName.7', 'model.nation.iroquois.settlementName.8', 'model.nation.iroquois.settlementName.9', |
319 | | - 'model.nation.sioux.settlementName.0', 'model.nation.sioux.settlementName.10', 'model.nation.sioux.settlementName.11', |
320 | | - 'model.nation.sioux.settlementName.12', 'model.nation.sioux.settlementName.13', 'model.nation.sioux.settlementName.14', |
321 | | - 'model.nation.sioux.settlementName.15', 'model.nation.sioux.settlementName.16', 'model.nation.sioux.settlementName.17', |
322 | | - 'model.nation.sioux.settlementName.18', 'model.nation.sioux.settlementName.19', 'model.nation.sioux.settlementName.1', |
323 | | - 'model.nation.sioux.settlementName.20', 'model.nation.sioux.settlementName.21', 'model.nation.sioux.settlementName.22', |
324 | | - 'model.nation.sioux.settlementName.23', 'model.nation.sioux.settlementName.24', 'model.nation.sioux.settlementName.25', |
325 | | - 'model.nation.sioux.settlementName.26', 'model.nation.sioux.settlementName.27', 'model.nation.sioux.settlementName.28', |
326 | | - 'model.nation.sioux.settlementName.29', 'model.nation.sioux.settlementName.2', 'model.nation.sioux.settlementName.30', |
327 | | - 'model.nation.sioux.settlementName.3', 'model.nation.sioux.settlementName.40', 'model.nation.sioux.settlementName.41', |
328 | | - 'model.nation.sioux.settlementName.31', 'model.nation.sioux.settlementName.32', 'model.nation.sioux.settlementName.33', |
329 | | - 'model.nation.sioux.settlementName.34', 'model.nation.sioux.settlementName.35', 'model.nation.sioux.settlementName.36', |
330 | | - 'model.nation.sioux.settlementName.37', 'model.nation.sioux.settlementName.38', 'model.nation.sioux.settlementName.39', |
331 | | - 'model.nation.sioux.settlementName.42', 'model.nation.sioux.settlementName.43', 'model.nation.sioux.settlementName.44', |
332 | | - 'model.nation.sioux.settlementName.45', 'model.nation.sioux.settlementName.46', 'model.nation.sioux.settlementName.4', |
333 | | - 'model.nation.sioux.settlementName.5', 'model.nation.sioux.settlementName.6', 'model.nation.sioux.settlementName.7', |
334 | | - 'model.nation.sioux.settlementName.8', 'model.nation.sioux.settlementName.9', 'model.nation.tupi.settlementName.0', |
335 | | - 'model.nation.tupi.settlementName.10', 'model.nation.tupi.settlementName.11', 'model.nation.tupi.settlementName.12', |
336 | | - 'model.nation.tupi.settlementName.13', 'model.nation.tupi.settlementName.14', 'model.nation.tupi.settlementName.15', |
337 | | - 'model.nation.tupi.settlementName.16', 'model.nation.tupi.settlementName.17', 'model.nation.tupi.settlementName.18', |
338 | | - 'model.nation.tupi.settlementName.19', 'model.nation.tupi.settlementName.1', 'model.nation.tupi.settlementName.20', |
339 | | - 'model.nation.tupi.settlementName.2', 'model.nation.tupi.settlementName.30', 'model.nation.tupi.settlementName.31', |
340 | | - 'model.nation.tupi.settlementName.21', 'model.nation.tupi.settlementName.22', 'model.nation.tupi.settlementName.23', |
341 | | - 'model.nation.tupi.settlementName.24', 'model.nation.tupi.settlementName.25', 'model.nation.tupi.settlementName.26', |
342 | | - 'model.nation.tupi.settlementName.27', 'model.nation.tupi.settlementName.28', 'model.nation.tupi.settlementName.29', |
343 | | - 'model.nation.tupi.settlementName.32', 'model.nation.tupi.settlementName.33', 'model.nation.tupi.settlementName.34', |
344 | | - 'model.nation.tupi.settlementName.35', 'model.nation.tupi.settlementName.36', 'model.nation.tupi.settlementName.37', |
345 | | - 'model.nation.tupi.settlementName.38', 'model.nation.tupi.settlementName.39', 'model.nation.tupi.settlementName.3', |
346 | | - 'model.nation.tupi.settlementName.40', 'model.nation.tupi.settlementName.41', 'model.nation.tupi.settlementName.42', |
347 | | - 'model.nation.tupi.settlementName.43', 'model.nation.tupi.settlementName.44', 'model.nation.tupi.settlementName.45', |
348 | | - 'model.nation.tupi.settlementName.46', 'model.nation.tupi.settlementName.47', 'model.nation.tupi.settlementName.48', |
349 | | - 'model.nation.tupi.settlementName.49', 'model.nation.tupi.settlementName.4', 'model.nation.tupi.settlementName.50', |
350 | | - 'model.nation.tupi.settlementName.5', 'model.nation.tupi.settlementName.6', 'model.nation.tupi.settlementName.7', |
351 | | - 'model.nation.tupi.settlementName.51', 'model.nation.tupi.settlementName.52', 'model.nation.tupi.settlementName.53', |
352 | | - 'model.nation.tupi.settlementName.8', 'model.nation.tupi.settlementName.9', |
353 | | - ); |
354 | | - |
355 | | - protected $ignored = array( |
356 | | - 'headerFont', |
357 | | - ); |
358 | | - |
359 | | - public function getMessageFile( $code ) { |
360 | | - if ( $code == 'en' ) { |
361 | | - return 'FreeColMessages.properties'; |
362 | | - } else { |
363 | | - if ( isset( $this->codeMap[$code] ) ) { |
364 | | - $code = $this->codeMap[$code]; |
365 | | - } |
366 | | - return "FreeColMessages_$code.properties"; |
367 | | - } |
368 | | - } |
369 | | - |
370 | | - protected function getFileLocation( $code ) { |
371 | | - return $this->fileDir . '/' . $this->getMessageFile( $code ); |
372 | | - } |
373 | | - |
374 | | - public function getReader( $code ) { |
375 | | - return new JavaFormatReader( $this->getFileLocation( $code ) ); |
376 | | - } |
377 | | - |
378 | | - public function getWriter() { |
379 | | - return new JavaFormatWriter( $this ); |
380 | | - } |
381 | | - |
382 | | - public function getChecker() { |
383 | | - $checker = new FreeColMessageChecker( $this ); |
384 | | - $checker->setChecks( array( |
385 | | - array( $checker, 'FreeColEscapesCheck' ), |
386 | | - array( $checker, 'FreeColVariablesCheck' ), |
387 | | - ) ); |
388 | | - return $checker; |
389 | | - } |
390 | | -} |