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 "
254 switch (
preq->range) {
270 "team-mates has achieved \"%s\"."),
274 "has achieved \"%s\"."),
282 "has achieved \"%s\"."),
294 "has achieved \"%s\"."),
316 switch (
preq->range) {
335 switch (
preq->range) {
341 preq->source.value.impr_genus));
345 preq->source.value.impr_genus));
355 switch (
preq->range) {
361 preq->source.value.impr_flag));
365 preq->source.value.impr_flag));
375 switch (
preq->range) {
381 preq->source.value.plr_flag));
385 preq->source.value.plr_flag));
395 switch (
preq->range) {
414 switch (
preq->range) {
418 if (
preq->survives) {
424 _(
"Requires that %s was built at some point, "
425 "and that it has not yet been rendered "
428 (
preq->source.value.building));
432 _(
"Requires that %s was built at some point."),
434 (
preq->source.value.building));
441 _(
"Prevented if %s has ever been built, "
442 "unless it would be obsolete."),
444 (
preq->source.value.building));
448 _(
"Prevented if %s has ever been built."),
450 (
preq->source.value.building));
460 _(
"Requires %s to be owned by any player "
461 "and not yet obsolete."),
463 (
preq->source.value.building));
467 _(
"Requires %s to be owned by any player."),
469 (
preq->source.value.building));
476 _(
"Prevented if %s is currently owned by "
477 "any player, unless it is obsolete."),
479 (
preq->source.value.building));
483 _(
"Prevented if %s is currently owned by "
486 (
preq->source.value.building));
497 if (
preq->survives) {
503 _(
"Requires someone who is currently allied to "
504 "you to have built %s at some point, and for "
505 "it not to have been rendered obsolete."),
507 (
preq->source.value.building));
511 _(
"Requires someone who is currently allied to "
512 "you to have built %s at some point."),
514 (
preq->source.value.building));
521 _(
"Prevented if someone currently allied to you "
522 "has ever built %s, unless it would be "
525 (
preq->source.value.building));
529 _(
"Prevented if someone currently allied to you "
530 "has ever built %s."),
532 (
preq->source.value.building));
542 _(
"Requires someone allied to you to own %s, "
543 "and for it not to have been rendered "
546 (
preq->source.value.building));
550 _(
"Requires someone allied to you to own %s."),
552 (
preq->source.value.building));
559 _(
"Prevented if someone allied to you owns %s, "
560 "unless it is obsolete."),
562 (
preq->source.value.building));
566 _(
"Prevented if someone allied to you owns %s."),
568 (
preq->source.value.building));
579 if (
preq->survives) {
585 _(
"Requires someone on your team to have "
586 "built %s at some point, and for it not "
587 "to have been rendered obsolete."),
589 (
preq->source.value.building));
593 _(
"Requires someone on your team to have "
594 "built %s at some point."),
596 (
preq->source.value.building));
603 _(
"Prevented if someone on your team has ever "
604 "built %s, unless it would be obsolete."),
606 (
preq->source.value.building));
610 _(
"Prevented if someone on your team has ever "
613 (
preq->source.value.building));
623 _(
"Requires someone on your team to own %s, "
624 "and for it not to have been rendered "
627 (
preq->source.value.building));
631 _(
"Requires someone on your team to own %s."),
633 (
preq->source.value.building));
640 _(
"Prevented if someone on your team owns %s, "
641 "unless it is obsolete."),
643 (
preq->source.value.building));
647 _(
"Prevented if someone on your team owns %s."),
649 (
preq->source.value.building));
660 if (
preq->survives) {
666 _(
"Requires you to have built %s at some point, "
667 "and for it not to have been rendered "
670 (
preq->source.value.building));
674 _(
"Requires you to have built %s at some point."),
676 (
preq->source.value.building));
683 _(
"Prevented if you have ever built %s, "
684 "unless it would be obsolete."),
686 (
preq->source.value.building));
690 _(
"Prevented if you have ever built %s."),
692 (
preq->source.value.building));
702 _(
"Requires you to own %s, which must not "
705 (
preq->source.value.building));
709 _(
"Requires you to own %s."),
711 (
preq->source.value.building));
718 _(
"Prevented if you own %s, unless it is "
721 (
preq->source.value.building));
725 _(
"Prevented if you own %s."),
727 (
preq->source.value.building));
743 _(
"Requires %s in one of your cities on the same "
744 "continent, and not yet obsolete."),
746 (
preq->source.value.building));
750 _(
"Requires %s in one of your cities on the same "
753 (
preq->source.value.building));
760 _(
"Prevented if %s is in one of your cities on the "
761 "same continent, unless it is obsolete."),
763 (
preq->source.value.building));
767 _(
"Prevented if %s is in one of your cities on the "
770 (
preq->source.value.building));
785 _(
"Requires %s in the city or a trade partner "
786 "(and not yet obsolete)."),
788 (
preq->source.value.building));
792 _(
"Requires %s in the city or a trade partner."),
794 (
preq->source.value.building));
802 _(
"Prevented by %s in the city or a trade partner "
803 "(unless it is obsolete)."),
805 (
preq->source.value.building));
809 _(
"Prevented by %s in the city or a trade partner."),
811 (
preq->source.value.building));
823 _(
"Requires %s in the city (and not yet obsolete)."),
825 (
preq->source.value.building));
829 _(
"Requires %s in the city."),
831 (
preq->source.value.building));
839 _(
"Prevented by %s in the city (unless it is "
842 (
preq->source.value.building));
846 _(
"Prevented by %s in the city."),
848 (
preq->source.value.building));
856 _(
"Only applies to \"%s\" buildings."),
858 (
preq->source.value.building));
861 _(
"Does not apply to \"%s\" buildings."),
863 (
preq->source.value.building));
870 _(
"Requires \"%s\" building in a city on the tile."),
872 (
preq->source.value.building));
875 _(
"Prevented by \"%s\" building in a city on the tile."),
877 (
preq->source.value.building));
889 switch (
preq->range) {
894 _(
"Only applies to \"%s\" extras."),
898 _(
"Does not apply to \"%s\" extras."),
906 Q_(
"?extra:Requires %s on the tile."),
910 Q_(
"?extra:Prevented by %s on the tile."),
918 Q_(
"?extra:Requires %s on the tile or a cardinally "
923 Q_(
"?extra:Prevented by %s on the tile or any cardinally "
932 Q_(
"?extra:Requires %s on the tile or an adjacent "
937 Q_(
"?extra:Prevented by %s on the tile or any adjacent "
946 Q_(
"?extra:Requires %s on a tile within the city "
951 Q_(
"?extra:Prevented by %s on any tile within the city "
960 Q_(
"?extra:Requires %s on a tile within the city "
961 "radius, or the city radius of a trade partner."),
965 Q_(
"?extra:Prevented by %s on any tile within the city "
966 "radius or the city radius of a trade partner."),
982 switch (
preq->range) {
1010 switch (
preq->range) {
1013 if (
preq->present) {
1023 if (
preq->present) {
1025 Q_(
"?terrain:Requires %s on the tile or a cardinally "
1030 Q_(
"?terrain:Prevented by %s on the tile or any "
1031 "cardinally adjacent tile."),
1037 if (
preq->present) {
1039 Q_(
"?terrain:Requires %s on the tile or an adjacent "
1044 Q_(
"?terrain:Prevented by %s on the tile or any "
1051 if (
preq->present) {
1053 Q_(
"?terrain:Requires %s on a tile within the city "
1058 Q_(
"?terrain:Prevented by %s on any tile within the city "
1065 if (
preq->present) {
1067 Q_(
"?terrain:Requires %s on a tile within the city "
1068 "radius, or the city radius of a trade partner."),
1072 Q_(
"?terrain:Prevented by %s on any tile within the city "
1073 "radius or the city radius of a trade partner."),
1090 switch (
preq->range) {
1093 if (
preq->present) {
1096 _(
"Requires that you are playing as the %s."),
1101 _(
"Requires that you are not playing as the %s."),
1107 if (
preq->present) {
1110 _(
"Requires that you are on the same team as "
1116 _(
"Requires that you are not on the same team as "
1123 if (
preq->present) {
1126 _(
"Requires that you are allied with the %s."),
1131 _(
"Requires that you are not allied with the %s."),
1137 if (
preq->survives) {
1138 if (
preq->present) {
1141 _(
"Requires the %s to have been in the game."),
1146 _(
"Requires the %s never to have been in the "
1151 if (
preq->present) {
1154 _(
"Requires the %s in the game."),
1159 _(
"Requires that the %s are not in the game."),
1178 switch (
preq->range) {
1181 if (
preq->present) {
1184 _(
"Requires that you are playing %s nation."),
1189 _(
"Prevented if you are playing %s nation."),
1195 if (
preq->present) {
1198 _(
"Requires %s nation on your team."),
1203 _(
"Prevented by %s nation on your team."),
1209 if (
preq->present) {
1212 _(
"Requires %s nation in alliance with you."),
1217 _(
"Prevented if %s nation is in alliance with you."),
1223 if (
preq->present) {
1226 _(
"Requires %s nation in the game."),
1231 _(
"Prevented by %s nation in the game."),
1253 if (
preq->present) {
1257 _(
"Requires that you are playing %s style nation."),
1263 _(
"Requires that you are not playing %s style nation."),
1269 switch (
preq->range) {
1272 if (
preq->present) {
1275 _(
"Requires at least one %s citizen in the city or a "
1281 _(
"Requires that there are no %s citizens in "
1282 "the city or any trade partners."),
1288 if (
preq->present) {
1291 _(
"Requires at least one %s citizen in the city."),
1296 _(
"Requires that there are no %s citizens in "
1317 switch (
preq->range) {
1320 if (
preq->present) {
1322 _(
"Requires city to be founded by %s."),
1326 _(
"Requires that city was not originally owned by %s."),
1347 switch (
preq->range) {
1350 if (
preq->present) {
1356 _(
"Requires that you have the relationship '%s' with at "
1357 "least one other living player."),
1361 _(
"Requires that you do not have the relationship '%s' "
1362 "with any living player."),
1368 if (
preq->present) {
1370 _(
"Requires that somebody on your team has the "
1371 "relationship '%s' with at least one other living "
1376 _(
"Requires that nobody on your team has the "
1377 "relationship '%s' with any living player."),
1383 if (
preq->present) {
1385 _(
"Requires that somebody in your alliance has the "
1386 "relationship '%s' with at least one other living "
1391 _(
"Requires that nobody in your alliance has the "
1392 "relationship '%s' with any living player."),
1398 if (
preq->present) {
1400 _(
"Requires the relationship '%s' between two living "
1405 _(
"Requires that no two living players have the "
1406 "relationship '%s'."),
1412 if (
preq->present) {
1414 _(
"Requires that you have the relationship '%s' with the "
1419 _(
"Requires that you do not have the relationship '%s' "
1420 "with the other player."),
1437 switch (
preq->range) {
1440 if (
preq->present) {
1446 _(
"Requires that the tile owner has the relationship"
1447 " '%s' with at least one other living player."),
1451 _(
"Requires that the tile owner does not have the"
1452 " relationship '%s' with any living player."),
1458 if (
preq->present) {
1460 _(
"Requires that somebody on the tile owner's team"
1461 " has the relationship '%s' with at least one other"
1466 _(
"Requires that nobody on the tile owner's team has"
1467 " the relationship '%s' with any living player."),
1473 if (
preq->present) {
1475 _(
"Requires that somebody in the tile owner's alliance"
1476 " has the relationship '%s' with at least one other "
1481 _(
"Requires that nobody in the tile owner's alliance "
1482 "has the relationship '%s' with any living player."),
1488 if (
preq->present) {
1490 _(
"Requires that you have the relationship '%s' with"
1491 " the tile owner."),
1495 _(
"Requires that you do not have the relationship '%s'"
1496 " with the tile owner."),
1514 switch (
preq->range) {
1517 if (
preq->present) {
1519 _(
"Requires that the tile owner has the relationship"
1520 " '%s' with the other player."),
1524 _(
"Requires that the tile owner does not have the"
1525 " relationship '%s' with the other player."),
1546 switch (
preq->range) {
1549 if (
preq->present) {
1555 _(
"Requires that the tile has at least one unit whose "
1556 "owner has the relationship "
1557 "'%s' with at least one other living player."),
1561 _(
"Requires that no unit at the tile is owned by a player "
1562 "who has the relationship '%s' with any living player."),
1568 if (
preq->present) {
1570 _(
"Requires that the tile has at least one unit whose "
1571 "owner is on a team where a member "
1572 "has the relationship '%s' with at least one other "
1577 _(
"Requires that no unit at the tile is owned by a player "
1578 "who is on a team where a member "
1579 "has the relationship '%s' with at least one other "
1586 if (
preq->present) {
1588 _(
"Requires that the tile has at least one unit whose "
1589 "owner is allied to someone that "
1590 "has the relationship '%s' with at least one other "
1595 _(
"Requires that no unit at the tile is owned by a player "
1596 "allied to someone that "
1597 "has the relationship '%s' with any living player."),
1603 if (
preq->present) {
1605 _(
"Requires that you have the relationship '%s' with "
1606 "the owner of at least one unit at the tile."),
1610 _(
"Requires that you do not have the relationship '%s' "
1611 "with the owner of any unit at the tile."),
1629 switch (
preq->range) {
1632 if (
preq->present) {
1634 _(
"Requires that the tile has at least one unit whose "
1635 "owner has the relationship '%s' with the other player."),
1639 _(
"Requires that no unit at the tile is owned by a player "
1640 "who has the relationship '%s' with the other player."),
1661 switch (
preq->range) {
1664 if (
preq->present) {
1691 switch (
preq->range) {
1701 if (
preq->present) {
1732 switch (
preq->range) {
1735 if (
preq->present) {
1775 switch (
preq->range) {
1778 if (
preq->present) {
1813 switch (
preq->range) {
1815 switch (
preq->source.value.unit_state) {
1818 if (
preq->present) {
1820 _(
"Requires that the unit is transported."));
1823 _(
"Requires that the unit isn't transported."));
1828 if (
preq->present) {
1830 _(
"Requires that the unit is on livable tile."));
1833 _(
"Requires that the unit isn't on livable tile."));
1838 if (
preq->present) {
1840 _(
"Requires that the unit does transport one or "
1841 "more cargo units."));
1844 _(
"Requires that the unit doesn't transport "
1845 "any cargo units."));
1850 if (
preq->present) {
1852 _(
"Requires that the unit has a home city."));
1855 _(
"Requires that the unit is homeless."));
1860 if (
preq->present) {
1862 _(
"Requires that the unit is on native tile."));
1865 _(
"Requires that the unit isn't on native tile."));
1870 if (
preq->present) {
1872 _(
"Requires that the unit is in a native extra."));
1875 _(
"Requires that the unit isn't in a native extra."));
1880 if (
preq->present) {
1882 _(
"Requires that the unit has moved this turn."));
1885 _(
"Requires that the unit hasn't moved this turn."));
1890 "Invalid unit state property.");
1912 switch (
preq->range) {
1915 if (
preq->present) {
1917 _(
"Requires that the unit is performing activity %s."),
1921 _(
"Requires that the unit is not performing activity %s."),
1944 switch (
preq->range) {
1947 if (
preq->present) {
1951 _(
"Requires that the unit has at least %s MP left."),
1957 _(
"Requires that the unit has less than %s MP left."),
1985 if (
preq->present) {
1987 PL_(
"Requires a unit with at least %d veteran level.",
1988 "Requires a unit with at least %d veteran levels.",
1989 preq->source.value.minveteran),
1990 preq->source.value.minveteran);
1993 PL_(
"Requires a unit with fewer than %d veteran level.",
1994 "Requires a unit with fewer than %d veteran levels.",
1995 preq->source.value.minveteran),
1996 preq->source.value.minveteran);
2006 if (
preq->present) {
2008 PL_(
"Requires a unit with at least %d hit point left.",
2009 "Requires a unit with at least %d hit points left.",
2010 preq->source.value.min_hit_points),
2011 preq->source.value.min_hit_points);
2014 PL_(
"Requires a unit with fewer than %d hit point "
2016 "Requires a unit with fewer than %d hit points "
2018 preq->source.value.min_hit_points),
2019 preq->source.value.min_hit_points);
2028 if (
preq->present) {
2044 if (
preq->present) {
2056 switch (
preq->range) {
2059 if (
preq->present) {
2061 PL_(
"Requires a minimum city size of %d for this "
2062 "city or a trade partner.",
2063 "Requires a minimum city size of %d for this "
2064 "city or a trade partner.",
2065 preq->source.value.minsize),
2066 preq->source.value.minsize);
2069 PL_(
"Requires the city size to be less than %d "
2070 "for this city and all trade partners.",
2071 "Requires the city size to be less than %d "
2072 "for this city and all trade partners.",
2073 preq->source.value.minsize),
2074 preq->source.value.minsize);
2079 if (
preq->present) {
2081 PL_(
"Requires a minimum city size of %d.",
2082 "Requires a minimum city size of %d.",
2083 preq->source.value.minsize),
2084 preq->source.value.minsize);
2087 PL_(
"Requires the city size to be less than %d.",
2088 "Requires the city size to be less than %d.",
2089 preq->source.value.minsize),
2090 preq->source.value.minsize);
2109 switch (
preq->range) {
2112 if (
preq->present) {
2114 PL_(
"Requires a minimum culture of %d in the city.",
2115 "Requires a minimum culture of %d in the city.",
2116 preq->source.value.minculture),
2117 preq->source.value.minculture);
2120 PL_(
"Requires the culture in the city to be less "
2122 "Requires the culture in the city to be less "
2124 preq->source.value.minculture),
2125 preq->source.value.minculture);
2130 if (
preq->present) {
2132 PL_(
"Requires a minimum culture of %d in this city or "
2134 "Requires a minimum culture of %d in this city or "
2136 preq->source.value.minculture),
2137 preq->source.value.minculture);
2140 PL_(
"Requires the culture in this city and all trade "
2141 "partners to be less than %d.",
2142 "Requires the culture in this city and all trade "
2143 "partners to be less than %d.",
2144 preq->source.value.minculture),
2145 preq->source.value.minculture);
2150 if (
preq->present) {
2152 PL_(
"Requires your nation to have culture "
2154 "Requires your nation to have culture "
2156 preq->source.value.minculture),
2157 preq->source.value.minculture);
2160 PL_(
"Prevented if your nation has culture of "
2162 "Prevented if your nation has culture of "
2164 preq->source.value.minculture),
2165 preq->source.value.minculture);
2170 if (
preq->present) {
2172 PL_(
"Requires someone on your team to have culture of "
2174 "Requires someone on your team to have culture of "
2176 preq->source.value.minculture),
2177 preq->source.value.minculture);
2180 PL_(
"Prevented if anyone on your team has culture of "
2182 "Prevented if anyone on your team has culture of "
2184 preq->source.value.minculture),
2185 preq->source.value.minculture);
2190 if (
preq->present) {
2192 PL_(
"Requires someone in your current alliance to "
2193 "have culture of at least %d.",
2194 "Requires someone in your current alliance to "
2195 "have culture of at least %d.",
2196 preq->source.value.minculture),
2197 preq->source.value.minculture);
2200 PL_(
"Prevented if anyone in your current alliance has "
2201 "culture of %d or more.",
2202 "Prevented if anyone in your current alliance has "
2203 "culture of %d or more.",
2204 preq->source.value.minculture),
2205 preq->source.value.minculture);
2210 if (
preq->present) {
2212 PL_(
"Requires that some player has culture of at "
2214 "Requires that some player has culture of at "
2216 preq->source.value.minculture),
2217 preq->source.value.minculture);
2220 PL_(
"Requires that no player has culture of %d "
2222 "Requires that no player has culture of %d "
2224 preq->source.value.minculture),
2225 preq->source.value.minculture);
2239 switch (
preq->range) {
2242 if (
preq->present) {
2244 _(
"At least %d%% of the citizens of the city "
2245 "must be foreign."),
2246 preq->source.value.minforeignpct);
2249 _(
"Less than %d%% of the citizens of the city "
2250 "must be foreign."),
2251 preq->source.value.minforeignpct);
2256 if (
preq->present) {
2258 _(
"At least %d%% of the citizens of the city "
2259 "or some trade partner must be foreign."),
2260 preq->source.value.minforeignpct);
2263 _(
"Less than %d%% of the citizens of the city "
2264 "and each trade partner must be foreign."),
2265 preq->source.value.minforeignpct);
2283 switch (
preq->range) {
2286 if (
preq->present) {
2288 PL_(
"At most %d unit may be present on the tile.",
2289 "At most %d units may be present on the tile.",
2290 preq->source.value.max_tile_units),
2291 preq->source.value.max_tile_units);
2294 PL_(
"There must be more than %d unit present on "
2296 "There must be more than %d units present on "
2298 preq->source.value.max_tile_units),
2299 preq->source.value.max_tile_units);
2304 if (
preq->present) {
2306 PL_(
"The tile or at least one cardinally adjacent tile "
2307 "must have %d unit or fewer.",
2308 "The tile or at least one cardinally adjacent tile "
2309 "must have %d units or fewer.",
2310 preq->source.value.max_tile_units),
2311 preq->source.value.max_tile_units);
2314 PL_(
"The tile and all cardinally adjacent tiles must "
2315 "have more than %d unit each.",
2316 "The tile and all cardinally adjacent tiles must "
2317 "have more than %d units each.",
2318 preq->source.value.max_tile_units),
2319 preq->source.value.max_tile_units);
2324 if (
preq->present) {
2326 PL_(
"The tile or at least one adjacent tile must have "
2327 "%d unit or fewer.",
2328 "The tile or at least one adjacent tile must have "
2329 "%d units or fewer.",
2330 preq->source.value.max_tile_units),
2331 preq->source.value.max_tile_units);
2334 PL_(
"The tile and all adjacent tiles must have more "
2335 "than %d unit each.",
2336 "The tile and all adjacent tiles must have more "
2337 "than %d units each.",
2338 preq->source.value.max_tile_units),
2339 preq->source.value.max_tile_units);
2361 if (
preq->present) {
2364 _(
"Applies to %s AI players."),
2369 _(
"Does not apply to %s AI players."),
2375 switch (
preq->range) {
2378 if (
preq->present) {
2381 Q_(
"?terrainclass:Requires %s terrain on the tile."),
2383 (
preq->source.value.terrainclass));
2387 Q_(
"?terrainclass:Prevented by %s terrain on the tile."),
2389 (
preq->source.value.terrainclass));
2394 if (
preq->present) {
2397 Q_(
"?terrainclass:Requires %s terrain on the tile or a "
2398 "cardinally adjacent tile."),
2400 (
preq->source.value.terrainclass));
2404 Q_(
"?terrainclass:Prevented by %s terrain on the tile or "
2405 "any cardinally adjacent tile."),
2407 (
preq->source.value.terrainclass));
2412 if (
preq->present) {
2415 Q_(
"?terrainclass:Requires %s terrain on the tile or an "
2418 (
preq->source.value.terrainclass));
2422 Q_(
"?terrainclass:Prevented by %s terrain on the tile or "
2423 "any adjacent tile."),
2425 (
preq->source.value.terrainclass));
2430 if (
preq->present) {
2433 Q_(
"?terrainclass:Requires %s terrain on a tile within "
2434 "the city radius."),
2436 (
preq->source.value.terrainclass));
2440 Q_(
"?terrainclass:Prevented by %s terrain on any tile "
2441 "within the city radius."),
2443 (
preq->source.value.terrainclass));
2448 if (
preq->present) {
2451 Q_(
"?terrainclass:Requires %s terrain on a tile within "
2452 "the city radius or the city radius of a trade "
2455 (
preq->source.value.terrainclass));
2459 Q_(
"?terrainclass:Prevented by %s terrain on any tile "
2460 "within the city radius or the city radius of a trade "
2463 (
preq->source.value.terrainclass));
2479 switch (
preq->range) {
2482 if (
preq->present) {
2485 _(
"Requires terrain with the \"%s\" flag on the tile."),
2490 _(
"Prevented by terrain with the \"%s\" flag on the "
2497 if (
preq->present) {
2500 _(
"Requires terrain with the \"%s\" flag on the "
2501 "tile or a cardinally adjacent tile."),
2506 _(
"Prevented by terrain with the \"%s\" flag on "
2507 "the tile or any cardinally adjacent tile."),
2513 if (
preq->present) {
2516 _(
"Requires terrain with the \"%s\" flag on the "
2517 "tile or an adjacent tile."),
2522 _(
"Prevented by terrain with the \"%s\" flag on "
2523 "the tile or any adjacent tile."),
2529 if (
preq->present) {
2532 _(
"Requires terrain with the \"%s\" flag on a tile "
2533 "within the city radius."),
2538 _(
"Prevented by terrain with the \"%s\" flag on any tile "
2539 "within the city radius."),
2545 if (
preq->present) {
2548 _(
"Requires terrain with the \"%s\" flag on a tile "
2549 "within the city radius or the city radius of "
2550 "a trade partner."),
2555 _(
"Prevented by terrain with the \"%s\" flag on any tile "
2556 "within the city radius or the city radius of "
2557 "a trade partner."),
2574 switch (
preq->range) {
2577 if (
preq->present) {
2580 _(
"Only applies to roads with the \"%s\" flag."),
2582 (
preq->source.value.roadflag));
2586 _(
"Does not apply to roads with the \"%s\" flag."),
2588 (
preq->source.value.roadflag));
2593 if (
preq->present) {
2596 _(
"Requires a road with the \"%s\" flag on the tile."),
2601 _(
"Prevented by a road with the \"%s\" flag on the "
2608 if (
preq->present) {
2611 _(
"Requires a road with the \"%s\" flag on the "
2612 "tile or a cardinally adjacent tile."),
2617 _(
"Prevented by a road with the \"%s\" flag on "
2618 "the tile or any cardinally adjacent tile."),
2624 if (
preq->present) {
2627 _(
"Requires a road with the \"%s\" flag on the "
2628 "tile or an adjacent tile."),
2633 _(
"Prevented by a road with the \"%s\" flag on "
2634 "the tile or any adjacent tile."),
2640 if (
preq->present) {
2643 _(
"Requires a road with the \"%s\" flag on a tile "
2644 "within the city radius."),
2649 _(
"Prevented by a road with the \"%s\" flag on any tile "
2650 "within the city radius."),
2656 if (
preq->present) {
2659 _(
"Requires a road with the \"%s\" flag on a tile "
2660 "within the city radius or the city radius of a "
2666 _(
"Prevented by a road with the \"%s\" flag on any tile "
2667 "within the city radius or the city radius of a "
2684 switch (
preq->range) {
2687 if (
preq->present) {
2690 _(
"Only applies to extras with the \"%s\" flag."),
2692 (
preq->source.value.extraflag));
2696 _(
"Does not apply to extras with the \"%s\" flag."),
2698 (
preq->source.value.extraflag));
2703 if (
preq->present) {
2706 _(
"Requires an extra with the \"%s\" flag on the tile."),
2711 _(
"Prevented by an extra with the \"%s\" flag on the "
2718 if (
preq->present) {
2721 _(
"Requires an extra with the \"%s\" flag on the "
2722 "tile or a cardinally adjacent tile."),
2727 _(
"Prevented by an extra with the \"%s\" flag on "
2728 "the tile or any cardinally adjacent tile."),
2734 if (
preq->present) {
2737 _(
"Requires an extra with the \"%s\" flag on the "
2738 "tile or an adjacent tile."),
2743 _(
"Prevented by an extra with the \"%s\" flag on "
2744 "the tile or any adjacent tile."),
2750 if (
preq->present) {
2753 _(
"Requires an extra with the \"%s\" flag on a tile "
2754 "within the city radius."),
2759 _(
"Prevented by an extra with the \"%s\" flag on any tile "
2760 "within the city radius."),
2766 if (
preq->present) {
2769 _(
"Requires an extra with the \"%s\" flag on a tile "
2770 "within the city radius or the city radius of a "
2776 _(
"Prevented by an extra with the \"%s\" flag on any tile "
2777 "within the city radius or the city radius of a "
2798 if (
preq->present) {
2800 _(
"Requires the game to have reached the year %s."),
2804 _(
"Requires that the game has not yet reached the "
2815 if (
preq->present) {
2819 _(
"Requires the game to have reached %s."),
2825 _(
"Requires that the game has not yet reached %s."),
2835 if (
preq->present) {
2838 _(
"Requires %s map."),
2843 _(
"Prevented on %s map."),
2853 if (
preq->present) {
2856 _(
"Requires %s map."),
2861 _(
"Prevented on %s map."),
2876 _(
"Requires that the server setting %s."),
2883 if (
preq->present) {
2885 _(
"Requires age of %d turns."),
2886 preq->source.value.age);
2889 _(
"Prevented if age is over %d turns."),
2890 preq->source.value.age);
2896 if (
preq->present) {
2898 _(
"Requires form age of %d turns."),
2899 preq->source.value.form_age);
2902 _(
"Prevented if form age is over %d turns."),
2903 preq->source.value.form_age);
2908 switch (
preq->range) {
2911 if (
preq->present) {
2913 _(
"Requires %d techs to be known in the world."),
2914 preq->source.value.min_techs);
2917 _(
"Prevented when %d techs are known in the world."),
2918 preq->source.value.min_techs);
2923 if (
preq->present) {
2925 _(
"Requires player to know %d techs."),
2926 preq->source.value.min_techs);
2929 _(
"Prevented when player knows %d techs."),
2930 preq->source.value.min_techs);
2949 switch (
preq->range) {
2952 if (
preq->present) {
2954 _(
"Requires player to have at least %d cities."),
2955 preq->source.value.min_cities);
2958 _(
"Prevented when player has at least %d cities."),
2959 preq->source.value.min_cities);
2979 switch (
preq->range) {
2982 if (
preq->present) {
2984 _(
"Requires terrain on which alteration %s is "
2989 _(
"Prevented by terrain on which alteration %s "
3016 switch (
preq->source.value.citytile) {
3043 "terrain class next to the city");
3059 switch (
preq->range) {
3062 if (
preq->present) {
3074 if (
preq->present) {
3077 "cardinally adjacent tiles."),
3082 "cardinally adjacent tiles."),
3088 if (
preq->present) {
3118 switch (
preq->source.value.citystatus) {
3139 switch (
preq->range) {
3142 if (
preq->present) {
3154 if (
preq->present) {
3181 switch (
preq->range) {
3184 if (
preq->present) {
3186 _(
"Some part of the world must be at latitude %d or "
3188 preq->source.value.latitude);
3191 _(
"The entire world must be at latitude %d or "
3193 preq->source.value.latitude - 1);
3198 if (
preq->present) {
3200 _(
"Tile must be at latitude %d or further north."),
3201 preq->source.value.latitude);
3204 _(
"Tile must be at latitude %d or further south."),
3205 preq->source.value.latitude - 1);
3210 if (
preq->present) {
3212 _(
"A cardinally adjacent tile must be at latitude "
3213 "%d or further north."),
3214 preq->source.value.latitude);
3217 _(
"All cardinally adjacent tiles must be at latitude "
3218 "%d or further south."),
3219 preq->source.value.latitude - 1);
3224 if (
preq->present) {
3226 _(
"An adjacent tile must be at latitude %d or "
3228 preq->source.value.latitude);
3231 _(
"All adjacent tiles must be at latitude %d or "
3233 preq->source.value.latitude - 1);
3250 switch (
preq->range) {
3253 if (
preq->present) {
3255 _(
"Some part of the world must be at latitude %d or "
3257 preq->source.value.latitude);
3260 _(
"The entire world must be at latitude %d or "
3262 preq->source.value.latitude + 1);
3267 if (
preq->present) {
3269 _(
"Tile must be at latitude %d or further south."),
3270 preq->source.value.latitude);
3273 _(
"Tile must be at latitude %d or further north."),
3274 preq->source.value.latitude + 1);
3279 if (
preq->present) {
3281 _(
"A cardinally adjacent tile must be at latitude "
3282 "%d or further south."),
3283 preq->source.value.latitude);
3286 _(
"All cardinally adjacent tiles must be at latitude "
3287 "%d or further north."),
3288 preq->source.value.latitude + 1);
3293 if (
preq->present) {
3295 _(
"An adjacent tile must be at latitude %d or "
3297 preq->source.value.latitude);
3300 _(
"All adjacent tiles must be at latitude %d or "
3302 preq->source.value.latitude + 1);
3319 switch (
preq->range) {
3323 switch (
preq->source.value.distance_sq)
3326 if (
preq->present) {
3333 if (
preq->present) {
3341 if (
preq->present) {
3349 if (
preq->present) {
3351 _(
"The squared distance between the tiles "
3352 "must be at most %d."),
3353 preq->source.value.distance_sq);
3356 _(
"The squared distance between the tiles "
3357 "must be at least %d."),
3358 preq->source.value.distance_sq + 1);
3380 switch (
preq->range) {
3385 if (
preq->present) {
3386 if (
preq->source.value.region_tiles == 1) {
3389 _(
"No other cardinally adjacent tile may be part of "
3390 "the same continent or ocean."),
3394 PL_(
"No more than %d other cardinally adjacent tile "
3395 "may be part of the same continent or ocean.",
3396 "No more than %d other cardinally adjacent tiles "
3397 "may be part of the same continent or ocean.",
3398 preq->source.value.region_tiles - 1),
3399 preq->source.value.region_tiles - 1);
3403 PL_(
"Requires at least %d other cardinally adjacent "
3404 "tile of the same continent or ocean.",
3405 "Requires at least %d other cardinally adjacent "
3406 "tiles of the same continent or ocean.",
3407 preq->source.value.region_tiles),
3408 preq->source.value.region_tiles);
3416 if (
preq->present) {
3417 if (
preq->source.value.region_tiles == 1) {
3420 _(
"No other adjacent tile may be part of the same "
3421 "continent or ocean."),
3425 PL_(
"No more than %d other adjacent tile may be "
3426 "part of the same continent or ocean.",
3427 "No more than %d other adjacent tiles may be "
3428 "part of the same continent or ocean.",
3429 preq->source.value.region_tiles - 1),
3430 preq->source.value.region_tiles - 1);
3434 PL_(
"Requires at least %d other adjacent tile of the "
3435 "same continent or ocean.",
3436 "Requires at least %d other adjacent tiles of the "
3437 "same continent or ocean.",
3438 preq->source.value.region_tiles),
3439 preq->source.value.region_tiles);
3445 if (
preq->present) {
3447 _(
"Requires a continent or ocean size of at most %d."),
3448 preq->source.value.region_tiles);
3451 _(
"Requires a continent or ocean size of at least %d."),
3452 preq->source.value.region_tiles + 1);
3471 switch (
preq->source.value.tilerel) {
3473 switch (
preq->range) {
3476 if (
preq->present) {
3486 if (
preq->present) {
3498 if (
preq->present) {
3499 fc_strlcat(
buf,
_(
"Must be adjacent to the same terrain class."),
3521 switch (
preq->range) {
3524 if (
preq->present) {
3534 if (
preq->present) {
3536 "continent or ocean."),
3540 "continent or ocean."),
3546 if (
preq->present) {
3570 switch (
preq->range) {
3573 if (
preq->present) {
3575 "other continent or ocean."),
3579 "just this other continent or ocean."),
3585 if (
preq->present) {
3586 fc_strlcat(
buf,
_(
"May only be adjacent to this other continent "
3591 "other continent or ocean."),
3610 switch (
preq->range) {
3613 if (
preq->present) {
3615 "this continent or ocean."),
3619 "by this continent or ocean."),
3625 if (
preq->present) {
3627 "or island surrounded by this continent or "
3632 "lake or island surrounded by this continent "
3639 if (
preq->present) {
3641 "surrounded by this continent or ocean."),
3645 "island surrounded by this continent or "
3677 log_error(
"%s requirement %s in range %d is not supported in reqtext.c.",
3678 preq->present ?
"Present" :
"Absent",