56 switch (
preq->source.kind) {
65 _(
"Requires counter %s to achieve at minimum %d value."),
67 preq->source.value.counter->checkpoint);
72 _(
"Requires counter %s to be less than %d value."),
74 preq->source.value.counter->checkpoint - 1);
78 switch (
preq->range) {
83 _(
"Requires knowledge of the technology %s."),
87 _(
"Prevented by knowledge of the technology %s."),
95 _(
"Requires that a player on your team knows the "
100 _(
"Prevented if any player on your team knows the "
109 _(
"Requires that a player allied to you knows the "
114 _(
"Prevented if any player allied to you knows the "
121 if (
preq->survives) {
124 _(
"Requires that someone has discovered the "
129 _(
"Requires that no-one has yet discovered the "
136 _(
"Requires that some player knows the "
141 _(
"Requires that no player knows the "
161 switch (
preq->range) {
167 _(
"Requires knowledge of a technology with the "
173 _(
"Prevented by knowledge of any technology with the "
183 _(
"Requires that a player on your team knows "
184 "a technology with the \"%s\" flag."),
189 _(
"Prevented if any player on your team knows "
190 "any technology with the \"%s\" flag."),
199 _(
"Requires that a player allied to you knows "
200 "a technology with the \"%s\" flag."),
205 _(
"Prevented if any player allied to you knows "
206 "any technology with the \"%s\" flag."),
215 _(
"Requires that some player knows a technology "
216 "with the \"%s\" flag."),
221 _(
"Requires that no player knows any technology with "
268 switch (
preq->range) {
284 "team-mates has achieved \"%s\"."),
288 "has achieved \"%s\"."),
296 "has achieved \"%s\"."),
308 "has achieved \"%s\"."),
330 switch (
preq->range) {
349 switch (
preq->range) {
355 preq->source.value.impr_genus));
359 preq->source.value.impr_genus));
369 switch (
preq->range) {
375 preq->source.value.impr_flag));
379 preq->source.value.impr_flag));
389 switch (
preq->range) {
395 preq->source.value.plr_flag));
399 preq->source.value.plr_flag));
409 switch (
preq->range) {
428 switch (
preq->range) {
432 if (
preq->survives) {
438 _(
"Requires that %s was built at some point, "
439 "and that it has not yet been rendered "
442 (
preq->source.value.building));
446 _(
"Requires that %s was built at some point."),
448 (
preq->source.value.building));
455 _(
"Prevented if %s has ever been built, "
456 "unless it would be obsolete."),
458 (
preq->source.value.building));
462 _(
"Prevented if %s has ever been built."),
464 (
preq->source.value.building));
474 _(
"Requires %s to be owned by any player "
475 "and not yet obsolete."),
477 (
preq->source.value.building));
481 _(
"Requires %s to be owned by any player."),
483 (
preq->source.value.building));
490 _(
"Prevented if %s is currently owned by "
491 "any player, unless it is obsolete."),
493 (
preq->source.value.building));
497 _(
"Prevented if %s is currently owned by "
500 (
preq->source.value.building));
511 if (
preq->survives) {
517 _(
"Requires someone who is currently allied to "
518 "you to have built %s at some point, and for "
519 "it not to have been rendered obsolete."),
521 (
preq->source.value.building));
525 _(
"Requires someone who is currently allied to "
526 "you to have built %s at some point."),
528 (
preq->source.value.building));
535 _(
"Prevented if someone currently allied to you "
536 "has ever built %s, unless it would be "
539 (
preq->source.value.building));
543 _(
"Prevented if someone currently allied to you "
544 "has ever built %s."),
546 (
preq->source.value.building));
556 _(
"Requires someone allied to you to own %s, "
557 "and for it not to have been rendered "
560 (
preq->source.value.building));
564 _(
"Requires someone allied to you to own %s."),
566 (
preq->source.value.building));
573 _(
"Prevented if someone allied to you owns %s, "
574 "unless it is obsolete."),
576 (
preq->source.value.building));
580 _(
"Prevented if someone allied to you owns %s."),
582 (
preq->source.value.building));
593 if (
preq->survives) {
599 _(
"Requires someone on your team to have "
600 "built %s at some point, and for it not "
601 "to have been rendered obsolete."),
603 (
preq->source.value.building));
607 _(
"Requires someone on your team to have "
608 "built %s at some point."),
610 (
preq->source.value.building));
617 _(
"Prevented if someone on your team has ever "
618 "built %s, unless it would be obsolete."),
620 (
preq->source.value.building));
624 _(
"Prevented if someone on your team has ever "
627 (
preq->source.value.building));
637 _(
"Requires someone on your team to own %s, "
638 "and for it not to have been rendered "
641 (
preq->source.value.building));
645 _(
"Requires someone on your team to own %s."),
647 (
preq->source.value.building));
654 _(
"Prevented if someone on your team owns %s, "
655 "unless it is obsolete."),
657 (
preq->source.value.building));
661 _(
"Prevented if someone on your team owns %s."),
663 (
preq->source.value.building));
674 if (
preq->survives) {
680 _(
"Requires you to have built %s at some point, "
681 "and for it not to have been rendered "
684 (
preq->source.value.building));
688 _(
"Requires you to have built %s at some point."),
690 (
preq->source.value.building));
697 _(
"Prevented if you have ever built %s, "
698 "unless it would be obsolete."),
700 (
preq->source.value.building));
704 _(
"Prevented if you have ever built %s."),
706 (
preq->source.value.building));
716 _(
"Requires you to own %s, which must not "
719 (
preq->source.value.building));
723 _(
"Requires you to own %s."),
725 (
preq->source.value.building));
732 _(
"Prevented if you own %s, unless it is "
735 (
preq->source.value.building));
739 _(
"Prevented if you own %s."),
741 (
preq->source.value.building));
757 _(
"Requires %s in one of your cities on the same "
758 "continent, and not yet obsolete."),
760 (
preq->source.value.building));
764 _(
"Requires %s in one of your cities on the same "
767 (
preq->source.value.building));
774 _(
"Prevented if %s is in one of your cities on the "
775 "same continent, unless it is obsolete."),
777 (
preq->source.value.building));
781 _(
"Prevented if %s is in one of your cities on the "
784 (
preq->source.value.building));
799 _(
"Requires %s in the city or a trade partner "
800 "(and not yet obsolete)."),
802 (
preq->source.value.building));
806 _(
"Requires %s in the city or a trade partner."),
808 (
preq->source.value.building));
816 _(
"Prevented by %s in the city or a trade partner "
817 "(unless it is obsolete)."),
819 (
preq->source.value.building));
823 _(
"Prevented by %s in the city or a trade partner."),
825 (
preq->source.value.building));
837 _(
"Requires %s in the city (and not yet obsolete)."),
839 (
preq->source.value.building));
843 _(
"Requires %s in the city."),
845 (
preq->source.value.building));
853 _(
"Prevented by %s in the city (unless it is "
856 (
preq->source.value.building));
860 _(
"Prevented by %s in the city."),
862 (
preq->source.value.building));
870 _(
"Only applies to \"%s\" buildings."),
872 (
preq->source.value.building));
875 _(
"Does not apply to \"%s\" buildings."),
877 (
preq->source.value.building));
884 _(
"Requires \"%s\" building in a city on the tile."),
886 (
preq->source.value.building));
889 _(
"Prevented by \"%s\" building in a city on the tile."),
891 (
preq->source.value.building));
903 switch (
preq->range) {
908 _(
"Only applies to \"%s\" extras."),
912 _(
"Does not apply to \"%s\" extras."),
920 Q_(
"?extra:Requires %s on the tile."),
924 Q_(
"?extra:Prevented by %s on the tile."),
932 Q_(
"?extra:Requires %s on the tile or a cardinally "
937 Q_(
"?extra:Prevented by %s on the tile or any cardinally "
946 Q_(
"?extra:Requires %s on the tile or an adjacent "
951 Q_(
"?extra:Prevented by %s on the tile or any adjacent "
960 Q_(
"?extra:Requires %s on a tile within the city "
965 Q_(
"?extra:Prevented by %s on any tile within the city "
974 Q_(
"?extra:Requires %s on a tile within the city "
975 "radius, or the city radius of a trade partner."),
979 Q_(
"?extra:Prevented by %s on any tile within the city "
980 "radius or the city radius of a trade partner."),
996 switch (
preq->range) {
1024 switch (
preq->range) {
1027 if (
preq->present) {
1037 if (
preq->present) {
1039 Q_(
"?terrain:Requires %s on the tile or a cardinally "
1044 Q_(
"?terrain:Prevented by %s on the tile or any "
1045 "cardinally adjacent tile."),
1051 if (
preq->present) {
1053 Q_(
"?terrain:Requires %s on the tile or an adjacent "
1058 Q_(
"?terrain:Prevented by %s on the tile or any "
1065 if (
preq->present) {
1067 Q_(
"?terrain:Requires %s on a tile within the city "
1072 Q_(
"?terrain:Prevented by %s on any tile within the city "
1079 if (
preq->present) {
1081 Q_(
"?terrain:Requires %s on a tile within the city "
1082 "radius, or the city radius of a trade partner."),
1086 Q_(
"?terrain:Prevented by %s on any tile within the city "
1087 "radius or the city radius of a trade partner."),
1104 switch (
preq->range) {
1107 if (
preq->present) {
1110 _(
"Requires that you are playing as the %s."),
1115 _(
"Requires that you are not playing as the %s."),
1121 if (
preq->present) {
1124 _(
"Requires that you are on the same team as "
1130 _(
"Requires that you are not on the same team as "
1137 if (
preq->present) {
1140 _(
"Requires that you are allied with the %s."),
1145 _(
"Requires that you are not allied with the %s."),
1151 if (
preq->survives) {
1152 if (
preq->present) {
1155 _(
"Requires the %s to have been in the game."),
1160 _(
"Requires the %s never to have been in the "
1165 if (
preq->present) {
1168 _(
"Requires the %s in the game."),
1173 _(
"Requires that the %s are not in the game."),
1192 switch (
preq->range) {
1195 if (
preq->present) {
1198 _(
"Requires that you are playing %s nation."),
1203 _(
"Prevented if you are playing %s nation."),
1209 if (
preq->present) {
1212 _(
"Requires %s nation on your team."),
1217 _(
"Prevented by %s nation on your team."),
1223 if (
preq->present) {
1226 _(
"Requires %s nation in alliance with you."),
1231 _(
"Prevented if %s nation is in alliance with you."),
1237 if (
preq->present) {
1240 _(
"Requires %s nation in the game."),
1245 _(
"Prevented by %s nation in the game."),
1267 if (
preq->present) {
1271 _(
"Requires that you are playing %s style nation."),
1277 _(
"Requires that you are not playing %s style nation."),
1283 switch (
preq->range) {
1286 if (
preq->present) {
1289 _(
"Requires at least one %s citizen in the city or a "
1295 _(
"Requires that there are no %s citizens in "
1296 "the city or any trade partners."),
1302 if (
preq->present) {
1305 _(
"Requires at least one %s citizen in the city."),
1310 _(
"Requires that there are no %s citizens in "
1331 switch (
preq->range) {
1334 if (
preq->present) {
1336 _(
"Requires city to be founded by %s."),
1340 _(
"Requires that city was not originally owned by %s."),
1361 switch (
preq->range) {
1364 if (
preq->present) {
1370 _(
"Requires that you have the relationship '%s' with at "
1371 "least one other living player."),
1375 _(
"Requires that you do not have the relationship '%s' "
1376 "with any living player."),
1382 if (
preq->present) {
1384 _(
"Requires that somebody on your team has the "
1385 "relationship '%s' with at least one other living "
1390 _(
"Requires that nobody on your team has the "
1391 "relationship '%s' with any living player."),
1397 if (
preq->present) {
1399 _(
"Requires that somebody in your alliance has the "
1400 "relationship '%s' with at least one other living "
1405 _(
"Requires that nobody in your alliance has the "
1406 "relationship '%s' with any living player."),
1412 if (
preq->present) {
1414 _(
"Requires the relationship '%s' between two living "
1419 _(
"Requires that no two living players have the "
1420 "relationship '%s'."),
1426 if (
preq->present) {
1428 _(
"Requires that you have the relationship '%s' with the "
1433 _(
"Requires that you do not have the relationship '%s' "
1434 "with the other player."),
1451 switch (
preq->range) {
1454 if (
preq->present) {
1460 _(
"Requires that the tile owner has the relationship"
1461 " '%s' with at least one other living player."),
1465 _(
"Requires that the tile owner does not have the"
1466 " relationship '%s' with any living player."),
1472 if (
preq->present) {
1474 _(
"Requires that somebody on the tile owner's team"
1475 " has the relationship '%s' with at least one other"
1480 _(
"Requires that nobody on the tile owner's team has"
1481 " the relationship '%s' with any living player."),
1487 if (
preq->present) {
1489 _(
"Requires that somebody in the tile owner's alliance"
1490 " has the relationship '%s' with at least one other "
1495 _(
"Requires that nobody in the tile owner's alliance "
1496 "has the relationship '%s' with any living player."),
1502 if (
preq->present) {
1504 _(
"Requires that you have the relationship '%s' with"
1505 " the tile owner."),
1509 _(
"Requires that you do not have the relationship '%s'"
1510 " with the tile owner."),
1528 switch (
preq->range) {
1531 if (
preq->present) {
1533 _(
"Requires that the tile owner has the relationship"
1534 " '%s' with the other player."),
1538 _(
"Requires that the tile owner does not have the"
1539 " relationship '%s' with the other player."),
1560 switch (
preq->range) {
1563 if (
preq->present) {
1569 _(
"Requires that the tile has at least one unit whose "
1570 "owner has the relationship "
1571 "'%s' with at least one other living player."),
1575 _(
"Requires that no unit at the tile is owned by a player "
1576 "who has the relationship '%s' with any living player."),
1582 if (
preq->present) {
1584 _(
"Requires that the tile has at least one unit whose "
1585 "owner is on a team where a member "
1586 "has the relationship '%s' with at least one other "
1591 _(
"Requires that no unit at the tile is owned by a player "
1592 "who is on a team where a member "
1593 "has the relationship '%s' with at least one other "
1600 if (
preq->present) {
1602 _(
"Requires that the tile has at least one unit whose "
1603 "owner is allied to someone that "
1604 "has the relationship '%s' with at least one other "
1609 _(
"Requires that no unit at the tile is owned by a player "
1610 "allied to someone that "
1611 "has the relationship '%s' with any living player."),
1617 if (
preq->present) {
1619 _(
"Requires that you have the relationship '%s' with "
1620 "the owner of at least one unit at the tile."),
1624 _(
"Requires that you do not have the relationship '%s' "
1625 "with the owner of any unit at the tile."),
1643 switch (
preq->range) {
1646 if (
preq->present) {
1648 _(
"Requires that the tile has at least one unit whose "
1649 "owner has the relationship '%s' with the other player."),
1653 _(
"Requires that no unit at the tile is owned by a player "
1654 "who has the relationship '%s' with the other player."),
1675 switch (
preq->range) {
1678 if (
preq->present) {
1705 switch (
preq->range) {
1715 if (
preq->present) {
1746 switch (
preq->range) {
1749 if (
preq->present) {
1789 switch (
preq->range) {
1792 if (
preq->present) {
1827 switch (
preq->range) {
1829 switch (
preq->source.value.unit_state) {
1832 if (
preq->present) {
1834 _(
"Requires that the unit is transported."));
1837 _(
"Requires that the unit isn't transported."));
1842 if (
preq->present) {
1844 _(
"Requires that the unit is on livable tile."));
1847 _(
"Requires that the unit isn't on livable tile."));
1852 if (
preq->present) {
1854 _(
"Requires that the unit does transport one or "
1855 "more cargo units."));
1858 _(
"Requires that the unit doesn't transport "
1859 "any cargo units."));
1864 if (
preq->present) {
1866 _(
"Requires that the unit has a home city."));
1869 _(
"Requires that the unit is homeless."));
1874 if (
preq->present) {
1876 _(
"Requires that the unit is on native tile."));
1879 _(
"Requires that the unit isn't on native tile."));
1884 if (
preq->present) {
1886 _(
"Requires that the unit is in a native extra."));
1889 _(
"Requires that the unit isn't in a native extra."));
1894 if (
preq->present) {
1896 _(
"Requires that the unit has moved this turn."));
1899 _(
"Requires that the unit hasn't moved this turn."));
1904 "Invalid unit state property.");
1926 switch (
preq->range) {
1929 if (
preq->present) {
1931 _(
"Requires that the unit is performing activity %s."),
1935 _(
"Requires that the unit is not performing activity %s."),
1958 switch (
preq->range) {
1961 if (
preq->present) {
1965 _(
"Requires that the unit has at least %s MP left."),
1971 _(
"Requires that the unit has less than %s MP left."),
1999 if (
preq->present) {
2001 PL_(
"Requires a unit with at least %d veteran level.",
2002 "Requires a unit with at least %d veteran levels.",
2003 preq->source.value.minveteran),
2004 preq->source.value.minveteran);
2007 PL_(
"Requires a unit with fewer than %d veteran level.",
2008 "Requires a unit with fewer than %d veteran levels.",
2009 preq->source.value.minveteran),
2010 preq->source.value.minveteran);
2020 if (
preq->present) {
2022 PL_(
"Requires a unit with at least %d hit point left.",
2023 "Requires a unit with at least %d hit points left.",
2024 preq->source.value.min_hit_points),
2025 preq->source.value.min_hit_points);
2028 PL_(
"Requires a unit with fewer than %d hit point "
2030 "Requires a unit with fewer than %d hit points "
2032 preq->source.value.min_hit_points),
2033 preq->source.value.min_hit_points);
2042 if (
preq->present) {
2058 if (
preq->present) {
2070 switch (
preq->range) {
2073 if (
preq->present) {
2075 PL_(
"Requires a minimum city size of %d for this "
2076 "city or a trade partner.",
2077 "Requires a minimum city size of %d for this "
2078 "city or a trade partner.",
2079 preq->source.value.minsize),
2080 preq->source.value.minsize);
2083 PL_(
"Requires the city size to be less than %d "
2084 "for this city and all trade partners.",
2085 "Requires the city size to be less than %d "
2086 "for this city and all trade partners.",
2087 preq->source.value.minsize),
2088 preq->source.value.minsize);
2093 if (
preq->present) {
2095 PL_(
"Requires a minimum city size of %d.",
2096 "Requires a minimum city size of %d.",
2097 preq->source.value.minsize),
2098 preq->source.value.minsize);
2101 PL_(
"Requires the city size to be less than %d.",
2102 "Requires the city size to be less than %d.",
2103 preq->source.value.minsize),
2104 preq->source.value.minsize);
2123 switch (
preq->range) {
2126 if (
preq->present) {
2128 PL_(
"Requires a minimum culture of %d in the city.",
2129 "Requires a minimum culture of %d in the city.",
2130 preq->source.value.minculture),
2131 preq->source.value.minculture);
2134 PL_(
"Requires the culture in the city to be less "
2136 "Requires the culture in the city to be less "
2138 preq->source.value.minculture),
2139 preq->source.value.minculture);
2144 if (
preq->present) {
2146 PL_(
"Requires a minimum culture of %d in this city or "
2148 "Requires a minimum culture of %d in this city or "
2150 preq->source.value.minculture),
2151 preq->source.value.minculture);
2154 PL_(
"Requires the culture in this city and all trade "
2155 "partners to be less than %d.",
2156 "Requires the culture in this city and all trade "
2157 "partners to be less than %d.",
2158 preq->source.value.minculture),
2159 preq->source.value.minculture);
2164 if (
preq->present) {
2166 PL_(
"Requires your nation to have culture "
2168 "Requires your nation to have culture "
2170 preq->source.value.minculture),
2171 preq->source.value.minculture);
2174 PL_(
"Prevented if your nation has culture of "
2176 "Prevented if your nation has culture of "
2178 preq->source.value.minculture),
2179 preq->source.value.minculture);
2184 if (
preq->present) {
2186 PL_(
"Requires someone on your team to have culture of "
2188 "Requires someone on your team to have culture of "
2190 preq->source.value.minculture),
2191 preq->source.value.minculture);
2194 PL_(
"Prevented if anyone on your team has culture of "
2196 "Prevented if anyone on your team has culture of "
2198 preq->source.value.minculture),
2199 preq->source.value.minculture);
2204 if (
preq->present) {
2206 PL_(
"Requires someone in your current alliance to "
2207 "have culture of at least %d.",
2208 "Requires someone in your current alliance to "
2209 "have culture of at least %d.",
2210 preq->source.value.minculture),
2211 preq->source.value.minculture);
2214 PL_(
"Prevented if anyone in your current alliance has "
2215 "culture of %d or more.",
2216 "Prevented if anyone in your current alliance has "
2217 "culture of %d or more.",
2218 preq->source.value.minculture),
2219 preq->source.value.minculture);
2224 if (
preq->present) {
2226 PL_(
"Requires that some player has culture of at "
2228 "Requires that some player has culture of at "
2230 preq->source.value.minculture),
2231 preq->source.value.minculture);
2234 PL_(
"Requires that no player has culture of %d "
2236 "Requires that no player has culture of %d "
2238 preq->source.value.minculture),
2239 preq->source.value.minculture);
2253 switch (
preq->range) {
2256 if (
preq->present) {
2258 _(
"At least %d%% of the citizens of the city "
2259 "must be foreign."),
2260 preq->source.value.minforeignpct);
2263 _(
"Less than %d%% of the citizens of the city "
2264 "must be foreign."),
2265 preq->source.value.minforeignpct);
2270 if (
preq->present) {
2272 _(
"At least %d%% of the citizens of the city "
2273 "or some trade partner must be foreign."),
2274 preq->source.value.minforeignpct);
2277 _(
"Less than %d%% of the citizens of the city "
2278 "and each trade partner must be foreign."),
2279 preq->source.value.minforeignpct);
2297 switch (
preq->range) {
2300 if (
preq->present) {
2302 PL_(
"At most %d total unit may be present on the tile.",
2303 "At most %d total units may be present on the tile.",
2304 preq->source.value.max_tile_total_units),
2305 preq->source.value.max_tile_total_units);
2308 PL_(
"There must be more than %d total unit present on "
2310 "There must be more than %d total units present on "
2312 preq->source.value.max_tile_total_units),
2313 preq->source.value.max_tile_total_units);
2318 if (
preq->present) {
2320 PL_(
"The tile or at least one cardinally adjacent tile "
2321 "must have %d total unit or fewer.",
2322 "The tile or at least one cardinally adjacent tile "
2323 "must have %d total units or fewer.",
2324 preq->source.value.max_tile_total_units),
2325 preq->source.value.max_tile_total_units);
2328 PL_(
"The tile and all cardinally adjacent tiles must "
2329 "have more than %d total unit each.",
2330 "The tile and all cardinally adjacent tiles must "
2331 "have more than %d total units each.",
2332 preq->source.value.max_tile_total_units),
2333 preq->source.value.max_tile_total_units);
2338 if (
preq->present) {
2340 PL_(
"The tile or at least one adjacent tile must have "
2341 "%d total unit or fewer.",
2342 "The tile or at least one adjacent tile must have "
2343 "%d total units or fewer.",
2344 preq->source.value.max_tile_total_units),
2345 preq->source.value.max_tile_total_units);
2348 PL_(
"The tile and all adjacent tiles must have more "
2349 "than %d total unit each.",
2350 "The tile and all adjacent tiles must have more "
2351 "than %d total units each.",
2352 preq->source.value.max_tile_total_units),
2353 preq->source.value.max_tile_total_units);
2371 switch (
preq->range) {
2374 if (
preq->present) {
2376 PL_(
"At most %d untransported unit may be present on the tile.",
2377 "At most %d untransported units may be present on the tile.",
2378 preq->source.value.max_tile_top_units),
2379 preq->source.value.max_tile_top_units);
2382 PL_(
"There must be more than %d untransported unit present on "
2384 "There must be more than %d untransported units present on "
2386 preq->source.value.max_tile_top_units),
2387 preq->source.value.max_tile_top_units);
2392 if (
preq->present) {
2394 PL_(
"The tile or at least one cardinally adjacent tile "
2395 "must have %d untransporte unit or fewer.",
2396 "The tile or at least one cardinally adjacent tile "
2397 "must have %d untransporte units or fewer.",
2398 preq->source.value.max_tile_top_units),
2399 preq->source.value.max_tile_top_units);
2402 PL_(
"The tile and all cardinally adjacent tiles must "
2403 "have more than %d untransported unit each.",
2404 "The tile and all cardinally adjacent tiles must "
2405 "have more than %d untransported units each.",
2406 preq->source.value.max_tile_top_units),
2407 preq->source.value.max_tile_top_units);
2412 if (
preq->present) {
2414 PL_(
"The tile or at least one adjacent tile must have "
2415 "%d untransported unit or fewer.",
2416 "The tile or at least one adjacent tile must have "
2417 "%d untransported units or fewer.",
2418 preq->source.value.max_tile_top_units),
2419 preq->source.value.max_tile_top_units);
2422 PL_(
"The tile and all adjacent tiles must have "
2423 "more than %d untransported unit each.",
2424 "The tile and all adjacent tiles must have "
2425 "more than %d untransported units each.",
2426 preq->source.value.max_tile_top_units),
2427 preq->source.value.max_tile_top_units);
2449 if (
preq->present) {
2452 _(
"Applies to %s AI players."),
2457 _(
"Does not apply to %s AI players."),
2463 switch (
preq->range) {
2466 if (
preq->present) {
2469 Q_(
"?terrainclass:Requires %s terrain on the tile."),
2471 (
preq->source.value.terrainclass));
2475 Q_(
"?terrainclass:Prevented by %s terrain on the tile."),
2477 (
preq->source.value.terrainclass));
2482 if (
preq->present) {
2485 Q_(
"?terrainclass:Requires %s terrain on the tile or a "
2486 "cardinally adjacent tile."),
2488 (
preq->source.value.terrainclass));
2492 Q_(
"?terrainclass:Prevented by %s terrain on the tile or "
2493 "any cardinally adjacent tile."),
2495 (
preq->source.value.terrainclass));
2500 if (
preq->present) {
2503 Q_(
"?terrainclass:Requires %s terrain on the tile or an "
2506 (
preq->source.value.terrainclass));
2510 Q_(
"?terrainclass:Prevented by %s terrain on the tile or "
2511 "any adjacent tile."),
2513 (
preq->source.value.terrainclass));
2518 if (
preq->present) {
2521 Q_(
"?terrainclass:Requires %s terrain on a tile within "
2522 "the city radius."),
2524 (
preq->source.value.terrainclass));
2528 Q_(
"?terrainclass:Prevented by %s terrain on any tile "
2529 "within the city radius."),
2531 (
preq->source.value.terrainclass));
2536 if (
preq->present) {
2539 Q_(
"?terrainclass:Requires %s terrain on a tile within "
2540 "the city radius or the city radius of a trade "
2543 (
preq->source.value.terrainclass));
2547 Q_(
"?terrainclass:Prevented by %s terrain on any tile "
2548 "within the city radius or the city radius of a trade "
2551 (
preq->source.value.terrainclass));
2567 switch (
preq->range) {
2570 if (
preq->present) {
2573 _(
"Requires terrain with the \"%s\" flag on the tile."),
2578 _(
"Prevented by terrain with the \"%s\" flag on the "
2585 if (
preq->present) {
2588 _(
"Requires terrain with the \"%s\" flag on the "
2589 "tile or a cardinally adjacent tile."),
2594 _(
"Prevented by terrain with the \"%s\" flag on "
2595 "the tile or any cardinally adjacent tile."),
2601 if (
preq->present) {
2604 _(
"Requires terrain with the \"%s\" flag on the "
2605 "tile or an adjacent tile."),
2610 _(
"Prevented by terrain with the \"%s\" flag on "
2611 "the tile or any adjacent tile."),
2617 if (
preq->present) {
2620 _(
"Requires terrain with the \"%s\" flag on a tile "
2621 "within the city radius."),
2626 _(
"Prevented by terrain with the \"%s\" flag on any tile "
2627 "within the city radius."),
2633 if (
preq->present) {
2636 _(
"Requires terrain with the \"%s\" flag on a tile "
2637 "within the city radius or the city radius of "
2638 "a trade partner."),
2643 _(
"Prevented by terrain with the \"%s\" flag on any tile "
2644 "within the city radius or the city radius of "
2645 "a trade partner."),
2662 switch (
preq->range) {
2665 if (
preq->present) {
2668 _(
"Only applies to roads with the \"%s\" flag."),
2670 (
preq->source.value.roadflag));
2674 _(
"Does not apply to roads with the \"%s\" flag."),
2676 (
preq->source.value.roadflag));
2681 if (
preq->present) {
2684 _(
"Requires a road with the \"%s\" flag on the tile."),
2689 _(
"Prevented by a road with the \"%s\" flag on the "
2696 if (
preq->present) {
2699 _(
"Requires a road with the \"%s\" flag on the "
2700 "tile or a cardinally adjacent tile."),
2705 _(
"Prevented by a road with the \"%s\" flag on "
2706 "the tile or any cardinally adjacent tile."),
2712 if (
preq->present) {
2715 _(
"Requires a road with the \"%s\" flag on the "
2716 "tile or an adjacent tile."),
2721 _(
"Prevented by a road with the \"%s\" flag on "
2722 "the tile or any adjacent tile."),
2728 if (
preq->present) {
2731 _(
"Requires a road with the \"%s\" flag on a tile "
2732 "within the city radius."),
2737 _(
"Prevented by a road with the \"%s\" flag on any tile "
2738 "within the city radius."),
2744 if (
preq->present) {
2747 _(
"Requires a road with the \"%s\" flag on a tile "
2748 "within the city radius or the city radius of a "
2754 _(
"Prevented by a road with the \"%s\" flag on any tile "
2755 "within the city radius or the city radius of a "
2772 switch (
preq->range) {
2775 if (
preq->present) {
2778 _(
"Only applies to extras with the \"%s\" flag."),
2780 (
preq->source.value.extraflag));
2784 _(
"Does not apply to extras with the \"%s\" flag."),
2786 (
preq->source.value.extraflag));
2791 if (
preq->present) {
2794 _(
"Requires an extra with the \"%s\" flag on the tile."),
2799 _(
"Prevented by an extra with the \"%s\" flag on the "
2806 if (
preq->present) {
2809 _(
"Requires an extra with the \"%s\" flag on the "
2810 "tile or a cardinally adjacent tile."),
2815 _(
"Prevented by an extra with the \"%s\" flag on "
2816 "the tile or any cardinally adjacent tile."),
2822 if (
preq->present) {
2825 _(
"Requires an extra with the \"%s\" flag on the "
2826 "tile or an adjacent tile."),
2831 _(
"Prevented by an extra with the \"%s\" flag on "
2832 "the tile or any adjacent tile."),
2838 if (
preq->present) {
2841 _(
"Requires an extra with the \"%s\" flag on a tile "
2842 "within the city radius."),
2847 _(
"Prevented by an extra with the \"%s\" flag on any tile "
2848 "within the city radius."),
2854 if (
preq->present) {
2857 _(
"Requires an extra with the \"%s\" flag on a tile "
2858 "within the city radius or the city radius of a "
2864 _(
"Prevented by an extra with the \"%s\" flag on any tile "
2865 "within the city radius or the city radius of a "
2886 if (
preq->present) {
2888 _(
"Requires the game to have reached the year %s."),
2892 _(
"Requires that the game has not yet reached the "
2903 if (
preq->present) {
2907 _(
"Requires the game to have reached %s."),
2913 _(
"Requires that the game has not yet reached %s."),
2923 if (
preq->present) {
2926 _(
"Requires %s map."),
2931 _(
"Prevented on %s map."),
2941 if (
preq->present) {
2944 _(
"Requires %s map."),
2949 _(
"Prevented on %s map."),
2964 _(
"Requires that the server setting %s."),
2971 if (
preq->present) {
2973 _(
"Requires age of %d turns."),
2974 preq->source.value.age);
2977 _(
"Prevented if age is over %d turns."),
2978 preq->source.value.age);
2984 if (
preq->present) {
2986 _(
"Requires form age of %d turns."),
2987 preq->source.value.form_age);
2990 _(
"Prevented if form age is over %d turns."),
2991 preq->source.value.form_age);
2996 switch (
preq->range) {
2999 if (
preq->present) {
3001 _(
"Requires %d techs to be known in the world."),
3002 preq->source.value.min_techs);
3005 _(
"Prevented when %d techs are known in the world."),
3006 preq->source.value.min_techs);
3011 if (
preq->present) {
3013 _(
"Requires player to know %d techs."),
3014 preq->source.value.min_techs);
3017 _(
"Prevented when player knows %d techs."),
3018 preq->source.value.min_techs);
3037 switch (
preq->range) {
3040 if (
preq->present) {
3042 _(
"Requires %d future techs to be known in the world."),
3043 preq->source.value.future_techs);
3046 _(
"Prevented when %d future techs are known in the world."),
3047 preq->source.value.future_techs);
3052 if (
preq->present) {
3054 _(
"Requires player to know %d future techs."),
3055 preq->source.value.future_techs);
3058 _(
"Prevented when player knows %d future techs."),
3059 preq->source.value.future_techs);
3078 switch (
preq->range) {
3081 if (
preq->present) {
3083 _(
"Requires player to have at least %d cities."),
3084 preq->source.value.min_cities);
3087 _(
"Prevented when player has at least %d cities."),
3088 preq->source.value.min_cities);
3108 switch (
preq->range) {
3111 if (
preq->present) {
3113 _(
"Requires terrain on which alteration %s is "
3118 _(
"Prevented by terrain on which alteration %s "
3145 switch (
preq->source.value.citytile) {
3172 "terrain class next to the city");
3188 switch (
preq->range) {
3191 if (
preq->present) {
3203 if (
preq->present) {
3206 "cardinally adjacent tiles."),
3211 "cardinally adjacent tiles."),
3217 if (
preq->present) {
3247 switch (
preq->source.value.citystatus) {
3271 switch (
preq->range) {
3274 if (
preq->present) {
3286 if (
preq->present) {
3313 switch (
preq->range) {
3316 if (
preq->present) {
3318 _(
"Some part of the world must be at latitude %d or "
3320 preq->source.value.latitude);
3323 _(
"The entire world must be at latitude %d or "
3325 preq->source.value.latitude - 1);
3330 if (
preq->present) {
3332 _(
"Tile must be at latitude %d or further north."),
3333 preq->source.value.latitude);
3336 _(
"Tile must be at latitude %d or further south."),
3337 preq->source.value.latitude - 1);
3342 if (
preq->present) {
3344 _(
"A cardinally adjacent tile must be at latitude "
3345 "%d or further north."),
3346 preq->source.value.latitude);
3349 _(
"All cardinally adjacent tiles must be at latitude "
3350 "%d or further south."),
3351 preq->source.value.latitude - 1);
3356 if (
preq->present) {
3358 _(
"An adjacent tile must be at latitude %d or "
3360 preq->source.value.latitude);
3363 _(
"All adjacent tiles must be at latitude %d or "
3365 preq->source.value.latitude - 1);
3382 switch (
preq->range) {
3385 if (
preq->present) {
3387 _(
"Some part of the world must be at latitude %d or "
3389 preq->source.value.latitude);
3392 _(
"The entire world must be at latitude %d or "
3394 preq->source.value.latitude + 1);
3399 if (
preq->present) {
3401 _(
"Tile must be at latitude %d or further south."),
3402 preq->source.value.latitude);
3405 _(
"Tile must be at latitude %d or further north."),
3406 preq->source.value.latitude + 1);
3411 if (
preq->present) {
3413 _(
"A cardinally adjacent tile must be at latitude "
3414 "%d or further south."),
3415 preq->source.value.latitude);
3418 _(
"All cardinally adjacent tiles must be at latitude "
3419 "%d or further north."),
3420 preq->source.value.latitude + 1);
3425 if (
preq->present) {
3427 _(
"An adjacent tile must be at latitude %d or "
3429 preq->source.value.latitude);
3432 _(
"All adjacent tiles must be at latitude %d or "
3434 preq->source.value.latitude + 1);
3451 switch (
preq->range) {
3455 switch (
preq->source.value.distance_sq)
3458 if (
preq->present) {
3465 if (
preq->present) {
3473 if (
preq->present) {
3481 if (
preq->present) {
3483 _(
"The squared distance between the tiles "
3484 "must be at most %d."),
3485 preq->source.value.distance_sq);
3488 _(
"The squared distance between the tiles "
3489 "must be at least %d."),
3490 preq->source.value.distance_sq + 1);
3512 switch (
preq->range) {
3517 if (
preq->present) {
3518 if (
preq->source.value.region_tiles == 1) {
3521 _(
"No other cardinally adjacent tile may be part of "
3522 "the same continent or ocean."),
3526 PL_(
"No more than %d other cardinally adjacent tile "
3527 "may be part of the same continent or ocean.",
3528 "No more than %d other cardinally adjacent tiles "
3529 "may be part of the same continent or ocean.",
3530 preq->source.value.region_tiles - 1),
3531 preq->source.value.region_tiles - 1);
3535 PL_(
"Requires at least %d other cardinally adjacent "
3536 "tile of the same continent or ocean.",
3537 "Requires at least %d other cardinally adjacent "
3538 "tiles of the same continent or ocean.",
3539 preq->source.value.region_tiles),
3540 preq->source.value.region_tiles);
3548 if (
preq->present) {
3549 if (
preq->source.value.region_tiles == 1) {
3552 _(
"No other adjacent tile may be part of the same "
3553 "continent or ocean."),
3557 PL_(
"No more than %d other adjacent tile may be "
3558 "part of the same continent or ocean.",
3559 "No more than %d other adjacent tiles may be "
3560 "part of the same continent or ocean.",
3561 preq->source.value.region_tiles - 1),
3562 preq->source.value.region_tiles - 1);
3566 PL_(
"Requires at least %d other adjacent tile of the "
3567 "same continent or ocean.",
3568 "Requires at least %d other adjacent tiles of the "
3569 "same continent or ocean.",
3570 preq->source.value.region_tiles),
3571 preq->source.value.region_tiles);
3577 if (
preq->present) {
3579 _(
"Requires a continent or ocean size of at most %d."),
3580 preq->source.value.region_tiles);
3583 _(
"Requires a continent or ocean size of at least %d."),
3584 preq->source.value.region_tiles + 1);
3603 switch (
preq->source.value.tilerel) {
3605 switch (
preq->range) {
3608 if (
preq->present) {
3618 if (
preq->present) {
3630 if (
preq->present) {
3631 fc_strlcat(
buf,
_(
"Must be adjacent to the same terrain class."),
3653 switch (
preq->range) {
3656 if (
preq->present) {
3666 if (
preq->present) {
3668 "continent or ocean."),
3672 "continent or ocean."),
3678 if (
preq->present) {
3702 switch (
preq->range) {
3705 if (
preq->present) {
3707 "other continent or ocean."),
3711 "just this other continent or ocean."),
3717 if (
preq->present) {
3718 fc_strlcat(
buf,
_(
"May only be adjacent to this other continent "
3723 "other continent or ocean."),
3742 switch (
preq->range) {
3745 if (
preq->present) {
3747 "this continent or ocean."),
3751 "by this continent or ocean."),
3757 if (
preq->present) {
3759 "or island surrounded by this continent or "
3764 "lake or island surrounded by this continent "
3771 if (
preq->present) {
3773 "surrounded by this continent or ocean."),
3777 "island surrounded by this continent or "
3809 log_error(
"%s requirement %s in range %d is not supported in reqtext.c.",
3810 preq->present ?
"Present" :
"Absent",