From 72b0061ba88a09f0758adc53f8bad96acbffb073 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 6 Aug 2022 03:51:24 +0300 Subject: [PATCH 28/28] Change occurrences of "FirePower" to "Firepower" See osdn #43081 Signed-off-by: Marko Lindqvist --- client/gui-gtk-3.0/helpdlg.c | 10 +++++----- client/gui-gtk-3.22/helpdlg.c | 10 +++++----- client/gui-gtk-4.0/helpdlg.c | 10 +++++----- client/gui-qt/citydlg.cpp | 2 +- client/gui-sdl2/helpdlg.c | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/client/gui-gtk-3.0/helpdlg.c b/client/gui-gtk-3.0/helpdlg.c index c558ecae64..57caf62f51 100644 --- a/client/gui-gtk-3.0/helpdlg.c +++ b/client/gui-gtk-3.0/helpdlg.c @@ -103,11 +103,11 @@ static const char *help_wlabel_name[6] = static const char *help_ulabel_name[5][5] = { - { N_("Cost:"), NULL, NULL, N_("Attack:"), NULL }, - { N_("Defense:"), NULL, NULL, N_("Move:") , NULL }, - { N_("FirePower:"), NULL, NULL, N_("Hitpoints:"), NULL }, - { N_("Basic Upkeep:"), NULL, NULL, N_("Vision:"), NULL }, - { N_("Requirement:"), NULL, NULL, N_("Obsolete by:"), NULL } + { N_("Cost:"), NULL, NULL, N_("Attack:"), NULL }, + { N_("Defense:"), NULL, NULL, N_("Move:"), NULL }, + { N_("Firepower:"), NULL, NULL, N_("Hitpoints:"), NULL }, + { N_("Basic Upkeep:"), NULL, NULL, N_("Vision:"), NULL }, + { N_("Requirement:"), NULL, NULL, N_("Obsolete by:"), NULL } }; static const char *help_tlabel_name[2][5] = diff --git a/client/gui-gtk-3.22/helpdlg.c b/client/gui-gtk-3.22/helpdlg.c index fd367bcba9..67713136ef 100644 --- a/client/gui-gtk-3.22/helpdlg.c +++ b/client/gui-gtk-3.22/helpdlg.c @@ -103,11 +103,11 @@ static const char *help_wlabel_name[6] = static const char *help_ulabel_name[5][5] = { - { N_("Cost:"), NULL, NULL, N_("Attack:"), NULL }, - { N_("Defense:"), NULL, NULL, N_("Move:") , NULL }, - { N_("FirePower:"), NULL, NULL, N_("Hitpoints:"), NULL }, - { N_("Basic Upkeep:"), NULL, NULL, N_("Vision:"), NULL }, - { N_("Requirement:"), NULL, NULL, N_("Obsolete by:"), NULL } + { N_("Cost:"), NULL, NULL, N_("Attack:"), NULL }, + { N_("Defense:"), NULL, NULL, N_("Move:"), NULL }, + { N_("Firepower:"), NULL, NULL, N_("Hitpoints:"), NULL }, + { N_("Basic Upkeep:"), NULL, NULL, N_("Vision:"), NULL }, + { N_("Requirement:"), NULL, NULL, N_("Obsolete by:"), NULL } }; static const char *help_tlabel_name[2][5] = diff --git a/client/gui-gtk-4.0/helpdlg.c b/client/gui-gtk-4.0/helpdlg.c index 944c4b9f88..adf2c09842 100644 --- a/client/gui-gtk-4.0/helpdlg.c +++ b/client/gui-gtk-4.0/helpdlg.c @@ -104,11 +104,11 @@ static const char *help_wlabel_name[6] = static const char *help_ulabel_name[5][5] = { - { N_("Cost:"), NULL, NULL, N_("Attack:"), NULL }, - { N_("Defense:"), NULL, NULL, N_("Move:") , NULL }, - { N_("FirePower:"), NULL, NULL, N_("Hitpoints:"), NULL }, - { N_("Basic Upkeep:"), NULL, NULL, N_("Vision:"), NULL }, - { N_("Requirement:"), NULL, NULL, N_("Obsolete by:"), NULL } + { N_("Cost:"), NULL, NULL, N_("Attack:"), NULL }, + { N_("Defense:"), NULL, NULL, N_("Move:"), NULL }, + { N_("Firepower:"), NULL, NULL, N_("Hitpoints:"), NULL }, + { N_("Basic Upkeep:"), NULL, NULL, N_("Vision:"), NULL }, + { N_("Requirement:"), NULL, NULL, N_("Obsolete by:"), NULL } }; static const char *help_tlabel_name[2][5] = diff --git a/client/gui-qt/citydlg.cpp b/client/gui-qt/citydlg.cpp index 918cc2b1cd..5ffa0c730c 100644 --- a/client/gui-qt/citydlg.cpp +++ b/client/gui-qt/citydlg.cpp @@ -3943,7 +3943,7 @@ QString get_tooltip_unit(const struct unit_type *utype, bool ext) + QString("") + bold(QString(_("Hitpoints:"))) + " " + QString::number(utype->hp).toHtmlEscaped() - + QString("") + bold(QString(_("FirePower:"))) + " " + + QString("") + bold(QString(_("Firepower:"))) + " " + QString::number(utype->firepower).toHtmlEscaped() + QString("") + bold(QString(_("Vision:"))) + " " + QString::number((int) sqrt((double) utype->vision_radius_sq)) diff --git a/client/gui-sdl2/helpdlg.c b/client/gui-sdl2/helpdlg.c index 6f694e6d6d..2e5a6d4cc4 100644 --- a/client/gui-sdl2/helpdlg.c +++ b/client/gui-sdl2/helpdlg.c @@ -833,7 +833,7 @@ void popup_unit_info(Unit_type_id type_id) _("Defense:"), punittype->defense_strength, _("Move:"), move_points_text(punittype->move_rate, TRUE), _("Vision:"), punittype->vision_radius_sq, - _("FirePower:"), punittype->firepower, + _("Firepower:"), punittype->firepower, _("Hitpoints:"), punittype->hp); unit_info_label = create_iconlabel_from_chars(NULL, pwindow->dst, buf, -- 2.35.1