From 7f3b45e8cb4e9ba9d5c5361f8133b58dd83078f8 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 11:51:11 -0500 Subject: [PATCH 01/20] more updates --- SQF/dayz_epoch_b/stringtable.xml | 290 +++++++++++++++++++++++++------ 1 file changed, 240 insertions(+), 50 deletions(-) diff --git a/SQF/dayz_epoch_b/stringtable.xml b/SQF/dayz_epoch_b/stringtable.xml index 1223dad31..2bce43d8e 100644 --- a/SQF/dayz_epoch_b/stringtable.xml +++ b/SQF/dayz_epoch_b/stringtable.xml @@ -2681,7 +2681,7 @@ Мачете Kapmes - + Machette Mačeta @@ -2701,7 +2701,7 @@ Арбалет Kruisboog - + Arbalète Kuše @@ -5743,7 +5743,7 @@ Таблица убийств Herdenkingsbord - + Rubrique Nécrologique Nástěnka zabitých @@ -5753,7 +5753,7 @@ Убийства Moord - + Meurtres Vražda @@ -5923,7 +5923,7 @@ Патрульный рюкзак (Койот) Patrouillerugzak (coyote) - + Sac de Patrouille (coyote) Baťůžek (coyote) @@ -5933,7 +5933,7 @@ Рюкзак штурмовика (ACU) Aanvalsrugzak (ACU) - + Sac d'assaut (ACU) @@ -5943,7 +5943,7 @@ Чешский жилет-мешок Tsjechische Borstzak - + Veste à poches tchèque @@ -5953,7 +5953,7 @@ ALICE Rugzak - + Sac Polyvalent (ALICE) @@ -5963,7 +5963,7 @@ Рюкзак выжившего (ACU) Overlevings ACU - + Sac de Survivant (ACU) @@ -5973,7 +5973,7 @@ Рюкзак британского штурмовика Britse Aanvalsrugzak - + Sac d’assaut Britannique Britský Batoh @@ -5983,7 +5983,7 @@ Чешский рюкзак Tsjechische Rugzak - + Sac à dos tchèque Český Batoh @@ -5993,7 +5993,7 @@ Рюкзак (Койот) Rugzak (Coyote) - + Sac à Dos (coyote) Batoh (Coyote) @@ -6003,7 +6003,7 @@ Большая оружейная сумка Grote Wapenzak - + Grand Fourreau @@ -6013,7 +6013,7 @@ Оружейная сумка Wapenzak - + Fourreau @@ -6023,7 +6023,7 @@ Компактный рюкзак Compacte Rugzak - + Sac Compact @@ -6033,7 +6033,7 @@ Вокзальный рюкзак Terminal Rugzak - + Sac à Dos (terminal) @@ -6043,7 +6043,7 @@ HALO прыжок Parachutesprong - + Chute Opérationnelle Katapultovat se @@ -6053,7 +6053,7 @@ Отображать имя (Да) Naam weergeven (AAN) - + Afficher le nom Zobrazovat jména @@ -6063,7 +6063,7 @@ Отображать имя (Нет) Naam weergeven (UIT) - + Ne pas afficher le nom Nezobrazovat jména @@ -6073,7 +6073,7 @@ Призвать орду Roep een Horde aan - + Ameuter Přivolat Zombií @@ -6083,7 +6083,7 @@ Ночное зрение Nachtvisie - + Vision nocturne Noktovizor @@ -6093,7 +6093,7 @@ Кормиться Eet - + Nourrir Nakrmit @@ -6103,7 +6103,7 @@ Занять территорию Onderhoud het gebied - + Maintenir la zone Údržba oblasti @@ -6113,7 +6113,7 @@ Занять территорию (пред. просмотр) Gebiedsonderhoud (voorbeeld) - + Aperçu de la zone maintenue Náhled údržby oblasti @@ -6123,7 +6123,7 @@ Открыть %1 Haal van Slot %1 - + Déverrouiller Odemknout %1 @@ -6133,7 +6133,7 @@ Угнать %1 Hotwire %1 - + Démarrer avec les fils %1 Pokusit se Dostat do Vozidla %1 @@ -6143,7 +6143,7 @@ Транспорт закрыт Voertuig Staat op Slot - + Véhicule Verrouillé Vozidlo Uzamčeno @@ -6153,7 +6153,7 @@ Закрыть %1 Zet op Slot %1 - + Verrouiller %1 Zamknout %1 @@ -6163,7 +6163,7 @@ Разделать зомби Slacht Zombie - + Dépecer le zombie Vykuchat Zombie @@ -6173,7 +6173,7 @@ Инвентарь Inventaris - + Équipement Vybavení @@ -6183,7 +6183,7 @@ Сломать палатку Vernietig Tent - + Détruire la tente Zničit Stan @@ -6193,7 +6193,7 @@ Открыть %1 Maak Open %1 - + Ouvrir %1 Otevřít %1 @@ -6203,7 +6203,7 @@ Ввести комбинацию заново Combinatie Opnieuw Invoeren - + Ressaisir la combinaison Znovu Zadat Kombinaci @@ -6213,7 +6213,7 @@ Запаковать %1 Inpakken %1 - + Empaqueter %1 Zabalit %1 @@ -6223,7 +6223,7 @@ Последние убийства Recente Moorden - + Meurtres récents Nedávné Vraždy @@ -6233,7 +6233,7 @@ Заправить транспорт Vul Voertuig - + Faire le Plein Naplnit Vozidlo @@ -6243,7 +6243,7 @@ Нужна энергия Heeft Stroom Nodig - + Énergie Nécessaire Potřebuje Energii @@ -6253,7 +6253,7 @@ Улучшить %1 - + Améliorer %1 @@ -6263,7 +6263,7 @@ Снять замок с %1 Verwijder slot van %1 - + Retirer la serrure de %1 Odebrat Zámek z %1 @@ -6273,7 +6273,7 @@ Занять %1 Onderhoud %1 - + Maintenir %1 Opravit %1 @@ -6283,7 +6283,7 @@ Остановить генератор - + Arrêter le générateur Zastavit Generátor @@ -6293,7 +6293,7 @@ Запустить генератор - + Démarrer le générateur Nastartovat Generátor @@ -6303,7 +6303,7 @@ Заправить и запустить генератор Vul en Start Generator - + Remplir et démarrer le générateur Naplnit a Nastartovat Generátor @@ -6313,7 +6313,7 @@ Прицепить стропы Monteer Spanbanden - + Attacher les sangles @@ -6323,7 +6323,7 @@ Отцепить стропы Demonteer Spanbanden - + Détacher les sangles @@ -6333,10 +6333,200 @@ Ваша человечность слишком %1, этот торговец отказывается говорить с вами Je menselijkheid is te %1. Deze trader doet geen zaken met je. - + Votre humanité est trop %1 ce commerçant refuse de vous parler. Tvá lidskost je příliš %1, tento obchodník s tebou odmítá mluvit. - + + Calling Zombies... + Calling Zombies... + + Призываем зомби... + + + Appeler les zombies... + + + + Maintenance already in progress. + Maintenance already in progress. + + Уже удерживается. + + + La maintenance est déjà en cours. + + + + At least one building part is not setup yet. + At least one building part is not setup yet. + + По крайней мере, одна часть здания ещё не построена. + + + Il reste encore des parties de la construction à maintenir. + + + + You have maintained %1 building parts. + You have maintained %1 building parts. + + Вы удержали %1 частей здания. + + + Vous avez maintenu %1 construction(s). + + + + Missing Parts after first check Item: %1 / %2 + Missing Parts after first check Item: %1 / %2 + + + + + Éléments manquants après la première vérification: %1 / %2 + + + + Missing %1 more of %2 + Missing %1 more of %2 + + + + + Il manque %1 %2 + + + + %1 building parts in range, maintenance would cost %2. + %1 building parts in range, maintenance would cost %2. + + В радиусе %1 частей зданий, удержание будет стоить %2. + + + %1 constructions à portée, la maintenance coûtera %2. + + + + You have tagged a player as friendly. Waiting for other player to accept. + You have tagged a player as friendly. Waiting for other player to accept. + + Вы отметили игрока как друга. Ожидание принятия. + + + Vous avez marqué un joueur comme amical. En attente de la confirmation de ce joueur. + + + + \n\nUnable to change clothes while wearing backpack. + \n\nUnable to change clothes while wearing backpack. + + \n\nНельзя переодеваться, одевая рюкзак. + + + \n\nImpossible de changer ses vêtements lorsque vous portez un sac à dos. + + + + \n\nUnable to change clothes while carrying a filled chainsaw. + \n\nUnable to change clothes while carrying a filled chainsaw. + + \n\nНельзя переодеваться, неся заправленную бензопилу. + + + \n\nImpossible de changer ses vêtements lorsque vous avez une tronçonneuse en main. + + + + Bought %3 for %1 %2, key added to toolbelt. + Bought %3 for %1 %2, key added to toolbelt. + + Куплено: %3 за %1 %2, ключ добавлен на пояс. + + + Vous avez acheté %3 pour %1 %2, la clé a été ajoutée à votre ceinture. + + + + Missing %1 more of %2 + Missing %1 more of %2 + + + + + Il manque %1 %2 + + + + Missing tool %1 + Missing tool %1 + + Отсутствует инструмент %1 + + + Outil manquant : %1 + + + + No Tank Traps found nearby. + No Tank Traps found nearby. + + Вблизи не найдено танковых ловушек. + + + Aucun piège à tank trouvé aux alentours. + + + + Another object is blocking the vehicle exit. + Another object is blocking the vehicle exit. + + Другой объект блокирует выход из транспорта. + + + Un objet empêche de sortir du véhicule. + + + + Failed, another player is closer than you are. + Failed, another player is closer than you are. + + Не удалось, другой игрок ближе, чем вы. + + + Échec, un autre joueur est plus proche. + + + + You and %1 are now tagged as friendlies. + You and %1 are now tagged as friendlies. + + Вы и %1 теперь друзья. + + + Vous et %1 êtes maintenant marqués comme amicaux. + + + + \n\nYou cannot perform an upgrade while still inside a vehicle. + \n\nYou cannot perform an upgrade while still inside a vehicle. + + \n\nВы не можете улучшить транспорт, находясь в нём. + + + \n\nVous ne pouvez pas effectuer d'améliorations lorsque vous êtes à l'intérieur d'un véhicule. + + + + English: Missing Parts after first check Item: %1 / %2 + English: Missing Parts after first check Item: %1 / %2 + + + + + Éléments manquants après la première vérification : %1 / %2 + + + You must remove the lock to delete this item! You must remove the lock to delete this item! @@ -6346,14 +6536,14 @@ - + Deconstructing modular buildables will not refund any components. Deconstructing modular buildables will not refund any components. - + Разборка модульных построек не возвратит составные части. - + Le démontage de la construction ne rendra pas de composants. From 825c603026b018fa3127f8d229c9b116275496b3 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 11:52:29 -0500 Subject: [PATCH 02/20] localize fixes --- SQF/dayz_code/actions/remove.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/actions/remove.sqf b/SQF/dayz_code/actions/remove.sqf index b637b348d..bb42e387c 100644 --- a/SQF/dayz_code/actions/remove.sqf +++ b/SQF/dayz_code/actions/remove.sqf @@ -17,7 +17,7 @@ _activatingPlayer = player; _objOwnerID = _obj getVariable["CharacterID","0"]; _isOwnerOfObj = (_objOwnerID == dayz_characterID); -if (_obj in DZE_DoorsLocked) exitWith { DZE_ActionInProgress = false; cutText [(localize "STR_EPOCH_ACTIONS_31"), "PLAIN DOWN"];}; +if (_obj in DZE_DoorsLocked) exitWith { DZE_ActionInProgress = false; cutText [(localize "STR_EPOCH_ACTIONS_20"), "PLAIN DOWN"];}; if(_obj getVariable ["GeneratorRunning", false]) exitWith {DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_89"), "PLAIN DOWN"];}; _objectID = _obj getVariable ["ObjectID","0"]; @@ -69,7 +69,7 @@ cutText [format[(localize "str_epoch_player_162"),_nameVehicle], "PLAIN DOWN"]; if (_isModular) then { //allow previous cutText to show, then show this if modular. - cutText [(localize "STR_EPOCH_ACTIONS_32"), "PLAIN DOWN"]; + cutText [(localize "STR_EPOCH_ACTIONS_21"), "PLAIN DOWN"]; }; // Alert zombies once. From 927a69a9ce915664a8a4c3424210be91a1fa0fb4 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:11:49 -0500 Subject: [PATCH 03/20] localize --- SQF/dayz_code/actions/call_zombies.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/call_zombies.sqf b/SQF/dayz_code/actions/call_zombies.sqf index e76ba44b2..12dc3e4c8 100644 --- a/SQF/dayz_code/actions/call_zombies.sqf +++ b/SQF/dayz_code/actions/call_zombies.sqf @@ -20,4 +20,4 @@ sleep 3; // allow menu again s_player_callzombies = -1; -// cutText ["Calling Zombies...", "PLAIN DOWN"]; \ No newline at end of file +// cutText [localize "STR_EPOCH_ACTIONS_1", "PLAIN DOWN"]; From e65d1cc9d3787a87b799c203a18db49020f1e41c Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:17:56 -0500 Subject: [PATCH 04/20] localization --- SQF/dayz_code/actions/maintain_area.sqf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SQF/dayz_code/actions/maintain_area.sqf b/SQF/dayz_code/actions/maintain_area.sqf index 1e1f909e6..f51dfe5d6 100644 --- a/SQF/dayz_code/actions/maintain_area.sqf +++ b/SQF/dayz_code/actions/maintain_area.sqf @@ -1,7 +1,7 @@ //Code developed by Axe Cop for use in DayZ Epoch Mod. private ["_missing","_missingQty","_proceed","_itemIn","_countIn","_qty","_num_removed","_removed","_removed_total","_tobe_removed_total","_obj","_objectID","_objectUID","_classname","_location","_dir","_objectCharacterID","_object","_temp_removed_array","_textMissing","_target","_objectClasses","_range","_objects","_requirements","_count","_cost","_itemText","_option"]; -if (DZE_ActionInProgress) exitWith { cutText ["Maintenance already in progress." , "PLAIN DOWN"]; }; +if (DZE_ActionInProgress) exitWith { cutText [(localize "STR_EPOCH_ACTIONS_2) , "PLAIN DOWN"]; }; DZE_ActionInProgress = true; player removeAction s_player_maintain_area; @@ -115,17 +115,17 @@ switch _option do { player reveal _object; } forEach _objects; - cutText [format["You have maintained %1 building parts.", _count], "PLAIN DOWN", 5]; + cutText [format[(localize "STR_EPOCH_ACTIONS_4"), _count], "PLAIN DOWN", 5]; // uncomment the next 2 lines if you want logging of area maintenance to the server report file (Arma2OAserver.RPT) //maintainArea_log = [player, _target, _count]; //publicVariableServer "maintainArea_log"; } else { {player addMagazine _x;} forEach _temp_removed_array; - cutText [format["Missing Parts after first check Item: %1 / %2",_removed_total,_tobe_removed_total], "PLAIN DOWN"]; + cutText [format[(localize "STR_EPOCH_ACTIONS_5"),_removed_total,_tobe_removed_total], "PLAIN DOWN"]; }; } else { _textMissing = getText(configFile >> "CfgMagazines" >> _missing >> "displayName"); - cutText [format["Missing %1 more of %2", _missingQty, _textMissing], "PLAIN DOWN"]; + cutText [format[(localize "STR_EPOCH_ACTIONS_6"), _missingQty, _textMissing], "PLAIN DOWN"]; }; }; case "preview": { @@ -139,7 +139,7 @@ switch _option do { }; _cost = _cost + (str(_countIn) + " of " + _itemText); } forEach _requirements; - cutText [format["%1 building parts in range, maintenance would cost %2.", _count, _cost], "PLAIN DOWN"]; + cutText [format[(localize "STR_EPOCH_ACTIONS_7"), _count, _cost], "PLAIN DOWN"]; }; }; From 4300b6a94992a2fffac05fe9fb9545e056e15b68 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:19:26 -0500 Subject: [PATCH 05/20] localize --- SQF/dayz_code/actions/player_tagFriendly.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/actions/player_tagFriendly.sqf b/SQF/dayz_code/actions/player_tagFriendly.sqf index d08a6edb1..ae5f2606b 100644 --- a/SQF/dayz_code/actions/player_tagFriendly.sqf +++ b/SQF/dayz_code/actions/player_tagFriendly.sqf @@ -16,9 +16,9 @@ _rfriendlies = _target getVariable ["friendlies", []]; if !(_callerID in _rfriendlies) then { // caller - titleText ["You have tagged a player as friendly. Waiting for other player to accept.", "PLAIN DOWN"]; // TODO: localize + titleText [(localize "STR_EPOCH_ACTIONS_8"), "PLAIN DOWN"]; // TODO: localize // target //Could be changed to PVC via server_sendToClient.sqf (From DayZCE) - Commit by Skaronator PVDZE_plr_FriendRQ = _target; publicVariable "PVDZE_plr_FriendRQ"; -}; \ No newline at end of file +}; From 9bc5aaddde213e3bf6c641dc5adfbf16bd096251 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:19:36 -0500 Subject: [PATCH 06/20] localize --- SQF/dayz_code/actions/player_tagFriendly.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/player_tagFriendly.sqf b/SQF/dayz_code/actions/player_tagFriendly.sqf index ae5f2606b..654bd4821 100644 --- a/SQF/dayz_code/actions/player_tagFriendly.sqf +++ b/SQF/dayz_code/actions/player_tagFriendly.sqf @@ -16,7 +16,7 @@ _rfriendlies = _target getVariable ["friendlies", []]; if !(_callerID in _rfriendlies) then { // caller - titleText [(localize "STR_EPOCH_ACTIONS_8"), "PLAIN DOWN"]; // TODO: localize + titleText [(localize "STR_EPOCH_ACTIONS_8"), "PLAIN DOWN"]; // target //Could be changed to PVC via server_sendToClient.sqf (From DayZCE) - Commit by Skaronator PVDZE_plr_FriendRQ = _target; From 4d8592fefa5bf4cabd6a7a363380b23977d69b67 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:21:48 -0500 Subject: [PATCH 07/20] localize --- SQF/dayz_code/actions/player_wearClothes.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SQF/dayz_code/actions/player_wearClothes.sqf b/SQF/dayz_code/actions/player_wearClothes.sqf index 87b1e426e..74fdd9b4a 100644 --- a/SQF/dayz_code/actions/player_wearClothes.sqf +++ b/SQF/dayz_code/actions/player_wearClothes.sqf @@ -21,9 +21,9 @@ if (!_hasclothesitem) exitWith { DZE_ActionInProgress = false; cutText [format[( if (vehicle player != player) exitWith { DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_85"), "PLAIN DOWN"]}; -if (!isNull (unitBackpack player)) exitWith { DZE_ActionInProgress = false; cutText ["\n\nUnable to change clothes while wearing backpack.", "PLAIN DOWN"] }; +if (!isNull (unitBackpack player)) exitWith { DZE_ActionInProgress = false; cutText [(localize "STR_EPOCH_ACTIONS_9"), "PLAIN DOWN"] }; -if ("CSGAS" in (magazines player)) exitWith { DZE_ActionInProgress = false; cutText ["\n\nUnable to change clothes while carrying a filled chainsaw.", "PLAIN DOWN"] }; +if ("CSGAS" in (magazines player)) exitWith { DZE_ActionInProgress = false; cutText [(localize "STR_EPOHC_ACTIONS_10"), "PLAIN DOWN"] }; _myModel = (typeOf player); _itemNew = "Skin_" + _myModel; @@ -54,4 +54,4 @@ if ( (isClass(_config >> _itemNew)) ) then { }; }; }; -DZE_ActionInProgress = false; \ No newline at end of file +DZE_ActionInProgress = false; From 1a961e475a2bf836ecf86bcd408d2d9a7af0d603 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:22:52 -0500 Subject: [PATCH 08/20] localize --- SQF/dayz_code/actions/trade_any_vehicle.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/trade_any_vehicle.sqf b/SQF/dayz_code/actions/trade_any_vehicle.sqf index 57ea8ac9f..55ff3e8d8 100644 --- a/SQF/dayz_code/actions/trade_any_vehicle.sqf +++ b/SQF/dayz_code/actions/trade_any_vehicle.sqf @@ -142,7 +142,7 @@ if (_qty >= _qty_in) then { PVDZE_veh_Publish2 = [_veh,[_dir,_location],_part_out,false,_keySelected,_activatingPlayer]; publicVariableServer "PVDZE_veh_Publish2"; - cutText [format[("Bought %3 for %1 %2, key added to toolbelt."),_qty_in,_textPartIn,_textPartOut], "PLAIN DOWN"]; + cutText [format[(localize "STR_EPOCH_ACTIONS_11"),_qty_in,_textPartIn,_textPartOut], "PLAIN DOWN"]; } else { player removeMagazine _keySelected; }; From 6216e93c4abb8f6743656a4a7612e5c1711e39ba Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:23:34 -0500 Subject: [PATCH 09/20] localize --- SQF/dayz_code/actions/trade_any_boat.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/actions/trade_any_boat.sqf b/SQF/dayz_code/actions/trade_any_boat.sqf index cdc694c17..fc001d57e 100644 --- a/SQF/dayz_code/actions/trade_any_boat.sqf +++ b/SQF/dayz_code/actions/trade_any_boat.sqf @@ -136,7 +136,7 @@ if (_qty >= _qty_in) then { player reveal _veh; - cutText [format[("Bought %3 for %1 %2, key added to toolbelt."),_qty_in,_textPartIn,_textPartOut], "PLAIN DOWN"]; + cutText [format[(localize "STR_EPOCH_ACTIONS_11"),_qty_in,_textPartIn,_textPartOut], "PLAIN DOWN"]; } else { player removeMagazine _keySelected; }; @@ -191,4 +191,4 @@ if (_qty >= _qty_in) then { }; }; -DZE_ActionInProgress = false; \ No newline at end of file +DZE_ActionInProgress = false; From 91fddad252f653995addfc083c0fec6f276260f5 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:24:38 -0500 Subject: [PATCH 10/20] localize --- SQF/dayz_code/compile/fn_checkItems.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/fn_checkItems.sqf b/SQF/dayz_code/compile/fn_checkItems.sqf index bb33cc135..bc61a8200 100644 --- a/SQF/dayz_code/compile/fn_checkItems.sqf +++ b/SQF/dayz_code/compile/fn_checkItems.sqf @@ -39,7 +39,7 @@ _hasItems = true; _missingQty = (_countIn - _qty); _hasItems = false; _textMissing = getText(configFile >> "CfgMagazines" >> _missing >> "displayName"); - cutText [format["Missing %1 more of %2", _missingQty, _textMissing], "PLAIN DOWN"]; + cutText [format[(localize "STR_EPOCH_ACTIONS_12"), _missingQty, _textMissing], "PLAIN DOWN"]; }; } forEach _items; _hasItems From a052f4275995fda4c17fe76c2ffa741ef2254f43 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:25:13 -0500 Subject: [PATCH 11/20] localize --- SQF/dayz_code/compile/fn_hasTools.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/fn_hasTools.sqf b/SQF/dayz_code/compile/fn_hasTools.sqf index 94fe6c96b..f1a869803 100644 --- a/SQF/dayz_code/compile/fn_hasTools.sqf +++ b/SQF/dayz_code/compile/fn_hasTools.sqf @@ -20,7 +20,7 @@ _hasTools = true; if (!(_x in _items)) exitWith { _hasTools = false; _missing = getText (configFile >> "cfgWeapons" >> _x >> "displayName"); - cutText [format["Missing tool %1", _missing] , "PLAIN DOWN"]; + cutText [format[(localize "STR_EPOCH_ACTIONS_13"), _missing] , "PLAIN DOWN"]; }; } forEach _tools; _hasTools From d2aaff8113a422d20ad6934b461e247e865b7766 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:26:31 -0500 Subject: [PATCH 12/20] localize --- SQF/dayz_code/compile/fn_removeItems.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/fn_removeItems.sqf b/SQF/dayz_code/compile/fn_removeItems.sqf index afc943d84..83147b5d6 100644 --- a/SQF/dayz_code/compile/fn_removeItems.sqf +++ b/SQF/dayz_code/compile/fn_removeItems.sqf @@ -50,5 +50,5 @@ _tobe_removed_total = 0; if (_tobe_removed_total == _removed_total) exitWith { true }; // missing parts { player addMagazine _x; } forEach _temp_removed_array; -cutText [format["Missing Parts after first check Item: %1 / %2", _removed_total, _tobe_removed_total], "PLAIN DOWN"]; +cutText [format[(localize "STR_EPOCH_ACTIONS_5"), _removed_total, _tobe_removed_total], "PLAIN DOWN"]; false From 0a003fc3bbb52544e497e9dd4c5777d9e783b7c0 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:27:14 -0500 Subject: [PATCH 13/20] localize --- SQF/dayz_code/compile/object_removeTankTrap.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/object_removeTankTrap.sqf b/SQF/dayz_code/compile/object_removeTankTrap.sqf index 6eb420290..5e4086930 100644 --- a/SQF/dayz_code/compile/object_removeTankTrap.sqf +++ b/SQF/dayz_code/compile/object_removeTankTrap.sqf @@ -9,5 +9,5 @@ _nearTankTrap = _nearTankTraps select 0; if (!isNull _nearTankTrap and _canDo) then { [0,1,2,_nearTankTrap] spawn player_removeObject; } else { - cutText ["No Tank Traps found nearby.", "PLAIN DOWN"]; + cutText [(localize "STR_EPOCH_ACTIONS_14"), "PLAIN DOWN"]; }; From ce408df7cd60dd0cf5115af686d06cfed6262a01 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:28:13 -0500 Subject: [PATCH 14/20] localize --- SQF/dayz_code/compile/player_antiWall.sqf | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SQF/dayz_code/compile/player_antiWall.sqf b/SQF/dayz_code/compile/player_antiWall.sqf index 48948f2e1..4e9e53245 100644 --- a/SQF/dayz_code/compile/player_antiWall.sqf +++ b/SQF/dayz_code/compile/player_antiWall.sqf @@ -43,22 +43,22 @@ if(_activated) then { _id = [player,"crushed"] spawn player_death; }; if ((_vehicle emptyPositions "driver") > 0) exitWith { - cutText ["Another object is blocking the vehicle exit.", "PLAIN DOWN"]; + cutText [(localize "STR_EPOCH_ACTIONS_15"), "PLAIN DOWN"]; player action ["getInDriver", _vehicle]; DZE_AntiWallCounter = DZE_AntiWallCounter + 1; }; if ((_vehicle emptyPositions "gunner") > 0) exitWith { - cutText ["Another object is blocking the vehicle exit.", "PLAIN DOWN"]; + cutText [(localize "STR_EPOCH_ACTIONS_15"), "PLAIN DOWN"]; player action ["GetInGunner", _vehicle]; DZE_AntiWallCounter = DZE_AntiWallCounter + 1; }; if ((_vehicle emptyPositions "commander") > 0) exitWith { - cutText ["Another object is blocking the vehicle exit.", "PLAIN DOWN"]; + cutText [(localize "STR_EPOCH_ACTIONS_15"), "PLAIN DOWN"]; player action ["getInCommander", _vehicle]; DZE_AntiWallCounter = DZE_AntiWallCounter + 1; }; if ((_vehicle emptyPositions "cargo") > 0) exitWith { - cutText ["Another object is blocking the vehicle exit.", "PLAIN DOWN"]; + cutText [(localize "STR_EPOCH_ACTIONS_15"), "PLAIN DOWN"]; player action ["getInCargo", _vehicle]; DZE_AntiWallCounter = DZE_AntiWallCounter + 1; }; @@ -69,4 +69,4 @@ if(_activated) then { } else { DZE_AntiWallCounter = 0; -}; \ No newline at end of file +}; From 6fe6ea1fca66e20172ba91ad64e7fa0bdb471b0b Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:29:10 -0500 Subject: [PATCH 15/20] localize --- SQF/dayz_code/compile/player_unlockDoor.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/player_unlockDoor.sqf b/SQF/dayz_code/compile/player_unlockDoor.sqf index 18b5813b2..d327eeeea 100644 --- a/SQF/dayz_code/compile/player_unlockDoor.sqf +++ b/SQF/dayz_code/compile/player_unlockDoor.sqf @@ -27,7 +27,7 @@ if(!isNull dayz_selectedDoor) then { // close display since another player is closer _display = findDisplay 41144; _display closeDisplay 3000; - cutText ["Failed, another player is closer than you are.", "PLAIN DOWN"]; + cutText [(localize "STR_EPOCH_ACTIONS_16"), "PLAIN DOWN"]; } else { // get object combination @@ -82,4 +82,4 @@ if(!isNull dayz_selectedDoor) then { _display = findDisplay 41144; _display closeDisplay 3000; }; -DZE_DYN_UnlockDoorInprogress = nil; \ No newline at end of file +DZE_DYN_UnlockDoorInprogress = nil; From 93ae496a7827978b2f61825773f99a2df2455b50 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:30:10 -0500 Subject: [PATCH 16/20] localize --- SQF/dayz_code/compile/player_updateGui.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/player_updateGui.sqf b/SQF/dayz_code/compile/player_updateGui.sqf index 98272197b..fd0c70488 100644 --- a/SQF/dayz_code/compile/player_updateGui.sqf +++ b/SQF/dayz_code/compile/player_updateGui.sqf @@ -166,7 +166,7 @@ if (!isNull _humanityTarget and isPlayer _humanityTarget and alive _humanityTarg _rfriendlyTo set [count _rfriendlyTo, _charID]; _humanityTarget setVariable ["friendlyTo", _rfriendlyTo, true]; - // titleText [format["You and %1 are now tagged as friendlies.", (name _humanityTarget)], "PLAIN DOWN"]; + // titleText [format[(localize "STR_EPOCH_ACTIONS_17"), (name _humanityTarget)], "PLAIN DOWN"]; }; @@ -202,4 +202,4 @@ if (dayz_humanitytarget != _string) then { }; _array = [_foodVal,_thirstVal]; -_array \ No newline at end of file +_array From d5eedc19088ffce027026bdbc01a69e1cae162b9 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:31:05 -0500 Subject: [PATCH 17/20] localize --- SQF/dayz_code/compile/player_upgradeVehicle.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/player_upgradeVehicle.sqf b/SQF/dayz_code/compile/player_upgradeVehicle.sqf index 676f8399c..a2ad370a6 100644 --- a/SQF/dayz_code/compile/player_upgradeVehicle.sqf +++ b/SQF/dayz_code/compile/player_upgradeVehicle.sqf @@ -7,7 +7,7 @@ private ["_proceed","_itemIn","_countIn","_missing","_missingQty","_qty","_remov if(DZE_ActionInProgress) exitWith { cutText [(localize "STR_EPOCH_PLAYER_52") , "PLAIN DOWN"]; }; DZE_ActionInProgress = true; -if (vehicle player != player) exitWith {DZE_ActionInProgress = false; cutText ["\n\nYou cannot perform an upgrade while still inside a vehicle.", "PLAIN DOWN"]}; +if (vehicle player != player) exitWith {DZE_ActionInProgress = false; cutText [(localize "STR_EPOCH_ACTIONS_18"), "PLAIN DOWN"]}; // look for nearest empty vehicle _findNearestVehicles = nearestObjects [player, ["LandVehicle"], 10]; @@ -125,4 +125,4 @@ if (_IsNearVehicle >= 1) then { cutText [(localize "STR_EPOCH_PLAYER_27"), "PLAIN DOWN"]; }; -DZE_ActionInProgress = false; \ No newline at end of file +DZE_ActionInProgress = false; From 686aa7a84be4870a8927280017cbe78fbe261288 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:32:13 -0500 Subject: [PATCH 18/20] STR_EPOCH_ACTIONS_19 dupe removed. --- SQF/dayz_epoch_b/stringtable.xml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/SQF/dayz_epoch_b/stringtable.xml b/SQF/dayz_epoch_b/stringtable.xml index 2bce43d8e..b3a786548 100644 --- a/SQF/dayz_epoch_b/stringtable.xml +++ b/SQF/dayz_epoch_b/stringtable.xml @@ -6516,16 +6516,6 @@ \n\nVous ne pouvez pas effectuer d'améliorations lorsque vous êtes à l'intérieur d'un véhicule. - - English: Missing Parts after first check Item: %1 / %2 - English: Missing Parts after first check Item: %1 / %2 - - - - - Éléments manquants après la première vérification : %1 / %2 - - You must remove the lock to delete this item! You must remove the lock to delete this item! From 6a50616e98ec5ebe9f1e3485e9e491f25e5ca87a Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:35:00 -0500 Subject: [PATCH 19/20] localize --- SQF/dayz_code/actions/call_zombies.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/call_zombies.sqf b/SQF/dayz_code/actions/call_zombies.sqf index 12dc3e4c8..e8279b9a8 100644 --- a/SQF/dayz_code/actions/call_zombies.sqf +++ b/SQF/dayz_code/actions/call_zombies.sqf @@ -20,4 +20,4 @@ sleep 3; // allow menu again s_player_callzombies = -1; -// cutText [localize "STR_EPOCH_ACTIONS_1", "PLAIN DOWN"]; +// cutText [(localize "STR_EPOCH_ACTIONS_1"), "PLAIN DOWN"]; From caec75424ad28775bc71c80bc50d5213cdf4d246 Mon Sep 17 00:00:00 2001 From: HARLAN Date: Mon, 23 Dec 2013 12:35:39 -0500 Subject: [PATCH 20/20] localize --- SQF/dayz_code/actions/player_wearClothes.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/player_wearClothes.sqf b/SQF/dayz_code/actions/player_wearClothes.sqf index 74fdd9b4a..847ab323a 100644 --- a/SQF/dayz_code/actions/player_wearClothes.sqf +++ b/SQF/dayz_code/actions/player_wearClothes.sqf @@ -23,7 +23,7 @@ if (vehicle player != player) exitWith { DZE_ActionInProgress = false; cutText [ if (!isNull (unitBackpack player)) exitWith { DZE_ActionInProgress = false; cutText [(localize "STR_EPOCH_ACTIONS_9"), "PLAIN DOWN"] }; -if ("CSGAS" in (magazines player)) exitWith { DZE_ActionInProgress = false; cutText [(localize "STR_EPOHC_ACTIONS_10"), "PLAIN DOWN"] }; +if ("CSGAS" in (magazines player)) exitWith { DZE_ActionInProgress = false; cutText [(localize "STR_EPOCH_ACTIONS_10"), "PLAIN DOWN"] }; _myModel = (typeOf player); _itemNew = "Skin_" + _myModel;