From 64348b1f84ec4ad44c38b5e442ab7a48d799e93c Mon Sep 17 00:00:00 2001 From: oiad Date: Sun, 11 Sep 2016 15:21:43 +1200 Subject: [PATCH] Localization additions Adds some more text to localization, Moves sandbags around so they are all next to each other. --- .../Configs/CfgMagazines/Items/Sandbag.hpp | 21 +++-- .../Configs/CfgMagazines/Planting.hpp | 20 ++--- .../Configs/CfgWeapons/Tools/Chainsaw.hpp | 14 +-- .../Configs/CfgWeapons/Weapon/Sniper/M107.hpp | 4 +- SQF/dayz_code/stringtable.xml | 85 ++++++++++++++++--- 5 files changed, 104 insertions(+), 40 deletions(-) diff --git a/SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp b/SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp index e7f453000..7a40056f4 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Items/Sandbag.hpp @@ -84,11 +84,10 @@ class BagFenceRound_DZ_kit : CA_Magazine { scope = public; count = 1; type = 256; - displayName = "Round Sandbag Fence"; + displayName = $STR_EQUIP_NAME_21_ROUND; + descriptionShort = $STR_EQUIP_DESC_21; model = "\dayz_equip\models\sandbags.p3d"; picture = "\dayz_equip\textures\equip_sandbag_ca.paa"; - descriptionShort = $STR_EQUIP_DESC_21; - class ItemActions { class Build { text = $STR_EPOCH_PLAYER_299; @@ -113,8 +112,8 @@ class sandbag_nest_kit: CA_Magazine scope = public; count = 1; type = 256; - displayName = "Sandbag Nest"; - descriptionShort = "Sandbag Nest: A buildable fortification object, can be removed."; + displayName = $STR_EQUIP_NAME_21_NEST; + descriptionShort = $STR_EQUIP_DESC_21_NEST; model = "\z\addons\dayz_epoch\models\supply_crate.p3d"; picture = "\z\addons\dayz_epoch\pictures\equip_wooden_crate_ca.paa"; weight = 50; @@ -134,10 +133,10 @@ class ItemSandbagLarge : CA_Magazine { scope = public; count = 1; type = 256; - displayName = "H-barrier cube"; + displayName = $STR_EQUIP_NAME_21_HBARRIER; + descriptionShort = $STR_EQUIP_DESC_21_HBARRIER; model = "\dayz_equip\models\sandbags.p3d"; // TODO model picture = "\dayz_equip\textures\equip_sandbag_ca.paa"; - descriptionShort = "Hesco berrier: A buildable object that is used for fortification purposes."; weight = 50; class ItemActions { class Build { @@ -162,10 +161,10 @@ class ItemSandbagExLarge : CA_Magazine { scope = public; count = 1; type = 256; - displayName = "3 x H-barrier cube"; + displayName = $STR_EQUIP_NAME_21_3XHBARRIER; + descriptionShort = $STR_EQUIP_DESC_21_HBARRIER; model = "\dayz_equip\models\sandbags.p3d"; // TODO model picture = "\dayz_equip\textures\equip_sandbag_ca.paa"; - descriptionShort = "Hesco berrier: A buildable object that is used for fortification purposes."; weight = 150; class ItemActions { class Build { @@ -190,10 +189,10 @@ class ItemSandbagExLarge5x : CA_Magazine { scope = public; count = 1; type = 256; - displayName = "5 x H-barrier cube"; + displayName = $STR_EQUIP_NAME_21_5XHBARRIER; + descriptionShort = $STR_EQUIP_DESC_21_HBARRIER; model = "\dayz_equip\models\sandbags.p3d"; // TODO model picture = "\dayz_equip\textures\equip_sandbag_ca.paa"; - descriptionShort = "Hesco berrier: A buildable object that is used for fortification purposes."; weight = 200; class ItemActions { class Build { diff --git a/SQF/dayz_code/Configs/CfgMagazines/Planting.hpp b/SQF/dayz_code/Configs/CfgMagazines/Planting.hpp index e84bb4390..6a80aad39 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Planting.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Planting.hpp @@ -1,8 +1,8 @@ class ItemFertilizer: CA_Magazine { scope = public; count = 1; - displayName = "Fertilizer"; - descriptionShort = "Fertilizer"; + displayName = $STR_CRAFT_NAME_FERTILIZER; + descriptionShort = $STR_CRAFT_DESC_FERTILIZER; weight = 0.1; model = "z\addons\dayz_communityassets\models\mre.p3d"; // TODO: model + icon picture = "\z\addons\dayz_communityassets\pictures\equip_mre_CA.paa"; @@ -12,8 +12,8 @@ class ItemFertilizer: CA_Magazine { class ItemPumpkinSeed: CA_Magazine { scope = public; count = 1; - displayName = "A Pumpkin Seed"; - descriptionShort = "A Pumpkin Seed"; + displayName = $STR_CRAFT_NAME_PUMPKIN_SEED; + descriptionShort = $STR_CRAFT_DESC_PUMPKIN_SEED; weight = 0.1; model = "\z\addons\dayz_epoch\models\doc_child1.p3d"; // TODO: model + icon picture = "\z\addons\dayz_epoch\pictures\equip_child1_ca.paa"; @@ -34,8 +34,8 @@ class ItemPumpkinSeed: CA_Magazine { class ItemPumpkinPlant: CA_Magazine { scope = public; count = 1; - displayName = "A Pumpkin Plant"; - descriptionShort = "A Pumpkin Plant"; + displayName = $STR_CRAFT_NAME_PUMPKIN_PLANT; + descriptionShort = $STR_CRAFT_DESC_PUMPKIN_PLANT; weight = 0.1; model = "\z\addons\dayz_epoch\models\doc_child1.p3d"; // TODO: model + icon picture = "\z\addons\dayz_epoch\pictures\equip_child1_ca.paa"; @@ -54,8 +54,8 @@ class ItemPumpkinPlant: CA_Magazine { class ItemHempSeed: CA_Magazine { scope = public; count = 1; - displayName = "A Hemp Seed"; - descriptionShort = "A Hemp Seed"; + displayName = $STR_CRAFT_NAME_HEMP_SEED; + descriptionShort = $STR_CRAFT_DESC_HEMP_SEED; weight = 0.1; model = "\z\addons\dayz_epoch\models\doc_child2.p3d"; // TODO: model + icon picture = "\z\addons\dayz_epoch\pictures\equip_child2_ca.paa"; @@ -76,8 +76,8 @@ class ItemHempSeed: CA_Magazine { class ItemHempPlant: CA_Magazine { scope = public; count = 1; - displayName = "A Hemp Plant"; - descriptionShort = "A Hemp Plant"; + displayName = $STR_CRAFT_NAME_HEMP_PLANT; + descriptionShort = $STR_CRAFT_DESC_HEMP_PLANT; weight = 0.1; model = "\z\addons\dayz_epoch\models\doc_child2.p3d"; // TODO: model + icon picture = "\z\addons\dayz_epoch\pictures\equip_child2_ca.paa"; diff --git a/SQF/dayz_code/Configs/CfgWeapons/Tools/Chainsaw.hpp b/SQF/dayz_code/Configs/CfgWeapons/Tools/Chainsaw.hpp index 5e4bfd1b3..86b3d4a40 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Tools/Chainsaw.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Tools/Chainsaw.hpp @@ -28,7 +28,7 @@ picture = "\z\addons\dayz_epoch\pictures\equip_chainsaw_CA.paa"; - displayName = "Chainsaw"; + displayName = $STR_EPOCH_CHAINSAW; cursor = ""; cursoraim = "\ca\Weapons\Data\clear_empty"; @@ -89,27 +89,27 @@ magazines[] = {"CSGAS"}; class Library { - libTextDesc = "Hermlite Chainsaw"; + libTextDesc = $STR_EPOCH_DESC_CHAINSAW; }; - descriptionShort = "Hermlite Chainsaw"; + descriptionShort = $STR_EPOCH_DESC_CHAINSAW; }; class ChainSawB : ChainSaw { model = "\z\addons\dayz_epoch\models\chainsaw_B.p3d"; picture = "\z\addons\dayz_epoch\pictures\equip_chainsawB_CA.paa"; - descriptionShort = "Hermlite Chainsaw (Blue)"; + descriptionShort = $STR_EPOCH_DESC_CHAINSAW_BLUE; }; class ChainSawG : ChainSaw { model = "\z\addons\dayz_epoch\models\chainsaw_G.p3d"; picture = "\z\addons\dayz_epoch\pictures\equip_chainsawG_CA.paa"; - descriptionShort = "Hermlite Chainsaw (Green)"; + descriptionShort = $STR_EPOCH_DESC_CHAINSAW_GREEN; }; class ChainSawP : ChainSaw { model = "\z\addons\dayz_epoch\models\chainsaw_P.p3d"; picture = "\z\addons\dayz_epoch\pictures\equip_chainsawP_CA.paa"; - descriptionShort = "Hermlite Chainsaw (Pink)"; + descriptionShort = $STR_EPOCH_DESC_CHAINSAW_PINK; }; class ChainSawR : ChainSaw { model = "\z\addons\dayz_epoch\models\chainsaw_R.p3d"; picture = "\z\addons\dayz_epoch\pictures\equip_chainsawR_CA.paa"; - descriptionShort = "Hermlite Chainsaw (Red)"; + descriptionShort = $STR_EPOCH_DESC_CHAINSAW_RED; }; diff --git a/SQF/dayz_code/Configs/CfgWeapons/Weapon/Sniper/M107.hpp b/SQF/dayz_code/Configs/CfgWeapons/Weapon/Sniper/M107.hpp index 8b18c5811..f41b117e1 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Weapon/Sniper/M107.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Weapon/Sniper/M107.hpp @@ -16,7 +16,7 @@ class m107: Rifle distanceZoomMin = 500; opticsZoomMax = 0.0553; distanceZoomMax = 200; - displayname = "M107"; + displayname = $STR_DZ_WPN_M107_NAME; autoFire = 0; begin1[] = {"ca\sounds\weapons\rifles\m107",2.51189,1,1300}; soundBegin[] = {"begin1",1}; @@ -35,7 +35,7 @@ class m107: Rifle { libTextDesc = "The M107 is a long-range, shoulder fired, semi-automatic sniper rifle, manufactured by Beneli Armi S.P.A. It is highly prized for its manageable recoil.
The M107uses 12.7x99 mm cartridges and its effective range is around 1.800 m."; }; - descriptionShort = "Anti-materiel sniper rifle
Caliber: 12.7x99 mm"; + descriptionShort = $STR_DZ_WPN_M107_DESC; model = "\ca\weapons_E\m107\m107"; htMin = 1; htMax = 420; diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index 643d39e88..117bc7c21 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -2750,7 +2750,6 @@ M9SD M9 с глушителем - M9SD M9 Silencieux M9 s tlumičem M9 SD @@ -2782,7 +2781,6 @@ BizonSD Бизон с глушителем - BizonSD Bizon Silencieux Bizon s tlumičem Bizon SD @@ -2892,6 +2890,36 @@ Blueprint vytvořit Herbal drink. Povinné - 1 láhev vody vařené a jedna bylina box. Rezept für einen Kräutertrunk. Gebraucht werden: 1x Flasche gekochtes Wasser, 1x Kräuter-Box. + + Fertilizer + + + A bag that is applied to soils or to plant tissues (usually leaves) to supply one or more plant nutrients essential to the growth of plants. + + + Pumpkin Seed + + + A single pumpkin seed. + + + Pumpkin Plant + + + A fully grown pumpkin plant. + + + Hemp Seed + + + A single hemp seed. + + + Hemp Plant + + + A fully grown hemp plant. Hemp is used to make a variety of commercial and industrial products including rope, clothes, food, paper, textiles, plastics, insulation and biofuel. + Baseball Bat Barbed Stacheldrahtkeule @@ -4313,6 +4341,27 @@ Jutové pytle, lze naplnit pískem nebo zeminou a použít je pro postavení opevnění. Des sacs de jute qui peuvent être remplis de sable et utilisés pour des fortifications militaires. + + Sandbag Fence (Round) + + + Sandbag Nest + + + A buildable fortification object, can be removed. + + + Sandbag Cube (H-barrier) + + + Hesco barrier: A buildable object that is used for fortification purposes. + + + Sandbag Cube (3x H-barrier) + + + Sandbag Cube (5x H-barrier) + Tank Trap Kit Panzersperre @@ -9770,6 +9819,12 @@ DMR Camo DMR (камуфляж) + + M107 + + + Anti-materiel sniper rifle, 12.7x99 mm caliber round. + @@ -13992,6 +14047,24 @@ Kann mit einem Vorschlaghammer von Steinen gewonnen werden. Добывается из камней с помощью кувалды. + + Chainsaw + + + Hermlite 2 Stroke Chainsaw + + + Hermlite 2 Stroke Chainsaw (Blue) + + + Hermlite 2 Stroke Chainsaw (Green) + + + Hermlite 2 Stroke Chainsaw (Pink) + + + Hermlite 2 Stroke Chainsaw (Red) + 2-Stroke Engine Oil 2-Takt-Motorenöl @@ -15082,14 +15155,6 @@ Mags Предметов - - Weps - Оружия - - - Bags - Рюкзаков - Attachments Zubehör