Project

General

Profile

Feature #149 ยป 0038-Add-enabled-extras-to-help-allows-lists.patch

Marko Lindqvist, 01/08/2024 10:00 PM

View differences:

client/helpdata.c
utype_name_translation(putype), utstrs,
buf, bufsz, prefix);
} unit_type_iterate_end;
extra_type_iterate(pextra) {
static const char *const estrs[] = {
/* TRANS: First %s is an extra name. */
N_("?extra:Allows %s (with %s but no %s)."),
/* TRANS: First %s is an extra name. */
N_("?extra:Allows %s (with %s)."),
/* TRANS: First %s is an extra name. */
N_("?extra:Allows %s (absent %s)."),
/* TRANS: %s is an extra name. */
N_("?extra:Allows %s."),
/* TRANS: %s is an extra name. */
N_("?extra:Prevents %s.")
};
insert_allows_single(psource, &pextra->reqs,
extra_name_translation(pextra), estrs,
buf, bufsz, prefix);
} extra_type_iterate_end;
}
/************************************************************************//**
......
}
}
/* FIXME: bases -- but there is no good way to find out which bases a tech
* can enable currently, so we have to remain silent. */
if (game.info.tech_upkeep_style != TECH_UPKEEP_NONE) {
CATLSTR(buf, bufsz,
_("%s To preserve this technology for our nation some bulbs "
    (1-1/1)