From 0306aa4df9c126265f69a3ff40984af94286b9b7 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 22 Oct 2022 19:55:57 +0300 Subject: [PATCH 49/49] Qualify "*" See osdn #45940 Signed-off-by: Marko Lindqvist --- client/citydlg_common.c | 8 ++++---- client/helpdata.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/client/citydlg_common.c b/client/citydlg_common.c index 72ffb29a82..73a7929e93 100644 --- a/client/citydlg_common.c +++ b/client/citydlg_common.c @@ -1154,11 +1154,11 @@ void get_city_dialog_airlift_value(const struct city *pcity, game.info.airlifting_style & AIRLIFTING_UNLIMITED_DEST /* TRANS: airlift unlimited take offs may be spent symbol * used above. */ - ? "" : _("*")); + ? "" : Q_("?landings:*")); } else { /* TRANS: airlift. Possible take offs text. Number is * airlift capacity. */ - fc_snprintf(src, sizeof(src), _("%4d"), pcity->airlift); + fc_snprintf(src, sizeof(src), Q_("?takeoffs:%4d"), pcity->airlift); } if ((game.info.airlifting_style & AIRLIFTING_UNLIMITED_DEST) @@ -1170,7 +1170,7 @@ void get_city_dialog_airlift_value(const struct city *pcity, fc_snprintf(dest, sizeof(dest), _(" ∞")); } else { /* TRANS: airlift. Possible landings text. */ - fc_snprintf(dest, sizeof(dest), _("%4d"), pcity->airlift); + fc_snprintf(dest, sizeof(dest), Q_("?landings:%4d"), pcity->airlift); } switch (unlimited) { @@ -1186,7 +1186,7 @@ void get_city_dialog_airlift_value(const struct city *pcity, break; default: /* TRANS: airlift take offs or landings, no unlimited */ - fc_snprintf(buf, bufsz, _("%s"), src); + fc_snprintf(buf, bufsz, Q_("?airlifts:%s"), src); break; } } diff --git a/client/helpdata.c b/client/helpdata.c index 4e82662b10..58258d421e 100644 --- a/client/helpdata.c +++ b/client/helpdata.c @@ -58,7 +58,7 @@ #include "helpdata.h" /* TRANS: Character appearing in the beginning of each helptext point */ -#define BULLET _("*") +#define BULLET Q_("?bullet:*") /* TRANS: bullet point with trailing space */ #define BULLET_SPACE Q_("?bullet:* ") -- 2.35.1