From 8a761134c6efe13fb4d8153d0a32865dccd46e65 Mon Sep 17 00:00:00 2001 From: dayz10k Date: Mon, 25 Nov 2013 17:14:54 -0500 Subject: [PATCH 1/7] #735 localize more (vehicle repair/salvage, etc) --- SQF/dayz_code/compile/fn_selfActions.sqf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SQF/dayz_code/compile/fn_selfActions.sqf b/SQF/dayz_code/compile/fn_selfActions.sqf index 3ef3ee449..30f95a453 100644 --- a/SQF/dayz_code/compile/fn_selfActions.sqf +++ b/SQF/dayz_code/compile/fn_selfActions.sqf @@ -286,7 +286,7 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu If(DZE_AllowCargoCheck) then { if((_isVehicle or _isTent or _isnewstorage) and _isAlive and !_isMan and !locked _cursorTarget) then { if (s_player_checkGear < 0) then { - s_player_checkGear = player addAction ["Cargo Check", "\z\addons\dayz_code\actions\cargocheck.sqf",_cursorTarget, 1, true, true, "", ""]; + s_player_checkGear = player addAction [localize "STR_EPOCH_PLAYER_CARGO", "\z\addons\dayz_code\actions\cargocheck.sqf",_cursorTarget, 1, true, true, "", ""]; }; } else { player removeAction s_player_checkGear; @@ -650,8 +650,8 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu if ((dayz_myCursorTarget != _cursorTarget) and _isVehicle and !_isMan and _hasToolbox and (damage _cursorTarget < 1) and !_isDisallowRepair) then { if (s_player_repair_crtl < 0) then { dayz_myCursorTarget = _cursorTarget; - _menu = dayz_myCursorTarget addAction ["Repair Vehicle", "\z\addons\dayz_code\actions\repair_vehicle.sqf",_cursorTarget, 0, true, false, "",""]; - _menu1 = dayz_myCursorTarget addAction ["Salvage Vehicle", "\z\addons\dayz_code\actions\salvage_vehicle.sqf",_cursorTarget, 0, true, false, "",""]; + _menu = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_REPAIR", "\z\addons\dayz_code\actions\repair_vehicle.sqf",_cursorTarget, 0, true, false, "",""]; + _menu1 = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_SALVAGE", "\z\addons\dayz_code\actions\salvage_vehicle.sqf",_cursorTarget, 0, true, false, "",""]; s_player_repairActions set [count s_player_repairActions,_menu]; s_player_repairActions set [count s_player_repairActions,_menu1]; s_player_repair_crtl = 1; @@ -697,11 +697,11 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu } forEach (_traderMenu select 1); // Database menu - _buy = player addAction ["Trader Menu", "\z\addons\dayz_code\actions\show_dialog.sqf",(_traderMenu select 0), 99, true, false, "",""]; + _buy = player addAction [localize "STR_EPOCH_PLAYER_289", "\z\addons\dayz_code\actions\show_dialog.sqf",(_traderMenu select 0), 99, true, false, "",""]; s_player_parts set [count s_player_parts,_buy]; // Add static metals trader options under sub menu - _metals_trader = player addAction ["Trade Metals", "\z\addons\dayz_code\actions\trade_metals.sqf",["na"], 0, true, false, "",""]; + _metals_trader = player addAction [localize "STR_EPOCH_PLAYER_301", "\z\addons\dayz_code\actions\trade_metals.sqf",["na"], 0, true, false, "",""]; s_player_parts set [count s_player_parts,_metals_trader]; }; From 20b4a127404b5c239ef7ac8a63d1a1e2ba576e65 Mon Sep 17 00:00:00 2001 From: dayz10k Date: Mon, 25 Nov 2013 17:15:01 -0500 Subject: [PATCH 2/7] #735 localize more (vehicle repair/salvage, etc) --- SQF/dayz_epoch_b/stringtable.xml | 50 ++++++++++++++++++++++++++++---- 1 file changed, 45 insertions(+), 5 deletions(-) diff --git a/SQF/dayz_epoch_b/stringtable.xml b/SQF/dayz_epoch_b/stringtable.xml index 915cace41..f1fb15bb9 100644 --- a/SQF/dayz_epoch_b/stringtable.xml +++ b/SQF/dayz_epoch_b/stringtable.xml @@ -5542,12 +5542,12 @@ Trader Menu Trader Menu - + Trader Menu Меню торговца - - - - + Trader Menu + Trader Menu + Trader Menu + Trader Menu Categories @@ -5659,6 +5659,46 @@ Craft Sandbag Craft Sandbag + + Trade Metals + Trade Metals + Trade Metals + Trade Metals + Trade Metals + Trade Metals + Trade Metals + Trade Metals + + + Repair Vehicle + Repair Vehicle + Repair Vehicle + Починить транспорт + Repair Vehicle + Repareer voertuig + Réparer le véhicule + Repair Vehicle + + + Salvage Vehicle + Salvage Vehicle + Salvage Vehicle + Снять запчасти + Salvage Vehicle + Demonteer voertuig + Récupérer des pièces + Salvage Vehicle + + + Cargo Check + Cargo Check + Cargo Check + Проверить груз + Cargo Check + Controleer Bagage + Vérifier la cargaison + Cargo Check + 1.04 1.04 From 2f7ccd784af78100ee9f83986d9dd4cd27ed90de Mon Sep 17 00:00:00 2001 From: dayz10k Date: Mon, 25 Nov 2013 17:18:16 -0500 Subject: [PATCH 3/7] Update stringtable.xml --- SQF/dayz_epoch_b/stringtable.xml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/SQF/dayz_epoch_b/stringtable.xml b/SQF/dayz_epoch_b/stringtable.xml index f1fb15bb9..e42afbf94 100644 --- a/SQF/dayz_epoch_b/stringtable.xml +++ b/SQF/dayz_epoch_b/stringtable.xml @@ -5672,32 +5672,42 @@ Repair Vehicle Repair Vehicle - Repair Vehicle + Починить транспорт - Repair Vehicle + Repareer voertuig Réparer le véhicule - Repair Vehicle + Salvage Vehicle Salvage Vehicle - Salvage Vehicle + Снять запчасти - Salvage Vehicle + Demonteer voertuig Récupérer des pièces - Salvage Vehicle + Cargo Check Cargo Check - Cargo Check + Проверить груз - Cargo Check + Controleer Bagage Vérifier la cargaison - Cargo Check + + + + Cancel + Cancel + + Отмена + + Annuleren + Annuler + 1.04 From 673ed11dc0010c4e32ac8147bdccdde7e1f15b1d Mon Sep 17 00:00:00 2001 From: dayz10k Date: Mon, 25 Nov 2013 17:21:47 -0500 Subject: [PATCH 4/7] #735 localize more (vehicle repair/salvage, etc) --- SQF/dayz_code/compile/fn_selfActions.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/fn_selfActions.sqf b/SQF/dayz_code/compile/fn_selfActions.sqf index 30f95a453..63102af22 100644 --- a/SQF/dayz_code/compile/fn_selfActions.sqf +++ b/SQF/dayz_code/compile/fn_selfActions.sqf @@ -650,8 +650,8 @@ if (!isNull cursorTarget and !_inVehicle and !_isPZombie and (player distance cu if ((dayz_myCursorTarget != _cursorTarget) and _isVehicle and !_isMan and _hasToolbox and (damage _cursorTarget < 1) and !_isDisallowRepair) then { if (s_player_repair_crtl < 0) then { dayz_myCursorTarget = _cursorTarget; - _menu = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_REPAIR", "\z\addons\dayz_code\actions\repair_vehicle.sqf",_cursorTarget, 0, true, false, "",""]; - _menu1 = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_SALVAGE", "\z\addons\dayz_code\actions\salvage_vehicle.sqf",_cursorTarget, 0, true, false, "",""]; + _menu = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_REPAIRV", "\z\addons\dayz_code\actions\repair_vehicle.sqf",_cursorTarget, 0, true, false, "",""]; + _menu1 = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_SALVAGEV", "\z\addons\dayz_code\actions\salvage_vehicle.sqf",_cursorTarget, 0, true, false, "",""]; s_player_repairActions set [count s_player_repairActions,_menu]; s_player_repairActions set [count s_player_repairActions,_menu1]; s_player_repair_crtl = 1; From 02104614d8b302ab36d1742dababad66be5a4a9b Mon Sep 17 00:00:00 2001 From: dayz10k Date: Mon, 25 Nov 2013 17:23:57 -0500 Subject: [PATCH 5/7] #735 localize more (vehicle repair/salvage, etc) --- SQF/dayz_epoch_b/stringtable.xml | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_epoch_b/stringtable.xml b/SQF/dayz_epoch_b/stringtable.xml index e42afbf94..e35dc6f83 100644 --- a/SQF/dayz_epoch_b/stringtable.xml +++ b/SQF/dayz_epoch_b/stringtable.xml @@ -5669,7 +5669,7 @@ Trade Metals Trade Metals - + Repair Vehicle Repair Vehicle @@ -5679,7 +5679,27 @@ Réparer le véhicule - + + Repair + Repair + + Починить + + Repareer + Réparer + + + + Remove + Remove + + Снять + + Demonteer + Retirer + + + Salvage Vehicle Salvage Vehicle From 7bd1cf2a86fb1376e80ff44e04791205fd043b30 Mon Sep 17 00:00:00 2001 From: dayz10k Date: Mon, 25 Nov 2013 17:26:14 -0500 Subject: [PATCH 6/7] #735 localize more (vehicle repair/salvage, etc) --- SQF/dayz_code/actions/repair_vehicle.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/actions/repair_vehicle.sqf b/SQF/dayz_code/actions/repair_vehicle.sqf index 20a7d2549..9f1fca0a1 100644 --- a/SQF/dayz_code/actions/repair_vehicle.sqf +++ b/SQF/dayz_code/actions/repair_vehicle.sqf @@ -63,8 +63,8 @@ if (_allFixed) then { if(count _hitpoints > 0 ) then { - _cancel = dayz_myCursorTarget addAction ["Cancel", "\z\addons\dayz_code\actions\repair_cancel.sqf","repair", 0, true, false, "",""]; + _cancel = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_CANCEL", "\z\addons\dayz_code\actions\repair_cancel.sqf","repair", 0, true, false, "",""]; s_player_repairActions set [count s_player_repairActions,_cancel]; s_player_repair_crtl = 1; -}; \ No newline at end of file +}; From bb4d07518050da4bb9ae3a1fb01b4f3aa9e40607 Mon Sep 17 00:00:00 2001 From: dayz10k Date: Mon, 25 Nov 2013 17:27:56 -0500 Subject: [PATCH 7/7] #735 localize more (vehicle repair/salvage, etc) --- SQF/dayz_code/actions/salvage_vehicle.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/salvage_vehicle.sqf b/SQF/dayz_code/actions/salvage_vehicle.sqf index 9af1d68f4..cae40c1c4 100644 --- a/SQF/dayz_code/actions/salvage_vehicle.sqf +++ b/SQF/dayz_code/actions/salvage_vehicle.sqf @@ -64,7 +64,7 @@ _hitpoints = _vehicle call vehicle_getHitpoints; if(count _hitpoints > 0 ) then { - _cancel = dayz_myCursorTarget addAction ["Cancel", "\z\addons\dayz_code\actions\repair_cancel.sqf","repair", 0, true, false, "",""]; + _cancel = dayz_myCursorTarget addAction [localize "STR_EPOCH_PLAYER_CANCEL", "\z\addons\dayz_code\actions\repair_cancel.sqf","repair", 0, true, false, "",""]; s_player_repairActions set [count s_player_repairActions,_cancel]; s_player_repair_crtl = 1; };