localization #2

This commit is contained in:
Zac Surplice
2013-11-06 19:34:53 +11:00
parent 7e2b6febd0
commit cf2cdc037a
41 changed files with 1012 additions and 122 deletions

View File

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