Merge lp:~widelands-dev/widelands/bug-1374831 into lp:widelands
- bug-1374831
- Merge into trunk
Proposed by
GunChleoc
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 7376 | ||||
Proposed branch: | lp:~widelands-dev/widelands/bug-1374831 | ||||
Merge into: | lp:widelands | ||||
Diff against target: |
588 lines (+83/-57) 9 files modified
src/base/i18n.cc (+1/-1) src/base/i18n.h (+1/-1) src/editor/tools/editor_info_tool.cc (+26/-0) src/editor/ui_menus/editor_tool_set_terrain_options_menu.cc (+1/-1) src/logic/production_program.cc (+7/-7) src/ui_fsmenu/load_map_or_game.h (+1/-1) src/ui_fsmenu/loadgame.cc (+1/-1) src/wui/encyclopedia_window.cc (+1/-1) world/terrains/init.lua (+44/-44) |
||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands/bug-1374831 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
SirVer | Approve | ||
Review via email: mp+248092@code.launchpad.net |
Commit message
Description of the change
Removed numbers and world names from terrain descnames. Added category info for terrains to editor into tool.
To post a comment you must log in.
Revision history for this message
SirVer (sirver) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'src/base/i18n.cc' |
2 | --- src/base/i18n.cc 2014-11-27 09:40:39 +0000 |
3 | +++ src/base/i18n.cc 2015-01-30 23:27:26 +0000 |
4 | @@ -318,7 +318,7 @@ |
5 | const std::string & get_locale() {return locale;} |
6 | |
7 | |
8 | -std::string localize_item_list(const std::vector<std::string>& items, ConcatenateWith listtype) { |
9 | +std::string localize_list(const std::vector<std::string>& items, ConcatenateWith listtype) { |
10 | std::string result = ""; |
11 | for (std::vector<std::string>::const_iterator it = items.begin(); it != items.end(); ++it) { |
12 | if (it == items.begin()) { |
13 | |
14 | === modified file 'src/base/i18n.h' |
15 | --- src/base/i18n.h 2014-11-27 09:40:39 +0000 |
16 | +++ src/base/i18n.h 2015-01-30 23:27:26 +0000 |
17 | @@ -57,7 +57,7 @@ |
18 | // Localize a list of 'items'. The last 2 items are concatenated with "and" or |
19 | // "or", depending on 'concatenate_with'. |
20 | enum class ConcatenateWith {AND, OR, AMPERSAND, COMMA}; |
21 | -std::string localize_item_list(const std::vector<std::string>& items, ConcatenateWith concatenate_with); |
22 | +std::string localize_list(const std::vector<std::string>& items, ConcatenateWith concatenate_with); |
23 | |
24 | } |
25 | |
26 | |
27 | === modified file 'src/editor/tools/editor_info_tool.cc' |
28 | --- src/editor/tools/editor_info_tool.cc 2014-11-27 07:53:21 +0000 |
29 | +++ src/editor/tools/editor_info_tool.cc 2015-01-30 23:27:26 +0000 |
30 | @@ -26,6 +26,7 @@ |
31 | #include "base/i18n.h" |
32 | #include "editor/editorinteractive.h" |
33 | #include "logic/map.h" |
34 | +#include "logic/world/editor_category.h" |
35 | #include "logic/world/terrain_description.h" |
36 | #include "logic/world/world.h" |
37 | #include "ui_basic/multilinetextarea.h" |
38 | @@ -100,6 +101,31 @@ |
39 | |
40 | buf += "• " + (boost::format(_("Name: %s")) % ter.descname()).str() + "\n"; |
41 | |
42 | + Widelands::TerrainDescription::Type terrain_is = ter.get_is(); |
43 | + std::vector<std::string> terrain_is_strings; |
44 | + |
45 | + if (terrain_is == Widelands::TerrainDescription::Type::GREEN) { |
46 | + terrain_is_strings.push_back(_("arable")); |
47 | + } |
48 | + if (terrain_is & Widelands::TerrainDescription::Type::DRY) { |
49 | + terrain_is_strings.push_back(_("treeless")); |
50 | + } |
51 | + if (terrain_is & Widelands::TerrainDescription::Type::WATER) { |
52 | + terrain_is_strings.push_back(_("aquatic")); |
53 | + } |
54 | + if (terrain_is & Widelands::TerrainDescription::Type::ACID) { |
55 | + terrain_is_strings.push_back(_("dead")); |
56 | + } |
57 | + if (terrain_is & Widelands::TerrainDescription::Type::MOUNTAIN) { |
58 | + terrain_is_strings.push_back(_("mountainous")); |
59 | + } |
60 | + if (terrain_is & Widelands::TerrainDescription::Type::UNPASSABLE) { |
61 | + terrain_is_strings.push_back(_("unpassable")); |
62 | + } |
63 | + buf += "• " + (boost::format(_("Category: %s")) |
64 | + % i18n::localize_list(terrain_is_strings, i18n::ConcatenateWith::AMPERSAND)).str() + "\n"; |
65 | + buf += "• " + (boost::format(_("Editor Category: %s")) % ter.editor_category().descname()).str() + "\n"; |
66 | + |
67 | // *** Resources info |
68 | buf += std::string("\n") + _("Resources:") + "\n"; |
69 | |
70 | |
71 | === modified file 'src/editor/ui_menus/editor_tool_set_terrain_options_menu.cc' |
72 | --- src/editor/ui_menus/editor_tool_set_terrain_options_menu.cc 2014-12-07 20:52:55 +0000 |
73 | +++ src/editor/ui_menus/editor_tool_set_terrain_options_menu.cc 2015-01-30 23:27:26 +0000 |
74 | @@ -156,7 +156,7 @@ |
75 | /** TRANSLATORS: %1% = terrain name, %2% = list of terrain types */ |
76 | const std::string tooltip = ((boost::format("%1%: %2%")) |
77 | % terrain_descr.descname() |
78 | - % i18n::localize_item_list(tooltips, i18n::ConcatenateWith::AND)).str(); |
79 | + % i18n::localize_list(tooltips, i18n::ConcatenateWith::AND)).str(); |
80 | |
81 | std::unique_ptr<const Image>& image = offscreen_images->back(); |
82 | UI::Checkbox* cb = new UI::Checkbox(parent, Point(0, 0), image.get(), tooltip); |
83 | |
84 | === modified file 'src/logic/production_program.cc' |
85 | --- src/logic/production_program.cc 2014-12-01 21:47:22 +0000 |
86 | +++ src/logic/production_program.cc 2015-01-30 23:27:26 +0000 |
87 | @@ -403,7 +403,7 @@ |
88 | for (const WareIndex& temp_ware : group.first) { |
89 | condition_list.push_back(tribe.get_ware_descr(temp_ware)->descname()); |
90 | } |
91 | - std::string condition = i18n::localize_item_list(condition_list, i18n::ConcatenateWith::AND); |
92 | + std::string condition = i18n::localize_list(condition_list, i18n::ConcatenateWith::AND); |
93 | if (1 < group.second) { |
94 | /** TRANSLATORS: This is an item in a list of wares, e.g. "3x water": */ |
95 | /** TRANSLATORS: %1$s = "3" */ |
96 | @@ -425,7 +425,7 @@ |
97 | for (const WareIndex& temp_ware : group.first) { |
98 | condition_list.push_back(tribe.get_ware_descr(temp_ware)->descname()); |
99 | } |
100 | - std::string condition = i18n::localize_item_list(condition_list, i18n::ConcatenateWith::AND); |
101 | + std::string condition = i18n::localize_list(condition_list, i18n::ConcatenateWith::AND); |
102 | if (1 < group.second) { |
103 | /** TRANSLATORS: This is an item in a list of wares, e.g. "3x water": */ |
104 | /** TRANSLATORS: %1$i = "3" */ |
105 | @@ -570,7 +570,7 @@ |
106 | condition_list.push_back(condition->description_negation(ps.owner().tribe())); |
107 | } |
108 | } |
109 | - std::string condition_string = i18n::localize_item_list(condition_list, i18n::ConcatenateWith::AND); |
110 | + std::string condition_string = i18n::localize_list(condition_list, i18n::ConcatenateWith::AND); |
111 | |
112 | std::string result_string = ""; |
113 | if (m_result == Failed) { |
114 | @@ -934,7 +934,7 @@ |
115 | for (const WareIndex& ware : group.first) { |
116 | ware_list.push_back(tribe.get_ware_descr(ware)->descname()); |
117 | } |
118 | - std::string ware_string = i18n::localize_item_list(ware_list, i18n::ConcatenateWith::OR); |
119 | + std::string ware_string = i18n::localize_list(ware_list, i18n::ConcatenateWith::OR); |
120 | |
121 | uint8_t const count = group.second; |
122 | if (1 < count) { |
123 | @@ -955,7 +955,7 @@ |
124 | /** TRANSLATORS: e.g. 'Did not start working because 3x water and 3x wheat are missing' */ |
125 | /** TRANSLATORS: e.g. 'Did not start working because fish, meat or pitta bread is missing' */ |
126 | (boost::format(ngettext("%s is missing", "%s are missing", nr_missing_groups)) |
127 | - % i18n::localize_item_list(group_list, i18n::ConcatenateWith::AND)) |
128 | + % i18n::localize_list(group_list, i18n::ConcatenateWith::AND)) |
129 | .str(); |
130 | |
131 | std::string result_string = |
132 | @@ -1067,7 +1067,7 @@ |
133 | } |
134 | ware_descnames.push_back(ware_descname); |
135 | } |
136 | - std::string ware_list = i18n::localize_item_list(ware_descnames, i18n::ConcatenateWith::AND); |
137 | + std::string ware_list = i18n::localize_list(ware_descnames, i18n::ConcatenateWith::AND); |
138 | |
139 | /** TRANSLATORS: %s is a list of wares */ |
140 | const std::string result_string = (boost::format(_("Produced %s")) % ware_list).str(); |
141 | @@ -1162,7 +1162,7 @@ |
142 | } |
143 | worker_descnames.push_back(worker_descname); |
144 | } |
145 | - std::string unit_string = i18n::localize_item_list(worker_descnames, i18n::ConcatenateWith::AND); |
146 | + std::string unit_string = i18n::localize_list(worker_descnames, i18n::ConcatenateWith::AND); |
147 | |
148 | /** TRANSLATORS: %s is a list of workers */ |
149 | const std::string result_string = (boost::format(_("Recruited %s")) % unit_string).str(); |
150 | |
151 | === modified file 'src/ui_fsmenu/load_map_or_game.h' |
152 | --- src/ui_fsmenu/load_map_or_game.h 2014-12-06 12:22:35 +0000 |
153 | +++ src/ui_fsmenu/load_map_or_game.h 2015-01-30 23:27:26 +0000 |
154 | @@ -60,7 +60,7 @@ |
155 | void parse(const std::string& author_list) { |
156 | std::vector<std::string> authors; |
157 | boost::split(authors, author_list, boost::is_any_of(",")); |
158 | - m_names = i18n::localize_item_list(authors, i18n::ConcatenateWith::AMPERSAND); |
159 | + m_names = i18n::localize_list(authors, i18n::ConcatenateWith::AMPERSAND); |
160 | m_number = authors.size(); |
161 | } |
162 | |
163 | |
164 | === modified file 'src/ui_fsmenu/loadgame.cc' |
165 | --- src/ui_fsmenu/loadgame.cc 2015-01-26 11:14:39 +0000 |
166 | +++ src/ui_fsmenu/loadgame.cc 2015-01-30 23:27:26 +0000 |
167 | @@ -186,7 +186,7 @@ |
168 | /** TRANSLATORS: Tooltip for the "Mode" column when choosing a game/replay to load. */ |
169 | /** TRANSLATORS: %s is a list of game modes. */ |
170 | ((boost::format(_("Game Mode: %s.")) |
171 | - % i18n::localize_item_list(modes, i18n::ConcatenateWith::COMMA))).str(); |
172 | + % i18n::localize_list(modes, i18n::ConcatenateWith::COMMA))).str(); |
173 | const std::string mode_tooltip_2 = |
174 | _("Numbers are the number of players."); |
175 | |
176 | |
177 | === modified file 'src/wui/encyclopedia_window.cc' |
178 | --- src/wui/encyclopedia_window.cc 2014-11-30 18:49:38 +0000 |
179 | +++ src/wui/encyclopedia_window.cc 2015-01-30 23:27:26 +0000 |
180 | @@ -186,7 +186,7 @@ |
181 | no_of_wares = no_of_wares + ware_types.size(); |
182 | |
183 | std::string ware_type_names = |
184 | - i18n::localize_item_list(ware_type_descnames, i18n::ConcatenateWith::OR); |
185 | + i18n::localize_list(ware_type_descnames, i18n::ConcatenateWith::OR); |
186 | |
187 | // Make sure to detect if someone changes the type so that it |
188 | // needs more than 3 decimal digits to represent. |
189 | |
190 | === modified file 'world/terrains/init.lua' |
191 | --- world/terrains/init.lua 2015-01-20 18:34:53 +0000 |
192 | +++ world/terrains/init.lua 2015-01-30 23:27:26 +0000 |
193 | @@ -30,7 +30,7 @@ |
194 | name = "wiese1", |
195 | |
196 | -- The name that will be used in UI and translated. |
197 | - descname = _ "Meadow 1", |
198 | + descname = _ "Meadow", |
199 | |
200 | -- The category for sorting this into menus in the editor. |
201 | editor_category = "green", |
202 | @@ -68,7 +68,7 @@ |
203 | |
204 | world:new_terrain_type{ |
205 | name = "wiese2", |
206 | - descname = _ "Meadow 2", |
207 | + descname = _ "Meadow", |
208 | editor_category = "green", |
209 | is = "green", |
210 | valid_resources = {"water"}, |
211 | @@ -84,7 +84,7 @@ |
212 | |
213 | world:new_terrain_type{ |
214 | name = "wiese3", |
215 | - descname = _ "Meadow 3", |
216 | + descname = _ "Meadow", |
217 | editor_category = "green", |
218 | is = "green", |
219 | valid_resources = {"water"}, |
220 | @@ -99,7 +99,7 @@ |
221 | |
222 | world:new_terrain_type{ |
223 | name = "wiese4", |
224 | - descname = _ "Meadow 4", |
225 | + descname = _ "Meadow", |
226 | editor_category = "green", |
227 | is = "green", |
228 | valid_resources = {"water"}, |
229 | @@ -159,7 +159,7 @@ |
230 | |
231 | world:new_terrain_type{ |
232 | name = "berg1", |
233 | - descname = _ "Mountain 1", |
234 | + descname = _ "Mountain", |
235 | editor_category = "green", |
236 | is = "mountain", |
237 | valid_resources = { "coal", "iron", "gold", "granite" }, |
238 | @@ -174,7 +174,7 @@ |
239 | |
240 | world:new_terrain_type{ |
241 | name = "berg2", |
242 | - descname = _ "Mountain 2", |
243 | + descname = _ "Mountain", |
244 | editor_category = "green", |
245 | is = "mountain", |
246 | valid_resources = {"coal", "iron", "gold", "granite"}, |
247 | @@ -189,7 +189,7 @@ |
248 | |
249 | world:new_terrain_type{ |
250 | name = "berg3", |
251 | - descname = _ "Mountain 3", |
252 | + descname = _ "Mountain", |
253 | editor_category = "green", |
254 | is = "mountain", |
255 | valid_resources = {"coal", "iron", "gold", "granite"}, |
256 | @@ -204,7 +204,7 @@ |
257 | |
258 | world:new_terrain_type{ |
259 | name = "berg4", |
260 | - descname = _ "Mountain 4", |
261 | + descname = _ "Mountain", |
262 | editor_category = "green", |
263 | is = "mountain", |
264 | valid_resources = {"coal", "iron", "gold", "granite"}, |
265 | @@ -315,7 +315,7 @@ |
266 | |
267 | world:new_terrain_type{ |
268 | name = "ashes2", |
269 | - descname = _ "Ashes 2", |
270 | + descname = _ "Ashes", |
271 | editor_category = "wasteland", |
272 | is = "green", |
273 | valid_resources = { "water" }, |
274 | @@ -330,7 +330,7 @@ |
275 | |
276 | world:new_terrain_type{ |
277 | name = "hardground1", |
278 | - descname = _ "Hard Ground 1", |
279 | + descname = _ "Hard Ground", |
280 | editor_category = "wasteland", |
281 | is = "green", |
282 | valid_resources = { "water" }, |
283 | @@ -345,7 +345,7 @@ |
284 | |
285 | world:new_terrain_type{ |
286 | name = "hardground2", |
287 | - descname = _ "Hard Ground 2", |
288 | + descname = _ "Hard Ground", |
289 | editor_category = "wasteland", |
290 | is = "green", |
291 | valid_resources = { "water" }, |
292 | @@ -360,7 +360,7 @@ |
293 | |
294 | world:new_terrain_type{ |
295 | name = "hardground3", |
296 | - descname = _ "Hard Ground 3", |
297 | + descname = _ "Hard Ground", |
298 | editor_category = "wasteland", |
299 | is = "green", |
300 | valid_resources = { "water" }, |
301 | @@ -375,7 +375,7 @@ |
302 | |
303 | world:new_terrain_type{ |
304 | name = "hardground4", |
305 | - descname = _ "Hard Ground 4", |
306 | + descname = _ "Hard Ground", |
307 | editor_category = "wasteland", |
308 | is = "green", |
309 | valid_resources = { "water" }, |
310 | @@ -405,7 +405,7 @@ |
311 | |
312 | world:new_terrain_type{ |
313 | name = "wasteland_mountain1", |
314 | - descname = _ "Mountain 1", |
315 | + descname = _ "Mountain", |
316 | editor_category = "wasteland", |
317 | is = "mountain", |
318 | valid_resources = { "coal", "iron", "gold", "granite" }, |
319 | @@ -420,7 +420,7 @@ |
320 | |
321 | world:new_terrain_type{ |
322 | name = "wasteland_mountain2", |
323 | - descname = _ "Mountain 2", |
324 | + descname = _ "Mountain", |
325 | editor_category = "wasteland", |
326 | is = "mountain", |
327 | valid_resources = { "coal", "iron", "gold", "granite" }, |
328 | @@ -435,7 +435,7 @@ |
329 | |
330 | world:new_terrain_type{ |
331 | name = "wasteland_mountain3", |
332 | - descname = _ "Mountain 3", |
333 | + descname = _ "Mountain", |
334 | editor_category = "wasteland", |
335 | is = "mountain", |
336 | valid_resources = { "coal", "iron", "gold", "granite" }, |
337 | @@ -450,7 +450,7 @@ |
338 | |
339 | world:new_terrain_type{ |
340 | name = "wasteland_mountain4", |
341 | - descname = _ "Mountain 4", |
342 | + descname = _ "Mountain", |
343 | editor_category = "wasteland", |
344 | is = "mountain", |
345 | valid_resources = { "coal", "iron", "gold", "granite" }, |
346 | @@ -465,7 +465,7 @@ |
347 | |
348 | world:new_terrain_type{ |
349 | name = "wasteland_beach", |
350 | - descname = _ "Beach (Wasteland)", |
351 | + descname = _ "Beach", |
352 | editor_category = "wasteland", |
353 | is = "dry", |
354 | valid_resources = {}, |
355 | @@ -480,7 +480,7 @@ |
356 | |
357 | world:new_terrain_type{ |
358 | name = "lava-stone1", |
359 | - descname = _ "Lava Rocks 1", |
360 | + descname = _ "Lava Rocks", |
361 | editor_category = "wasteland", |
362 | is = "acid", |
363 | valid_resources = {}, |
364 | @@ -496,7 +496,7 @@ |
365 | |
366 | world:new_terrain_type{ |
367 | name = "lava-stone2", |
368 | - descname = _ "Lava Rocks 2", |
369 | + descname = _ "Lava Rocks", |
370 | editor_category = "wasteland", |
371 | is = "acid", |
372 | valid_resources = {}, |
373 | @@ -512,7 +512,7 @@ |
374 | |
375 | world:new_terrain_type{ |
376 | name = "wasteland_water", |
377 | - descname = _ "Water (Wasteland)", |
378 | + descname = _ "Water", |
379 | editor_category = "wasteland", |
380 | is = "water", |
381 | valid_resources = { "fish" }, |
382 | @@ -547,7 +547,7 @@ |
383 | |
384 | world:new_terrain_type{ |
385 | name = "tundra2", |
386 | - descname = _ "Tundra 2", |
387 | + descname = _ "Tundra", |
388 | editor_category = "winter", |
389 | is = "green", |
390 | valid_resources = { "water" }, |
391 | @@ -562,7 +562,7 @@ |
392 | |
393 | world:new_terrain_type{ |
394 | name = "tundra3", |
395 | - descname = _ "Tundra 3", |
396 | + descname = _ "Tundra", |
397 | editor_category = "winter", |
398 | is = "green", |
399 | valid_resources = { "water" }, |
400 | @@ -622,7 +622,7 @@ |
401 | |
402 | world:new_terrain_type{ |
403 | name = "winter_mountain1", |
404 | - descname = _ "Mountain 1 (Winter)", |
405 | + descname = _ "Mountain", |
406 | editor_category = "winter", |
407 | is = "mountain", |
408 | valid_resources = { "coal", "iron", "gold", "granite" }, |
409 | @@ -637,7 +637,7 @@ |
410 | |
411 | world:new_terrain_type{ |
412 | name = "winter_mountain2", |
413 | - descname = _ "Mountain 2 (Winter)", |
414 | + descname = _ "Mountain", |
415 | editor_category = "winter", |
416 | is = "mountain", |
417 | valid_resources = { "coal", "iron", "gold", "granite" }, |
418 | @@ -652,7 +652,7 @@ |
419 | |
420 | world:new_terrain_type{ |
421 | name = "winter_mountain3", |
422 | - descname = _ "Mountain 3 (Winter)", |
423 | + descname = _ "Mountain", |
424 | editor_category = "winter", |
425 | is = "mountain", |
426 | valid_resources = { "coal", "iron", "gold", "granite" }, |
427 | @@ -667,7 +667,7 @@ |
428 | |
429 | world:new_terrain_type{ |
430 | name = "winter_mountain4", |
431 | - descname = _ "Mountain 4 (Winter)", |
432 | + descname = _ "Mountain", |
433 | editor_category = "winter", |
434 | is = "mountain", |
435 | valid_resources = { "coal", "iron", "gold", "granite" }, |
436 | @@ -697,7 +697,7 @@ |
437 | |
438 | world:new_terrain_type{ |
439 | name = "winter_beach", |
440 | - descname = _ "Beach (Winter)", |
441 | + descname = _ "Beach", |
442 | editor_category = "winter", |
443 | is = "dry", |
444 | valid_resources = {}, |
445 | @@ -728,7 +728,7 @@ |
446 | |
447 | world:new_terrain_type{ |
448 | name = "ice_floes2", |
449 | - descname = _ "Ice Floes 2", |
450 | + descname = _ "Ice Floes", |
451 | editor_category = "winter", |
452 | is = "water", |
453 | valid_resources = {"fish"}, |
454 | @@ -744,7 +744,7 @@ |
455 | |
456 | world:new_terrain_type{ |
457 | name = "winter_water", |
458 | - descname = _ "Water (Winter)", |
459 | + descname = _ "Water", |
460 | editor_category = "winter", |
461 | is = "water", |
462 | valid_resources = {"fish"}, |
463 | @@ -764,7 +764,7 @@ |
464 | |
465 | world:new_terrain_type{ |
466 | name = "desert4", |
467 | - descname = _ "Desert 4", |
468 | + descname = _ "Desert", |
469 | editor_category = "desert", |
470 | is = "green", |
471 | valid_resources = {"water"}, |
472 | @@ -794,7 +794,7 @@ |
473 | |
474 | world:new_terrain_type{ |
475 | name = "desert_steppe", |
476 | - descname = _ "Steppe (Desert)", |
477 | + descname = _ "Steppe", |
478 | editor_category = "desert", |
479 | is = "green", |
480 | valid_resources = {"water"}, |
481 | @@ -809,7 +809,7 @@ |
482 | |
483 | world:new_terrain_type{ |
484 | name = "meadow", |
485 | - descname = _ "Meadow (Desert)", |
486 | + descname = _ "Meadow", |
487 | editor_category = "desert", |
488 | is = "green", |
489 | valid_resources = {"water"}, |
490 | @@ -824,7 +824,7 @@ |
491 | |
492 | world:new_terrain_type{ |
493 | name = "mountainmeadow", |
494 | - descname = _ "Mountain Meadow (Desert)", |
495 | + descname = _ "Mountain Meadow", |
496 | editor_category = "desert", |
497 | is = "green", |
498 | valid_resources = {"water"}, |
499 | @@ -839,7 +839,7 @@ |
500 | |
501 | world:new_terrain_type{ |
502 | name = "highmountainmeadow", |
503 | - descname = _ "High Mountain Meadow (Desert)", |
504 | + descname = _ "High Mountain Meadow", |
505 | editor_category = "desert", |
506 | is = "green", |
507 | valid_resources = {"water"}, |
508 | @@ -854,7 +854,7 @@ |
509 | |
510 | world:new_terrain_type{ |
511 | name = "mountain1", |
512 | - descname = _ "Mountain 1 (Desert)", |
513 | + descname = _ "Mountain", |
514 | editor_category = "desert", |
515 | is = "mountain", |
516 | valid_resources = { "coal", "iron", "gold", "granite" }, |
517 | @@ -869,7 +869,7 @@ |
518 | |
519 | world:new_terrain_type{ |
520 | name = "mountain2", |
521 | - descname = _ "Mountain 2 (Desert)", |
522 | + descname = _ "Mountain", |
523 | editor_category = "desert", |
524 | is = "mountain", |
525 | valid_resources = { "coal", "iron", "gold", "granite" }, |
526 | @@ -884,7 +884,7 @@ |
527 | |
528 | world:new_terrain_type{ |
529 | name = "mountain3", |
530 | - descname = _ "Mountain 3 (Desert)", |
531 | + descname = _ "Mountain", |
532 | editor_category = "desert", |
533 | is = "mountain", |
534 | valid_resources = { "coal", "iron", "gold", "granite" }, |
535 | @@ -899,7 +899,7 @@ |
536 | |
537 | world:new_terrain_type{ |
538 | name = "mountain4", |
539 | - descname = _ "Mountain 4 (Desert)", |
540 | + descname = _ "Mountain", |
541 | editor_category = "desert", |
542 | is = "mountain", |
543 | valid_resources = { "coal", "iron", "gold", "granite" }, |
544 | @@ -914,7 +914,7 @@ |
545 | |
546 | world:new_terrain_type{ |
547 | name = "desert1", |
548 | - descname = _ "Desert 1", |
549 | + descname = _ "Desert", |
550 | editor_category = "desert", |
551 | is = "dry", |
552 | valid_resources = {}, |
553 | @@ -929,7 +929,7 @@ |
554 | |
555 | world:new_terrain_type{ |
556 | name = "desert2", |
557 | - descname = _ "Desert 2", |
558 | + descname = _ "Desert", |
559 | editor_category = "desert", |
560 | is = "dry", |
561 | valid_resources = {}, |
562 | @@ -944,7 +944,7 @@ |
563 | |
564 | world:new_terrain_type{ |
565 | name = "desert3", |
566 | - descname = _ "Desert 3", |
567 | + descname = _ "Desert", |
568 | editor_category = "desert", |
569 | is = "dry", |
570 | valid_resources = {}, |
571 | @@ -959,7 +959,7 @@ |
572 | |
573 | world:new_terrain_type{ |
574 | name = "desert_beach", |
575 | - descname = _ "Beach (Desert)", |
576 | + descname = _ "Beach", |
577 | editor_category = "desert", |
578 | is = "dry", |
579 | valid_resources = {}, |
580 | @@ -974,7 +974,7 @@ |
581 | |
582 | world:new_terrain_type{ |
583 | name = "desert_water", |
584 | - descname = _ "Water (Desert)", |
585 | + descname = _ "Water", |
586 | editor_category = "desert", |
587 | is = "water", |
588 | valid_resources = {"fish"}, |