Feature #121 » 0020-action_ui_name_default-Support-compile-time-check-of.patch
common/actions.c | ||
---|---|---|
**************************************************************************/
|
||
const char *action_ui_name_default(int act)
|
||
{
|
||
switch (act) {
|
||
switch ((enum gen_action)act) {
|
||
case ACTION_SPY_POISON:
|
||
/* TRANS: _Poison City (3% chance of success). */
|
||
return N_("%sPoison City%s");
|
||
... | ... | |
case ACTION_USER_ACTION4:
|
||
/* TRANS: _User Action 4 (100% chance of success). */
|
||
return N_("%sUser Action 4%s");
|
||
case ACTION_COUNT:
|
||
fc_assert(act != ACTION_COUNT);
|
||
break;
|
||
}
|
||
return NULL;
|
- « Previous
- 1
- 2
- Next »