mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-26 09:41:50 +03:00
localization #2
This commit is contained in:
@@ -52,7 +52,7 @@ if(_IsNearPlot == 0) then {
|
||||
};
|
||||
|
||||
// exit if not allowed due to plot pole
|
||||
if(!_canBuildOnPlot) exitWith { TradeInprogress = false; cutText [format["Unable to downgrade %1 nearby.",_needText,_distance] , "PLAIN DOWN"]; };
|
||||
if(!_canBuildOnPlot) exitWith { TradeInprogress = false; cutText [format[(localize "str_epoch_player_141"),_needText,_distance] , "PLAIN DOWN"]; };
|
||||
|
||||
// get cursortarget from addaction
|
||||
_obj = _this select 3;
|
||||
@@ -132,7 +132,7 @@ if ((count _upgrade) > 0) then {
|
||||
// Set location
|
||||
_object setPosATL _location;
|
||||
|
||||
cutText [format["You have downgraded %1.",_text], "PLAIN DOWN", 5];
|
||||
cutText [format[(localize "str_epoch_player_142"),_text], "PLAIN DOWN", 5];
|
||||
|
||||
PVDZE_obj_Swap = [_objectCharacterID,_object,[_dir,_location],_classname,_obj,_objectID,_objectUID];
|
||||
publicVariableServer "PVDZE_obj_Swap";
|
||||
@@ -140,7 +140,7 @@ if ((count _upgrade) > 0) then {
|
||||
player reveal _object;
|
||||
|
||||
} else {
|
||||
cutText [format["\n\n%1 of %2 could not be added to your inventory. (not enough room?)", _i,(getText(configFile >> "CfgMagazines" >> _itemOut >> "displayName"))], "PLAIN DOWN"];
|
||||
cutText [format[(localize "str_epoch_player_143"), _i,(getText(configFile >> "CfgMagazines" >> _itemOut >> "displayName"))], "PLAIN DOWN"];
|
||||
{
|
||||
[player,(_x select 0),(_x select 1)] call BIS_fnc_invRemove;
|
||||
} forEach _addedItems;
|
||||
|
||||
Reference in New Issue
Block a user