diff --git a/addons/huntir/CfgMagazines.hpp b/addons/huntir/CfgMagazines.hpp index 921ffbe09a..176384c268 100644 --- a/addons/huntir/CfgMagazines.hpp +++ b/addons/huntir/CfgMagazines.hpp @@ -2,7 +2,7 @@ class CfgMagazines { class 1Rnd_HE_Grenade_shell; class ACE_HuntIR_M203: 1Rnd_HE_Grenade_shell { - displayName = $STR_ACE_HUNTIR_ROUND; + displayName = CSTRING(magazine_displayName); displayNameShort = "HuntIR"; descriptionShort = ""; picture = PATHTOF(UI\m_m1070_ca.paa); diff --git a/addons/huntir/CfgVehicles.hpp b/addons/huntir/CfgVehicles.hpp index 54876d4cf5..3cce76e201 100644 --- a/addons/huntir/CfgVehicles.hpp +++ b/addons/huntir/CfgVehicles.hpp @@ -5,7 +5,7 @@ class CfgVehicles { class ACE_SelfActions { class ACE_Equipment { class GVAR(open) { - displayName = $STR_ACE_HUNTIR_MON_ACT; + displayName = CSTRING(activateMonitor); condition = QUOTE([ARR_2(ACE_player,'ACE_HuntIR_monitor')] call EFUNC(common,hasItem)); statement = QUOTE(call FUNC(huntir)); showDisabled = 0; @@ -34,7 +34,7 @@ class CfgVehicles { class ACE_Item_HuntIR_monitor: Item_Base_F { scope = 2; scopeCurator = 2; - displayName = $STR_ACE_HUNTIR_MON; + displayName = CSTRING(monitor_displayName); vehicleClass = "Items"; class TransportItems { class ACE_HuntIR_monitor { diff --git a/addons/huntir/CfgWeapons.hpp b/addons/huntir/CfgWeapons.hpp index 42844acffb..b4d6206441 100644 --- a/addons/huntir/CfgWeapons.hpp +++ b/addons/huntir/CfgWeapons.hpp @@ -5,9 +5,9 @@ class CfgWeapons { class ACE_HuntIR_monitor: ACE_ItemCore { scope = 2; - displayName = $STR_ACE_HUNTIR_MON; + displayName = CSTRING(STR_ACE_HUNTIR_monitor_displayName); picture = PATHTOF(UI\w_huntir_monitor_ca.paa); - descriptionShort = $STR_ACE_HUNTIR_MON; + descriptionShort = CSTRING(STR_ACE_HUNTIR_monitor_displayName); model = PATHTOF(data\ace_huntir_monitor.p3d); class ItemInfo: InventoryItem_Base_F { diff --git a/addons/huntir/Dialog.hpp b/addons/huntir/Dialog.hpp index c3ef2f6567..97058394a5 100644 --- a/addons/huntir/Dialog.hpp +++ b/addons/huntir/Dialog.hpp @@ -137,7 +137,7 @@ class ace_huntir_cam_dialog { soundEscape[] = { "", 0, 1 }; x = __X + (2*0.8); y = __Y + 0.045; w = 0.05; h = 0.02; - text = "$STR_ACE_HUNTIR_HELP"; + text = CSTRING(HELP); action = "createDialog 'ace_huntir_help_dialog'"; }; class CAM_BG { @@ -173,11 +173,11 @@ class ace_huntir_cam_dialog { }; class CAM_ALT: CAM_HEIGHT { x = __X + 0.35; - text = "$STR_ACE_HUNTIR_ALT"; + text = CSTRING(ALT); }; class CAM_No: CAM_HEIGHT { x = __X + __W - 0.64; - text = "$STR_ACE_HUNTIR_CAM"; + text = CSTRING(CAM); }; class CAM_NO_x: CAM_HEIGHT { idc = 2; @@ -189,7 +189,7 @@ class ace_huntir_cam_dialog { x = __X + 0.35; y = __Y + __H - 0.65; w = 0.12; - text = "$STR_ACE_HUNTIR_TIME"; + text = CSTRING(TIME); }; class CAM_TIME_REMAIN: CAM_TIME { idc = 3; @@ -272,7 +272,7 @@ class ace_huntir_cam_dialog_inactive: ace_huntir_cam_dialog { sizeEx = 0.02; colorText[] = {1, 1, 1, 1}; colorBackground[] = {0,0,0,0}; - text = "$STR_ACE_HUNTIR_ESC"; + text = CSTRING(ESC); blinkingPeriod = 0; }; class CAM_BG: CAM_BG {}; @@ -371,31 +371,31 @@ class ace_huntir_help_dialog: ace_huntir_cam_dialog { sizeEx = 0.022; colorText[] = { 1, 1, 1, 1 }; colorBackground[] = {0,0,0,1}; - text = "$STR_ACE_HUNTIR_HELP_EXIT"; + text = CSTRING(HELP_EXIT); blinkingPeriod = 0; }; class HELP1: HELP0 { y = __Y + 0.06; - text = "$STR_ACE_HUNTIR_HELP_ZOOM"; + text = CSTRING(HELP_ZOOM); }; class HELP2: HELP0 { y = __Y + 0.09; - text = "$STR_ACE_HUNTIR_HELP_CAM"; + text = CSTRING(HELP_CAM); }; class HELP3: HELP0 { y = __Y + 0.12; - text = "$STR_ACE_HUNTIR_HELP_ROT"; + text = CSTRING(HELP_ROT); }; class HELP4: HELP0 { y = __Y + 0.15; - text = "$STR_ACE_HUNTIR_HELP_ELV"; + text = CSTRING(HELP_ELV); }; class HELP5: HELP0 { y = __Y + 0.18; - text = "$STR_ACE_HUNTIR_HELP_MOD"; + text = CSTRING(HELP_MOD); }; class HELP6: HELP0 { y = __Y + 0.21; - text = "$STR_ACE_HUNTIR_HELP_RES"; + text = CSTRING(HELP_RES); }; }; diff --git a/addons/huntir/stringtable.xml b/addons/huntir/stringtable.xml index 41b36e3377..51c2104bfe 100644 --- a/addons/huntir/stringtable.xml +++ b/addons/huntir/stringtable.xml @@ -12,7 +12,7 @@ HuntIR Transport Box HuntIR Transport Box - + HuntIR Round HuntIR Granate HuntIR Round @@ -23,7 +23,7 @@ Munition HuntIR HuntIR lövedék - + HuntIR monitor HuntIR Monitor HuntIR monitor @@ -34,7 +34,7 @@ Ecran HuntIR HuntIR monitor - + Activate HuntIR monitor HuntIR Monitor aktivieren Activate HuntIR monitor