Merge pull request #784 from dayz10k/master

localize vehicle options
This commit is contained in:
dayz10k
2013-11-25 14:28:27 -08:00
4 changed files with 83 additions and 13 deletions

View File

@@ -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;
};
};

View File

@@ -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;
};