diff --git a/addons/zeus/ACE_Settings.hpp b/addons/zeus/ACE_Settings.hpp index 2630c72dff..2f6d1530b9 100644 --- a/addons/zeus/ACE_Settings.hpp +++ b/addons/zeus/ACE_Settings.hpp @@ -18,6 +18,6 @@ class ACE_Settings { class GVAR(revealMines) { typeName = "SCALAR"; value = 0; - values[] = {"$STR_ACE_Zeus_revealMines_disable", "$STR_ACE_Zeus_revealMines_partial", "$STR_ACE_Zeus_revealMines_full"}; + values[] = {CSTRING(revealMines_disable), CSTRING(revealMines_partial), CSTRING(revealMines_full)}; }; }; diff --git a/addons/zeus/CfgVehicles.hpp b/addons/zeus/CfgVehicles.hpp index 439dede5b1..7178273259 100644 --- a/addons/zeus/CfgVehicles.hpp +++ b/addons/zeus/CfgVehicles.hpp @@ -17,7 +17,7 @@ class CfgVehicles { }; class GVAR(moduleSettings): ACE_Module { scope = 2; - displayName = "$STR_ACE_Zeus_Module_DisplayName"; + displayName = CSTRING(Settings_DisplayName); icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Settings_ca.paa)); category = "ACE"; function = QFUNC(moduleZeusSettings); @@ -27,52 +27,52 @@ class CfgVehicles { author = "SilentSpike"; class Arguments { class zeusAscension { - displayName = "$STR_ACE_Zeus_ascension_DisplayName"; - description = "$STR_ACE_Zeus_ascension_Description"; + displayName = CSTRING(ascension_DisplayName); + description = CSTRING(ascension_Description); typeName = "BOOL"; defaultValue = 0; }; class zeusBird { - displayName = "$STR_ACE_Zeus_bird_DisplayName"; - description = "$STR_ACE_Zeus_bird_Description"; + displayName = CSTRING(bird_DisplayName); + description = CSTRING(bird_Description); typeName = "BOOL"; defaultValue = 0; }; class remoteWind { - displayName = "$STR_ACE_Zeus_remoteWind_DisplayName"; - description = "$STR_ACE_Zeus_remoteWind_Description"; + displayName = CSTRING(remoteWind_DisplayName); + description = CSTRING(remoteWind_Description); typeName = "BOOL"; defaultValue = 0; }; class radioOrdnance { - displayName = "$STR_ACE_Zeus_radioOrdnance_DisplayName"; - description = "$STR_ACE_Zeus_radioOrdnance_Description"; + displayName = CSTRING(radioOrdnance_DisplayName); + description = CSTRING(radioOrdnance_Description); typeName = "BOOL"; defaultValue = 0; }; class revealMines { - displayName = "$STR_ACE_Zeus_revealMines_DisplayName"; - description = "$STR_ACE_Zeus_revealMines_Description"; + displayName = CSTRING(revealMines_DisplayName); + description = CSTRING(revealMines_Description); typeName = "NUMBER"; class values { class disable { - name = "$STR_ACE_Zeus_revealMines_disable"; + name = CSTRING(revealMines_disable); value = 0; default = 1; }; class partial { - name = "$STR_ACE_Zeus_revealMines_partial"; + name = CSTRING(revealMines_partial); value = 1; }; class full { - name = "$STR_ACE_Zeus_revealMines_full"; + name = CSTRING(revealMines_full); value = 2; }; }; }; }; class ModuleDescription { - description = "$STR_ACE_Zeus_Module_Description"; + description = CSTRING(Settings_Description); sync[] = {}; }; }; @@ -83,7 +83,7 @@ class CfgVehicles { }; class GVAR(moduleCaptive): GVAR(moduleBase) { curatorCanAttach = 1; - displayName = "$STR_ACE_Zeus_ModuleCaptive_DisplayName"; + displayName = CSTRING(ModuleCaptive_DisplayName); function = QFUNC(moduleCaptive); icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Captive_ca.paa)); class ModuleDescription { @@ -93,7 +93,7 @@ class CfgVehicles { }; class GVAR(moduleSurrender): GVAR(moduleBase) { curatorCanAttach = 1; - displayName = "$STR_ACE_Zeus_ModuleSurrender_DisplayName"; + displayName = CSTRING(ModuleSurrender_DisplayName); function = QFUNC(moduleSurrender); icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Surrender_ca.paa)); class ModuleDescription { @@ -103,7 +103,7 @@ class CfgVehicles { }; class GVAR(moduleUnconscious): GVAR(moduleBase) { curatorCanAttach = 1; - displayName = "$STR_ACE_Zeus_ModuleUnconscious_DisplayName"; + displayName = CSTRING(ModuleUnconscious_DisplayName); function = QFUNC(moduleUnconscious); icon = QUOTE(PATHTOF(UI\Icon_Module_Zeus_Unconscious_ca.paa)); class ModuleDescription { diff --git a/addons/zeus/functions/fnc_moduleCaptive.sqf b/addons/zeus/functions/fnc_moduleCaptive.sqf index 624117ed03..f77f9846a4 100644 --- a/addons/zeus/functions/fnc_moduleCaptive.sqf +++ b/addons/zeus/functions/fnc_moduleCaptive.sqf @@ -21,18 +21,18 @@ private ["_unit","_captive"]; if (!_activated) exitWith {}; if (isNil QEFUNC(captives,setHandcuffed)) then { - ["STR_ACE_Zeus_RequiresAddon"] call EFUNC(common,displayTextStructured); + [LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured); } else { _unit = attachedTo _logic; if (isNull _unit) then { - ["STR_ACE_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured); + [LSTRING(NothingSelected)] call EFUNC(common,displayTextStructured); } else { if !(_unit isKindOf "CAManBase") then { - ["STR_ACE_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured); + [LSTRING(OnlyInfantry)] call EFUNC(common,displayTextStructured); } else { if !(alive _unit) then { - ["STR_ACE_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured); + [LSTRING(OnlyAlive)] call EFUNC(common,displayTextStructured); } else { _captive = GETVAR(_unit,EGVAR(captives,isHandcuffed),false); // Event initalized by ACE_Captives diff --git a/addons/zeus/functions/fnc_moduleSurrender.sqf b/addons/zeus/functions/fnc_moduleSurrender.sqf index 094ece0979..591b216ad7 100644 --- a/addons/zeus/functions/fnc_moduleSurrender.sqf +++ b/addons/zeus/functions/fnc_moduleSurrender.sqf @@ -21,21 +21,21 @@ private ["_unit","_surrendering"]; if (!_activated) exitWith {}; if (isNil QEFUNC(captives,setSurrendered)) then { - ["STR_ACE_Zeus_RequiresAddon"] call EFUNC(common,displayTextStructured); + [LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured); } else { _unit = attachedTo _logic; if (isNull _unit) then { - ["STR_ACE_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured); + [LSTRING(NothingSelected)] call EFUNC(common,displayTextStructured); } else { if !(_unit isKindOf "CAManBase") then { - ["STR_ACE_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured); + [LSTRING(OnlyInfantry)] call EFUNC(common,displayTextStructured); } else { if !(alive _unit) then { - ["STR_ACE_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured); + [LSTRING(OnlyAlive)] call EFUNC(common,displayTextStructured); } else { if (GETVAR(_unit,EGVAR(captives,isHandcuffed),false)) then { - ["STR_ACE_Zeus_OnlyNonCaptive"] call EFUNC(common,displayTextStructured); + [LSTRING(OnlyNonCaptive)] call EFUNC(common,displayTextStructured); } else { _surrendering = GETVAR(_unit,EGVAR(captives,isSurrendering),false); // Event initalized by ACE_Captives diff --git a/addons/zeus/functions/fnc_moduleUnconscious.sqf b/addons/zeus/functions/fnc_moduleUnconscious.sqf index cf44b3e07e..2d8bae85e8 100644 --- a/addons/zeus/functions/fnc_moduleUnconscious.sqf +++ b/addons/zeus/functions/fnc_moduleUnconscious.sqf @@ -21,18 +21,18 @@ private ["_unit","_conscious"]; if (!_activated) exitWith {}; if (isNil QEFUNC(medical,setUnconscious)) then { - ["STR_ACE_Zeus_RequiresAddon"] call EFUNC(common,displayTextStructured); + [LSTRING(RequiresAddon)] call EFUNC(common,displayTextStructured); } else { _unit = attachedTo _logic; if (isNull _unit) then { - ["STR_ACE_Zeus_NothingSelected"] call EFUNC(common,displayTextStructured); + [LSTRING(NothingSelected)] call EFUNC(common,displayTextStructured); } else { if !(_unit isKindOf "CAManBase") then { - ["STR_ACE_Zeus_OnlyInfantry"] call EFUNC(common,displayTextStructured); + [LSTRING(OnlyInfantry)] call EFUNC(common,displayTextStructured); } else { if !(alive _unit) then { - ["STR_ACE_Zeus_OnlyAlive"] call EFUNC(common,displayTextStructured); + [LSTRING(OnlyAlive)] call EFUNC(common,displayTextStructured); } else { _conscious = GETVAR(_unit,ACE_isUnconscious,false); // Function handles locality for me diff --git a/addons/zeus/stringtable.xml b/addons/zeus/stringtable.xml index d21814623a..28da3bff59 100644 --- a/addons/zeus/stringtable.xml +++ b/addons/zeus/stringtable.xml @@ -1,11 +1,11 @@  - + Zeus Settings Ustawienia Zeusa - + Provides control over various aspects of Zeus. Pozwala kontrolować różne aspekty Zeusa.