From 8d8c245cfddb252d254cff6af131a91091ccad90 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 12 Oct 2022 20:30:15 +0300 Subject: [PATCH 31/31] Turn "Trans:" comments to "TRANS:" So the tooling actually recognize them See osdn #45835 Signed-off-by: Marko Lindqvist --- client/gui-qt/ratesdlg.cpp | 2 +- server/unittools.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/gui-qt/ratesdlg.cpp b/client/gui-qt/ratesdlg.cpp index 17c13c51ea..6305e0c647 100644 --- a/client/gui-qt/ratesdlg.cpp +++ b/client/gui-qt/ratesdlg.cpp @@ -62,7 +62,7 @@ tax_rates_dialog::tax_rates_dialog(QWidget *parent) max = 100; } - /* Trans: Government - max rate (of taxes) x% */ + // TRANS: Government - max rate (of taxes) x% str = QString(_("%1 - max rate: %2%")). arg(government_name_for_player(client.conn.playing), QString::number(max)); diff --git a/server/unittools.c b/server/unittools.c index 5eea8d2cbc..5bd6b365cb 100644 --- a/server/unittools.c +++ b/server/unittools.c @@ -3016,7 +3016,7 @@ bool do_paradrop(struct unit *punit, struct tile *ptile, && !pplayers_allied(pplayer, plrtile->owner) && !action_has_result(paction, ACTRES_PARADROP_CONQUER)) { notify_player(pplayer, ptile, E_BAD_COMMAND, ftc_server, - /* Trans: Paratroopers ... Paradrop Unit */ + /* TRANS: Paratroopers ... Paradrop Unit */ _("%s cannot conquer a city with \"%s\"."), unit_name_translation(punit), action_name_translation(paction)); -- 2.35.1