From 0d2f91f3aa6ad2df4d9fdf9ad15dce783b1559d8 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Wed, 11 Jan 2017 16:12:17 -0500 Subject: [PATCH] Fix trader menu server RPT log partially localized on client --- CHANGE LOG 1.0.6.1.txt | 5 +++-- .../actions/AdvancedTrading/functions/z_at_logTrade.sqf | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGE LOG 1.0.6.1.txt b/CHANGE LOG 1.0.6.1.txt index 0d3e6ba67..df18c351b 100644 --- a/CHANGE LOG 1.0.6.1.txt +++ b/CHANGE LOG 1.0.6.1.txt @@ -56,9 +56,10 @@ [FIXED] Unable to remove LightPole_DZ, DeerStand_DZ, MetalGate_DZ and StickFence_DZ. #1859 @TheZog [FIXED] Unconscious locked input when running #1860 @icomrade @DeVloek [FIXED] Running corpses when the dead player has no primary weapon @icomrade -[FIXED] "AI" text localized on wrong client in death messages. #1867 @LunaCB +[FIXED] "AI" text localized on wrong client in death messages #1867 @LunaCB +[FIXED] Container ("Gear/Backpack/Vehicle") text localized on client for trader menu server RPT logs @oiad [FIXED] Group icons will not show for units inside the player's vehicle anymore (helis, large planes, etc.). #1865 @schwanzkopfhegel -[FIXED] Lighting fires and building fireplaces not working on platforms raised over the sea. #1866 @schwanzkopfhegel +[FIXED] Lighting fires and building fireplaces not working on platforms raised over the sea #1866 @schwanzkopfhegel [NOTE] The fixes below are included in the 1.0.6 Build C server package released December 29th, 2016 (http://dayzepoch.com/a2dayzepoch.php) [FIXED] Hive child 309 errors that resulted in broken saving of newly built storage object inventory. @icomrade diff --git a/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_logTrade.sqf b/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_logTrade.sqf index bd981d8ca..c5e9f74fd 100644 --- a/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_logTrade.sqf +++ b/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_logTrade.sqf @@ -8,9 +8,9 @@ _Z_logTrade = { _buyOrSell = _this select 2; _price = _this select 3; _container = switch (Z_SellingFrom) do { - case 0 : {localize "STR_EPOCH_TRADE_BACKPACK"}; - case 1 : {localize "STR_EPOCH_TRADE_VEHICLE"}; - case 2 : {localize "STR_UI_GEAR"}; + case 0 : {"backpack"}; + case 1 : {"vehicle"}; + case 2 : {"gear"}; }; _price = if (Z_singleCurrency) then {format ["%1 %2",[_price] call BIS_fnc_numberText,CurrencyName]} else {[_price,true] call Z_calcCurrency};