From 7f00243e0d1d08b8491a64fa82468d2f6067fe15 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Fri, 23 Aug 2024 10:57:03 -0500 Subject: [PATCH] reuse some strings --- addons/missileguidance/GPSDialog.hpp | 4 ++-- addons/missileguidance/stringtable.xml | 6 ------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/addons/missileguidance/GPSDialog.hpp b/addons/missileguidance/GPSDialog.hpp index f51a6461df..13ec0a1ef0 100644 --- a/addons/missileguidance/GPSDialog.hpp +++ b/addons/missileguidance/GPSDialog.hpp @@ -227,7 +227,7 @@ class GVAR(gpsAttackOptionsUI) { class CancelButton: RscButton { idc = -1; - text = CSTRING(GPS_ui_cancel); + text = ECSTRING(common,cancel); onButtonClick = QUOTE(closeDialog 0); x = "13.5 * GUI_GRID_W + GUI_GRID_CENTER_X"; y = "14.2 * GUI_GRID_H + GUI_GRID_CENTER_Y"; @@ -239,7 +239,7 @@ class GVAR(gpsAttackOptionsUI) { }; class ConfirmButton: CancelButton { idc = IDC_TIMER_CONFIRM; - text = CSTRING(GPS_ui_confirm); + text = ECSTRING(common,confirm); onButtonClick = QUOTE([] call FUNC(gps_confirm)); x = "27.5 * GUI_GRID_W + GUI_GRID_CENTER_X"; }; diff --git a/addons/missileguidance/stringtable.xml b/addons/missileguidance/stringtable.xml index 13bc5c549e..e7f323bcf7 100644 --- a/addons/missileguidance/stringtable.xml +++ b/addons/missileguidance/stringtable.xml @@ -229,12 +229,6 @@ Attack Heading - - Cancel - - - Confirm - PP