diff --git a/addons/tacticalladder/CfgVehicles.hpp b/addons/tacticalladder/CfgVehicles.hpp index 334be7928b..07b48a8a3f 100644 --- a/addons/tacticalladder/CfgVehicles.hpp +++ b/addons/tacticalladder/CfgVehicles.hpp @@ -4,7 +4,7 @@ class CfgVehicles { class CAManBase: Man { class ACE_SelfActions { class ACE_TacticalLadders { - displayName = $STR_ACE_DEPLOY_TACLADDER; + displayName = CSTRING(Deploy); condition = QUOTE((backpack ACE_player) == QUOTE(QUOTE(ACE_TacticalLadder_Pack))); statement = QUOTE(call FUNC(deployTL)); exceptions[] = {}; @@ -17,7 +17,7 @@ class CfgVehicles { class Bag_Base; class ACE_TacticalLadder_Pack: Bag_Base { scope = 2; - displayName = "$STR_ACE_TACTICALLADDER"; + displayName = CSTRING(DisplayName); descriptionShort = ""; model = PATHTOF(data\ace_tacticalladder_pack.p3d); picture = PATHTOF(UI\ace_tactical_ladder_pack_ca.paa); @@ -28,7 +28,7 @@ class CfgVehicles { class House; class ACE_Tactical_Ladder: House { XEH_ENABLED; - displayName = $STR_ACE_TACTICALLADDER; + displayName = CSTRING(DisplayName); class DestructionEffects {}; model = PATHTOF(data\ace_tacticalladder.p3d); animated = 1; @@ -62,7 +62,7 @@ class CfgVehicles { condition = "true"; class ACE_PickUp { selection = ""; - displayName = "$STR_ACE_PICKUP_TACLADDER"; + displayName = CSTRING(Pickup); distance = 4; condition = QUOTE((backpack ACE_player) == ''); statement = QUOTE([ARR_2(_target,_player)] call FUNC(pickupTL)); @@ -72,7 +72,7 @@ class CfgVehicles { }; class ACE_Position { selection = ""; - displayName = "$STR_ACE_POSITION_TACLADDER"; + displayName = CSTRING(Position); distance = 4; condition = "true"; statement = QUOTE([ARR_2(_target,_player)] call FUNC(positionTL)); diff --git a/addons/tacticalladder/functions/fnc_positionTL.sqf b/addons/tacticalladder/functions/fnc_positionTL.sqf index c41b6c1861..103792c851 100644 --- a/addons/tacticalladder/functions/fnc_positionTL.sqf +++ b/addons/tacticalladder/functions/fnc_positionTL.sqf @@ -37,7 +37,7 @@ GVAR(cancelTime) = ACE_time + 1; // Workaround to prevent accidental canceling GVAR(currentStep) = 3; GVAR(currentAngle) = 0; -["Confirm", "Cancel", "Adjust"] call EFUNC(interaction,showMouseHint); +[localize LSTRING(Deploy), localize LSTRING(Drop), localize LSTRING(Adjust)] call EFUNC(interaction,showMouseHint); ACE_player setVariable [QGVAR(Deploy), [ACE_player, "DefaultAction", diff --git a/addons/tacticalladder/stringtable.xml b/addons/tacticalladder/stringtable.xml index e84ac5d16b..d9a9e3e761 100644 --- a/addons/tacticalladder/stringtable.xml +++ b/addons/tacticalladder/stringtable.xml @@ -1,7 +1,7 @@  - + Telescopic Ladder Teleskopleiter Телескопическая лестница @@ -12,7 +12,7 @@ Telescopic Ladder Telescopic Ladder - + Deploy ladder Leiter aufbauen Установить лестницу @@ -23,7 +23,7 @@ Deploy ladder Deploy ladder - + Drop ladder Leiter ablegen Положить лестницу @@ -34,7 +34,11 @@ Drop ladder Drop ladder - + + Adjust ladder + Leiter einstellen + + Position ladder Leiter positionieren Перенести лестницу @@ -45,7 +49,7 @@ Position ladder Position ladder - + Pickup ladder Leiter aufnehmen Взять лестницу