reuse some strings

This commit is contained in:
PabstMirror 2024-08-23 10:57:03 -05:00
parent 58adcfb39e
commit 7f00243e0d
2 changed files with 2 additions and 8 deletions

View File

@ -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";
};

View File

@ -229,12 +229,6 @@
<Key ID="STR_ACE_MissileGuidance_GPS_ui_attack_heading">
<English>Attack Heading</English>
</Key>
<Key ID="STR_ACE_MissileGuidance_GPS_ui_cancel">
<English>Cancel</English>
</Key>
<Key ID="STR_ACE_MissileGuidance_GPS_ui_confirm">
<English>Confirm</English>
</Key>
<Key ID="STR_ACE_MissileGuidance_GPS_ui_pp_short">
<English>PP</English>
</Key>