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

@@ -21,7 +21,7 @@ class ItemActions
*/
private ["_tradeComplete","_onLadder","_canDo","_selectedRecipeOutput","_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_itemOut","_countOut","_started","_finished","_animState","_isMedic","_removed","_tobe_removed_total","_textCreate","_textMissing","_selectedRecipeInput","_num_removed","_removed_total","_temp_removed_array","_abort","_reason","_isNear","_missingTools","_hastoolweapon","_selectedRecipeTools","_distance","_crafting","_needNear","_item","_baseClass","_num_removed_weapons","_outputWeapons","_inputWeapons","_randomOutput","_craft_doLoop","_selectedWeapon","_selectedMag","_sfx"];
if(TradeInprogress) exitWith { cutText ["\n\nCrafting already in progress." , "PLAIN DOWN"]; };
if(TradeInprogress) exitWith { cutText [(localize "str_epoch_player_63") , "PLAIN DOWN"]; };
TradeInprogress = true;
// This is used to find correct recipe based what itemaction was click allows multiple recipes per item.
@@ -112,7 +112,7 @@ if (_canDo) then {
// If all parts proceed
if (_proceed) then {
cutText ["\n\nCrafting started", "PLAIN DOWN"];
cutText [(localize "str_epoch_player_62"), "PLAIN DOWN"];
player playActionNow "Medic";
@@ -222,7 +222,7 @@ if (_canDo) then {
[objNull, player, rSwitchMove,""] call RE;
player playActionNow "stop";
};
cutText ["\n\nCanceled crafting.", "PLAIN DOWN"];
cutText [(localize "str_epoch_player_64"), "PLAIN DOWN"];
_craft_doLoop = false;
};
@@ -238,6 +238,6 @@ if (_canDo) then {
};
};
} else {
cutText ["\n\nCanceled crafting.", "PLAIN DOWN"];
cutText [(localize "str_epoch_player_64"), "PLAIN DOWN"];
};
TradeInprogress = false;