From bad110bd746def2e444ae2580bc186e4a2acb236 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 12 Oct 2022 20:26:52 +0300 Subject: [PATCH 37/37] 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 70bb7543d4..f7c67130c1 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 a7c897e966..a670e65578 100644 --- a/server/unittools.c +++ b/server/unittools.c @@ -2956,7 +2956,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