From 78dd0583fb5f7764312067cb27c1da81a20ee835 Mon Sep 17 00:00:00 2001 From: Don Date: Sun, 20 Aug 2017 03:28:37 -0700 Subject: [PATCH] Update Multi-language support Update Multi-language support --- config.lua | 2 +- jobs/fisherman.lua | 42 ++++++++++---------- jobs/lumberjack.lua | 18 ++++----- jobs/miner.lua | 94 ++++++++++++++++++++++---------------------- jobs/reporter.lua | 12 +++--- jobs/slaughterer.lua | 52 ++++++++++++------------ jobs/textil.lua | 52 ++++++++++++------------ locales/en.lua | 87 +++++++++++++++++++++++++++++++++------- locales/fr.lua | 77 +++++++++++++++++++++++++++++++----- 9 files changed, 275 insertions(+), 161 deletions(-) diff --git a/config.lua b/config.lua index 89682111..392a3499 100644 --- a/config.lua +++ b/config.lua @@ -1,6 +1,6 @@ Config = {} Config.DrawDistance = 1000.0 -Config.Locale = 'fr' +Config.Locale = 'en' Config.Plates = { taxi = "TAXI", diff --git a/jobs/fisherman.lua b/jobs/fisherman.lua index e8af59c0..eca1756d 100644 --- a/jobs/fisherman.lua +++ b/jobs/fisherman.lua @@ -24,9 +24,9 @@ Config.Jobs.fisherman = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Vestiaire", + Name = _U('cloakroom'), Type = "cloakroom", - Hint = "Appuyez sur ~INPUT_PICKUP~ pour vous changer.", + Hint = _U('cloak_change'), GPS = {x = 880.74462890625, y = -1663.9635009766, z = 29.370491027832} }, @@ -36,11 +36,11 @@ Config.Jobs.fisherman = { Size = {x = 110.0, y = 110.0, z = 10.0}, Marker= 1, Blip = true, - Name = "Zone de pêche", + Name = _U('fm_fish_area'), Type = "work", Item = { { - name = "Poisson", + name = _U('fm_fish'), db_name= "fish", time = 2000, max = 100, @@ -51,7 +51,7 @@ Config.Jobs.fisherman = { drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour pêcher.", + Hint = _U('fm_fish_button'), GPS = {x = 3859.43, y = 4448.83, z = 0.39994} }, @@ -61,10 +61,10 @@ Config.Jobs.fisherman = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Spawner bateau", + Name = _U('fm_spawnboat_title'), Type = "vehspawner", Spawner = 2, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour appeler le bateau.", + Hint = _U('fm_spawnboat'), Caution = 0, GPS = {x = 4435.21, y = 4829.6, z = 0.3439} }, @@ -74,7 +74,7 @@ Config.Jobs.fisherman = { Size = {x = 3.0, y = 3.0, z = 1.0}, Marker= -1, Blip = false, - Name = "Bateau", + Name = _U('fm_boat_title'), Type = "vehspawnpt", Spawner = 2, GPS = 0, @@ -87,9 +87,9 @@ Config.Jobs.fisherman = { Color = {r = 255, g = 0, b = 0}, Marker= 1, Blip = false, - Name = "Supression du bateau", + Name = _U('fm_boat_return_title'), Type = "vehdelete", - Hint = "Appuyez sur ~INPUT_PICKUP~ pour rendre le bateau.", + Hint = _U('fm_boat_return_button'), Spawner = 2, Caution = 0, GPS = {x = -1012.64758300781, y = -1354.62634277344, z = 5.54292726516724}, @@ -103,10 +103,10 @@ Config.Jobs.fisherman = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = false, - Name = "Spawner véhicule de fonction", + Name = _U('spawn_veh'), Type = "vehspawner", Spawner = 1, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour appeler le véhicule de livraison.", + Hint = _U('spawn_veh_button'), Caution = 2000, GPS = {x = 3867.44, y = 4463.62, z = 1.72386} }, @@ -116,7 +116,7 @@ Config.Jobs.fisherman = { Size = {x = 3.0, y = 3.0, z = 1.0}, Marker= -1, Blip = false, - Name = "Véhicule de fonction", + Name = _U('service_vh'), Type = "vehspawnpt", Spawner = 1, GPS = 0, @@ -129,9 +129,9 @@ Config.Jobs.fisherman = { Color = {r = 255, g = 0, b = 0}, Marker= 1, Blip = false, - Name = "Supression du véhicule", + Name = _U('return_vh'), Type = "vehdelete", - Hint = "Appuyez sur ~INPUT_PICKUP~ pour rendre le véhicule.", + Hint = _U('return_vh_button'), Spawner = 1, Caution = 2000, GPS = 0, @@ -145,23 +145,23 @@ Config.Jobs.fisherman = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Point de livraison", - Type = "delivery", + Name = _U('delivery_point'), + Type = "delivery", Spawner = 2, Item = { { - name = "Livraison", + name = _U('delivery'), time = 500, remove = 1, max = 100, -- if not present, probably an error at itemQtty >= item.max in esx_jobs_sv.lua price = 11, requires = "fish", - requires_name = "Poisson", + requires_name = _U('fm_fish'), drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour livrer le poisson.", + Hint = _U('fm_deliver_fish'), GPS = {x = 3867.44, y = 4463.62, z = 1.72386} } } -} \ No newline at end of file +} diff --git a/jobs/lumberjack.lua b/jobs/lumberjack.lua index 4ecaead1..8cd21380 100644 --- a/jobs/lumberjack.lua +++ b/jobs/lumberjack.lua @@ -18,9 +18,9 @@ Config.Jobs.lumberjack = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = _U('lj_cr_title'), + Name = _U('cloakroom'), Type = "cloakroom", - Hint = _U('lj_cloakroom') + Hint = _U('cloak_change'), }, Wood = { @@ -101,10 +101,10 @@ Config.Jobs.lumberjack = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = false, - Name = _U('lj_spawn_veh'), + Name = _U('spawn_veh'), Type = "vehspawner", Spawner = 1, - Hint = _U('lj_spawn_veh_button'), + Hint = _U('spawn_veh_button'), Caution = 2000 }, @@ -113,7 +113,7 @@ Config.Jobs.lumberjack = { Size = {x = 3.0, y = 3.0, z = 1.0}, Marker= -1, Blip = false, - Name = _U('lj_service_vh'), + Name = _U('service_vh'), Type = "vehspawnpt", Spawner = 1, Heading = 285.1 @@ -125,9 +125,9 @@ Config.Jobs.lumberjack = { Color = {r = 255, g = 0, b = 0}, Marker= 1, Blip = false, - Name = _U('lj_return_vh'), + Name = _U('return_vh'), Type = "vehdelete", - Hint = _U('lj_return_vh_button'), + Hint = _U('return_vh_button'), Spawner = 1, Caution = 2000, GPS = 0, @@ -140,12 +140,12 @@ Config.Jobs.lumberjack = { Size = {x = 5.0, y = 5.0, z = 3.0}, Marker= 1, Blip = true, - Name = _U('lj_delivery_point'), + Name = _U('delivery_point'), Type = "delivery", Spawner = 1, Item = { { - name = _U('lj_delivery'), + name = _U('delivery'), time = 500, remove = 1, max = 100, -- if not present, probably an error at itemQtty >= item.max in esx_jobs_sv.lua diff --git a/jobs/miner.lua b/jobs/miner.lua index 52fde249..04f96390 100644 --- a/jobs/miner.lua +++ b/jobs/miner.lua @@ -18,9 +18,9 @@ Config.Jobs.miner = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Vestiaire", + Name = _U('cloakroom'), Type = "cloakroom", - Hint = "Appuyez sur ~INPUT_PICKUP~ pour vous changer.", + Hint = _U('cloak_change'), GPS = {x = 884.86889648438, y = -2176.5102539063, z = 29.519346237183} }, @@ -30,11 +30,11 @@ Config.Jobs.miner = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Rocher", + Name = _U('m_rock'), Type = "work", Item = { { - name = "Rocher", + name = _U('m_rock'), db_name= "stone", time = 3000, max = 7, @@ -45,7 +45,7 @@ Config.Jobs.miner = { drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour récupérer des rochers.", + Hint = _U('m_pickrocks'), GPS = {x = 289.244, y = 2862.9, z = 42.6424} }, @@ -55,22 +55,22 @@ Config.Jobs.miner = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Roche lavé", + Name = _U('m_washrock'), Type = "work", - Item = { + Item = { { - name = "Roche lavé", + name = _U('m_washrock'), db_name= "washed_stone", time = 5000, max = 7, add = 1, remove = 1, requires = "stone", - requires_name = "Rocher", + requires_name = _U('m_rock'), drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour laver les roches.", + Hint = _U('m_rock_button'), GPS = {x = 1109.14, y = -2007.87, z = 30.0188} }, @@ -80,43 +80,43 @@ Config.Jobs.miner = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Fonderie", + Name = _U('m_rock_smelting'), Type = "work", Item = { { - name = "Cuivre", + name = _U('m_copper'), db_name= "copper", time = 4000, max = 56, add = 8, remove = 1, requires = "washed_stone", - requires_name = "Roche lavé", + requires_name = _U('m_washrock'), drop = 100 }, { - name = "Fer", + name = _U('m_iron'), db_name= "iron", max = 42, add = 6, drop = 100 }, { - name = "Or", + name = _U('m_gold'), db_name= "gold", max = 21, add = 3, drop = 100 }, { - name = "Diamant", + name = _U('m_diamond'), db_name= "diamond", max = 50, add = 1, drop = 5 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour fondre les roches.", + Hint = _U('m_melt_button'), GPS = {x = -169.481, y = -2659.16, z = 5.00103} }, @@ -126,10 +126,10 @@ Config.Jobs.miner = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = false, - Name = "Spawner véhicule de fonction", + Name = _U('spawn_veh'), Type = "vehspawner", Spawner = 1, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour appeler le véhicule de livraison.", + Hint = _U('spawn_veh_button'), Caution = 2000, GPS = {x = 2962.4, y = 2746.2, z = 42.398} }, @@ -139,22 +139,22 @@ Config.Jobs.miner = { Size = {x = 5.0, y = 5.0, z = 1.0}, Marker= -1, Blip = false, - Name = "Véhicule de fonction", - Type = "vehspawnpt", + Name = _U('service_vh'), + Type = "vehspawnpt", Spawner = 1, Heading = 90.1, GPS = 0 }, - + VehicleDeletePoint = { Pos = {x = 881.93725585938, y = -2198.0151367188, z = 29.519351959229}, Size = {x = 5.0, y = 5.0, z = 1.0}, Color = {r = 255, g = 0, b = 0}, Marker= 1, Blip = false, - Name = "Supression du véhicule", + Name = _U('return_vh'), Type = "vehdelete", - Hint = "Appuyez sur ~INPUT_PICKUP~ pour rendre le véhicule.", + Hint = _U('return_vh_button'), Spawner = 1, Caution = 2000, GPS = 0, @@ -167,22 +167,22 @@ Config.Jobs.miner = { Size = {x = 5.0, y = 5.0, z = 3.0}, Marker= 1, Blip = true, - Name = "Revente de cuivre", - Type = "delivery", + Name = _U('m_sell_copper'), + Type = "delivery", Spawner = 1, Item = { { - name = "Livraison", + name = _U('delivery'), time = 500, remove = 1, max = 56, -- if not present, probably an error at itemQtty >= item.max in esx_jobs_sv.lua price = 5, requires = "copper", - requires_name = "Cuivre", + requires_name = _U('m_copper'), drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour livrer le cuivre.", + Hint = _U('m_deliver_copper'), GPS = {x = -148.782, y = -1040.38, z = 26.2736} }, @@ -193,25 +193,25 @@ Config.Jobs.miner = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Revente de fer", - Type = "delivery", + Name = _U('m_sell_iron'), + Type = "delivery", Spawner = 1, Item = { { - name = "Livraison", + name = _U('delivery'), time = 500, remove = 1, max = 42, -- if not present, probably an error at itemQtty >= item.max in esx_jobs_sv.lua price = 9, requires = "iron", - requires_name = "Fer", + requires_name = _U('m_iron'), drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour livrer le fer.", + Hint = _U('m_deliver_iron'), GPS = {x = 261.487, y = 207.354, z = 109.287} }, - + GoldDelivery = { Pos = {x = 261.487, y = 207.354, z = 109.287}, Color = {r = 204, g = 204, b = 0}, @@ -219,25 +219,25 @@ Config.Jobs.miner = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Revente d'or", - Type = "delivery", + Name = _U('m_sell_gold'), + Type = "delivery", Spawner = 1, Item = { { - name = "Livraison", + name = _U('delivery'), time = 500, remove = 1, max = 21, -- if not present, probably an error at itemQtty >= item.max in esx_jobs_sv.lua price = 25, requires = "gold", - requires_name = "Or", + requires_name = _U('m_gold'), drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour livrer l'or'.", + Hint = _U('m_deliver_gold'), GPS = {x = -621.046, y = -228.532, z = 37.0571} }, - + DiamondDelivery = { Pos = {x = -621.046, y = -228.532, z = 37.0571}, Color = {r = 204, g = 204, b = 0}, @@ -245,23 +245,23 @@ Config.Jobs.miner = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Revente de diamants", - Type = "delivery", + Name = _U('m_sell_diamond'), + Type = "delivery", Spawner = 1, Item = { { - name = "Livraison", + name = _U('delivery'), time = 500, remove = 1, max = 50, -- if not present, probably an error at itemQtty >= item.max in esx_jobs_sv.lua price = 250, requires = "diamond", - requires_name = "Diamant", + requires_name = _U('m_diamond'), drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour livrer les diamants.", + Hint = _U('m_deliver_diamond'), GPS = {x = 2962.4, y = 2746.2, z = 42.398} } } -} \ No newline at end of file +} diff --git a/jobs/reporter.lua b/jobs/reporter.lua index a2750f36..1a3b98d2 100644 --- a/jobs/reporter.lua +++ b/jobs/reporter.lua @@ -18,10 +18,10 @@ Config.Jobs.reporter = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Le Maclerait Libéré", + Name = _U('reporter_name'), Type = "vehspawner", Spawner = 1, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour descendre au garage.", + Hint = _U('reporter_garage'), Caution = 2000 }, @@ -30,7 +30,7 @@ Config.Jobs.reporter = { Size = {x = 3.0, y = 3.0, z = 1.0}, Marker= -1, Blip = false, - Name = "Véhicule de fonction", + Name = _U('service_vh'), Type = "vehspawnpt", Spawner = 1, Heading = 200.1 @@ -42,13 +42,13 @@ Config.Jobs.reporter = { Color = {r = 255, g = 0, b = 0}, Marker= 1, Blip = false, - Name = "Supression du véhicule", + Name = _U('return_vh'), Type = "vehdelete", - Hint = "Appuyez sur ~INPUT_PICKUP~ pour rendre le véhicule.", + Hint = _U('return_vh_button'), Spawner = 1, Caution = 2000, GPS = 0, Teleport = { x = -139.09838867188, y = -620.74865722656, z = 167.82052612305 } } } -} \ No newline at end of file +} diff --git a/jobs/slaughterer.lua b/jobs/slaughterer.lua index 7b923303..9e468819 100644 --- a/jobs/slaughterer.lua +++ b/jobs/slaughterer.lua @@ -18,9 +18,9 @@ Config.Jobs.slaughterer = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Vestiaire", + Name = _U('cloakroom'), Type = "cloakroom", - Hint = "Appuyez sur ~INPUT_PICKUP~ pour vous changer." + Hint = _U('cloak_change'), }, AliveChicken = { @@ -29,11 +29,11 @@ Config.Jobs.slaughterer = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Poulailler", + Name = _U('s_hen'), Type = "work", Item = { { - name = "Poulet vivant", + name = _U('s_alive_chicken'), db_name= "alive_chicken", time = 3000, max = 20, @@ -44,7 +44,7 @@ Config.Jobs.slaughterer = { drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour attrapper des poulets vivants." + Hint = _U('s_catch_hen') }, SlaughterHouse = { @@ -53,22 +53,22 @@ Config.Jobs.slaughterer = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = false, - Name = "Abattoir", + Name = _U('s_slaughtered'), Type = "work", Item = { { - name = "Poulet à conditionner", + name = _U('s_slaughtered_chicken'), db_name= "slaughtered_chicken", time = 5000, max = 20, add = 1, remove = 1, requires = "alive_chicken", - requires_name = "Poulet vivant", + requires_name = _U('s_alive_chicken'), drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour dépecer les poulets." + Hint = _U('s_chop_animal') }, Packaging = { @@ -77,22 +77,22 @@ Config.Jobs.slaughterer = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = false, - Name = "Emballage", + Name = _U('s_package'), Type = "work", - Item = { + Item = { { - name = "Poulet en barquette", + name = _U('s_packagechicken'), db_name= "packaged_chicken", time = 4000, max = 100, add = 5, remove = 1, requires = "slaughtered_chicken", - requires_name = "Poulet à conditionner", + requires_name = _U('s_unpackaged'), drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour conditionner le poulet en barquette." + Hint = _U('s_unpackaged_button') }, VehicleSpawner = { @@ -101,10 +101,10 @@ Config.Jobs.slaughterer = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = false, - Name = "Spawner véhicule de fonction", + Name = _U('spawn_veh'), Type = "vehspawner", Spawner = 1, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour appeler le véhicule de livraison.", + Hint = _U('spawn_veh_button'), Caution = 2000 }, @@ -113,21 +113,21 @@ Config.Jobs.slaughterer = { Size = {x = 3.0, y = 3.0, z = 1.0}, Marker= -1, Blip = false, - Name = "Véhicule de fonction", + Name = _U('service_vh'), Type = "vehspawnpt", Spawner = 1, Heading = 130.1 }, - + VehicleDeletePoint = { Pos = {x = -1061.5164794922, y = -2008.3552246094, z = 12.161584854126}, Size = {x = 5.0, y = 5.0, z = 1.0}, Color = {r = 255, g = 0, b = 0}, Marker= 1, Blip = false, - Name = "Supression du véhicule", + Name = _U('return_vh'), Type = "vehdelete", - Hint = "Appuyez sur ~INPUT_PICKUP~ pour rendre le véhicule.", + Hint = _U('return_vh_button'), Spawner = 1, Caution = 2000, GPS = 0, @@ -140,22 +140,22 @@ Config.Jobs.slaughterer = { Size = {x = 5.0, y = 5.0, z = 1.0}, Marker= 1, Blip = true, - Name = "Point de livraison", - Type = "delivery", + Name = _U('delivery_point'), + Type = "delivery", Spawner = 1, Item = { { - name = "Livraison", + name = _U('delivery'), time = 500, remove = 1, max = 100, -- if not present, probably an error at itemQtty >= item.max in esx_jobs_sv.lua price = 11, requires = "packaged_chicken", - requires_name = "Poulet en barquette", + requires_name = _U('s_packagechicken'), drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour livrer les barquettes de poulet." + Hint = _U('s_deliver') } } -} \ No newline at end of file +} diff --git a/jobs/textil.lua b/jobs/textil.lua index affcae2b..f12e6d9a 100644 --- a/jobs/textil.lua +++ b/jobs/textil.lua @@ -18,9 +18,9 @@ Config.Jobs.textil = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Vestiaire", + Name = _U('cloakroom'), Type = "cloakroom", - Hint = "Appuyez sur ~INPUT_PICKUP~ pour vous changer.", + Hint = _U('cloak_change'), GPS = {x = 740.808776855469, y = -970.066650390625, z = 23.4693908691406} }, @@ -30,11 +30,11 @@ Config.Jobs.textil = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = true, - Name = "Laine", + Name = _U('dd_wool'), Type = "work", Item = { { - name = "Laine", + name = _U('dd_wool'), db_name= "whool", time = 3000, max = 40, @@ -45,7 +45,7 @@ Config.Jobs.textil = { drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour récupérer de la laine.", + Hint = _U('dd_pickup'), GPS = {x = 715.954650878906, y = -959.639587402344, z = 29.3953247070313} }, @@ -55,22 +55,22 @@ Config.Jobs.textil = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = false, - Name = "Tissu", + Name = _U('dd_fabric'), Type = "work", Item = { { - name = "Tissu", + name = _U('dd_fabric'), db_name= "fabric", time = 5000, max = 80, add = 2, remove = 1, requires = "whool", - requires_name = "Laine", + requires_name = _U('dd_wool'), drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour fabriquer du tissu.", + Hint = _U('dd_makefabric'), GPS = {x = 712.928283691406, y = -970.5869140625, z = 29.3953247070313} }, @@ -80,22 +80,22 @@ Config.Jobs.textil = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = false, - Name = "Vêtement", + Name = _U('dd_clothing'), Type = "work", Item = { { - name = "Vêtement", + name = _U('dd_clothing'), db_name= "clothe", time = 4000, max = 40, add = 1, remove = 2, - requires = "fabric", + requires = _U('dd_fabric'), requires_name = "Tissu", drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour récupérer des vêtements.", + Hint = _U('dd_makeclothing'), GPS = {x = 429.595855712891, y = -807.341613769531, z = 28.4911441802979} }, @@ -105,10 +105,10 @@ Config.Jobs.textil = { Color = {r = 204, g = 204, b = 0}, Marker= 1, Blip = false, - Name = "Spawner véhicule de fonction", + Name = _U('spawn_veh'), Type = "vehspawner", Spawner = 1, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour appeler le véhicule de livraison.", + Hint = _U('spawn_veh_button'), Caution = 2000, GPS = {x = 1978.92407226563, y = 5171.70166015625, z = 46.6391181945801} }, @@ -118,22 +118,22 @@ Config.Jobs.textil = { Size = {x = 3.0, y = 3.0, z = 1.0}, Marker= -1, Blip = false, - Name = "Véhicule de fonction", + Name = _U('service_vh'), Type = "vehspawnpt", Spawner = 1, Heading = 270.1, GPS = 0 }, - + VehicleDeletePoint = { Pos = {x = 693.796325683594, y = -963.010498046875, z = 22.8247337341309}, Size = {x = 3.0, y = 3.0, z = 1.0}, Color = {r = 255, g = 0, b = 0}, Marker= 1, Blip = false, - Name = "Supression du véhicule", + Name = _U('return_vh'), Type = "vehdelete", - Hint = "Appuyez sur ~INPUT_PICKUP~ pour rendre le véhicule.", + Hint = _U('return_vh_button'), Spawner = 1, Caution = 2000, GPS = 0, @@ -146,23 +146,23 @@ Config.Jobs.textil = { Size = {x = 5.0, y = 5.0, z = 3.0}, Marker= 1, Blip = true, - Name = "Point de livraison", - Type = "delivery", + Name = _U('delivery_point'), + Type = "delivery", Spawner = 1, - Item = { + Item = { { - name = "Livraison", + name = _U('delivery'), time = 500, remove = 1, max = 100, -- if not present, probably an error at itemQtty >= item.max in esx_jobs_sv.lua price = 40, requires = "clothe", - requires_name = "Vêtement", + requires_name = _U('dd_clothing') drop = 100 } }, - Hint = "Appuyez sur ~INPUT_PICKUP~ pour livrer les vêtements.", + Hint = _U('dd_deliver_clothes'), GPS = {x = 1978.92407226563, y = 5171.70166015625, z = 46.6391181945801} } } -} \ No newline at end of file +} diff --git a/locales/en.lua b/locales/en.lua index 04403eb9..add423f5 100644 --- a/locales/en.lua +++ b/locales/en.lua @@ -1,5 +1,7 @@ Locales['en'] = { --Global menus + ['cloakroom'] = 'Locker Room', + ['cloak_change'] = 'Press ~INPUT_PICKUP~ to change clothes.', ['bank_deposit'] = 'a security deposit of ~g~', ['bank_deposit_r'] = 'a security deposit of ~g~$', ['bank_deposit2'] = '$ ~s~was made to you after your fainting.', @@ -15,25 +17,80 @@ Locales['en'] = { ['not_enough2'] = ' to continue this task.', ['caution_taken'] = ' ~s~was taken from you.', ['caution_returned'] = ' ~s~was returned to you.', + ['spawn_veh'] = 'spawn vehicle', + ['spawn_veh_button'] = 'press ~INPUT_PICKUP~ to call the delivery vehicle.', + ['service_vh'] = 'service vehicle', + ['return_vh'] = 'vehicle return', + ['return_vh_button'] = 'press ~INPUT_PICKUP~ to return the vehicle.', + ['delivery_point'] = 'delivery point', + ['delivery'] = 'delivery', --Lumber Jack job - ['lj_cr_title'] = 'cloakroom', - ['lj_cloakroom'] = 'press ~INPUT_PICKUP~ to change clothes.', - ['lj_mapblip'] = 'wood pile', + ['lj_mapblip'] = 'Wood pile', ['lj_wood'] = 'wood', ['lj_pickup'] = 'press ~INPUT_PICKUP~ to retrieve wood.', - ['lj_cutwood'] = 'cutting wood', + ['lj_cutwood'] = 'Wood cutting', ['lj_cutwood_button'] = 'press ~INPUT_PICKUP~ to cut wood.', ['lj_board'] = 'boards', - ['lj_planks'] = 'board package', - ['lj_delivery'] = 'delivery', - ['lj_cutwood'] = 'wood cut', + ['lj_planks'] = 'package board', + ['lj_cutwood'] = 'cut wood', ['lj_pick_boards'] = 'press ~INPUT_PICKUP~ to retrieve boards.', - ['lj_spawn_veh'] = 'spawn vehicle', - ['lj_spawn_veh_button'] = 'press ~INPUT_PICKUP~ to call the delivery vehicle.', - ['lj_service_vh'] = 'service vehicle', - ['lj_return_vh'] = 'return vehicle', - ['lj_delivery_point'] = 'delivery point', - ['lj_return_vh_button'] = 'press ~INPUT_PICKUP~ to return the vehicle.', - ['lj_deliver_button'] = 'press ~INPUT_PICKUP~ to deliver the boards.' -} + ['lj_deliver_button'] = 'press ~INPUT_PICKUP~ to deliver the boards.', + + --fisherman + ['fm_fish'] = 'fish', + ['fm_fish_area'] = 'fishing area', + ['fm_fish_button'] = 'press ~INPUT_PICKUP~ to fish.', + ['fm_spawnboat_title'] = 'spawn boat', + ['fm_spawnboat'] = 'press ~INPUT_PICKUP~ to call the boat.', + ['fm_boat_title'] = 'boat', + ['fm_boat_return_title'] = 'boat return', + ['fm_boat_return_button'] = 'Press ~INPUT_PICKUP~ to return the boat.', + ['fm_deliver_fish'] = 'press ~INPUT_PICKUP~ to deliver the fish.', + + --miner + ['m_rock'] = 'rock', + ['m_pickrocks'] = 'press ~INPUT_PICKUP~ to retrieve rocks.', + ['m_washrock'] = 'rock washed', + ['m_rock_button'] = 'press ~INPUT_PICKUP~ to wash the rocks.', + ['m_rock_smelting'] = 'smelthing', + ['m_copper'] = 'copper', + ['m_sell_copper'] = 'sell copper', + ['m_deliver_copper'] = 'Press ~INPUT_PICKUP~ to deliver the copper.', + ['m_iron'] = 'Fer', + ['m_sell_iron'] = 'sell iron', + ['m_deliver_iron'] = 'press ~INPUT_PICKUP~ to deliver the iron.', + ['m_gold'] = 'gold', + ['m_sell_gold'] = "sell gold", + ['m_deliver_gold'] = "press ~INPUT_PICKUP~ to deliver the gold.", + ['m_diamond'] = 'diamond', + ['m_sell_diamond'] = "sell diamond", + ['m_deliver_diamond'] = 'press ~INPUT_PICKUP~ to deliver the diamonds.', + ['m_melt_button'] = 'press ~INPUT_PICKUP~ to melt the rocks.', + + --reporter + ['reporter_name'] = 'san Andreas Times', + ['reporter_garage'] = 'Press ~INPUT_PICKUP~ to go down to the garage.', + + --slaughterer + ['s_hen'] = 'chicken coop', + ['s_alive_chicken'] = 'live Chicken', + ['s_catch_hen'] = 'press ~INPUT_PICKUP~ to catch live chickens.', + ['s_slaughtered_chicken'] = 'chicken to be packed', + ['s_chop_animal'] = 'press ~INPUT_PICKUP~ to chop the chickens.', + ['s_slaughtered'] = 'slaughter house', + ['s_package'] = 'packaging', + ['s_packagechicken'] = 'chicken in tray', + ['s_unpackaged'] = 'chicken to be packed', + ['s_unpackaged_button'] = 'press ~INPUT_PICKUP~ to set the chicken in a tray.', + ['s_deliver'] = 'press ~INPUT_PICKUP~ to deliver the chicken trays.', + + --Dress Designer + ['dd_wool'] = 'wool', + ['dd_pickup'] = 'Press ~INPUT_PICKUP~ to retrieve wool.', + ['dd_fabric'] = 'fabric', + ['dd_makefabric'] = 'Press ~INPUT_PICKUP~ to make fabric.', + ['dd_clothing'] = 'clothing', + ['dd_makeclothing'] = 'press ~INPUT_PICKUP~ to retrieve clothing.', + ['dd_deliver_clothes'] = 'press ~INPUT_PICKUP~ to deliver the clothes.', + } diff --git a/locales/fr.lua b/locales/fr.lua index 3bbe4dcb..d2cc73b1 100644 --- a/locales/fr.lua +++ b/locales/fr.lua @@ -1,5 +1,7 @@ Locales['fr'] = { --Global menus + ['cloakroom'] = 'vestiaire', + ['cloak_change'] = 'appuyez sur ~INPUT_PICKUP~ pour vous changer.', ['bank_deposit'] = 'une caution de ~g~', ['bank_deposit_r'] = 'une caution de ~g~$', ['bank_deposit2'] = '$ ~s~vous a été rendue suite à votre évanouissment.', @@ -15,10 +17,15 @@ Locales['fr'] = { ['not_enough2'] = ' pour continuer cette tâche.', ['caution_taken'] = ' ~s~vous a été prélevée.', ['caution_returned'] = ' ~s~vous a été rendue.', + ['spawn_veh'] = 'spawner véhicule de fonction', + ['spawn_veh_button'] = 'appuyez sur ~INPUT_PICKUP~ pour appeler le véhicule de livraison.', + ['service_vh'] = 'véhicule de fonction', + ['return_vh'] = 'supression du véhicule', + ['return_vh_button'] = 'appuyez sur ~INPUT_PICKUP~ pour rendre le véhicule.', + ['delivery_point'] = 'point de livraison', + ['delivery'] = 'livraison', --Lumber Jack job - ['lj_cr_title'] = 'vestiaire', - ['lj_cloakroom'] = 'appuyez sur ~INPUT_PICKUP~ pour vous changer.', ['lj_mapblip'] = 'tas de bois', ['lj_wood'] = 'bois', ['lj_pickup'] = 'appuyez sur ~INPUT_PICKUP~ pour récupérer du bois.', @@ -26,14 +33,64 @@ Locales['fr'] = { ['lj_cutwood_button'] = 'appuyez sur ~INPUT_PICKUP~ pour couper du bois.', ['lj_board'] = 'planches', ['lj_planks'] = 'paquet de planche', - ['lj_delivery'] = 'livraison', ['lj_cutwood'] = 'bois coupé', ['lj_pick_boards'] = 'appuyez sur ~INPUT_PICKUP~ pour récupérer des planches.', - ['lj_spawn_veh'] = 'spawner véhicule de fonction', - ['lj_spawn_veh_button'] = 'appuyez sur ~INPUT_PICKUP~ pour appeler le véhicule de livraison.', - ['lj_service_vh'] = 'véhicule de fonction', - ['lj_return_vh'] = 'supression du véhicule', - ['lj_delivery_point'] = 'Point de livraison', - ['lj_return_vh_button'] = 'appuyez sur ~INPUT_PICKUP~ pour rendre le véhicule.', - ['lj_deliver_button'] = 'appuyez sur ~INPUT_PICKUP~ pour livrer les planches.' + ['lj_deliver_button'] = 'appuyez sur ~INPUT_PICKUP~ pour livrer les planches.', + + --fisherman + ['fm_fish'] = 'poisson', + ['fm_fish_area'] = 'zone de pêche', + ['fm_fish_button'] = 'appuyez sur ~INPUT_PICKUP~ pour pêcher.', + ['fm_spawnboat_title'] = 'spawner bateau', + ['fm_spawnboat'] = 'appuyez sur ~INPUT_PICKUP~ pour appeler le bateau.', + ['fm_boat_title'] = 'bateau', + ['fm_boat_return_title'] = 'supression du bateau', + ['fm_boat_return_button'] = 'appuyez sur ~INPUT_PICKUP~ pour rendre le bateau.', + ['fm_deliver_fish'] = 'Appuyez sur ~INPUT_PICKUP~ pour livrer le poisson.', + + --miner + ['m_rock'] = 'Rocher', + ['m_pickrocks'] = 'Appuyez sur ~INPUT_PICKUP~ pour récupérer des rochers.', + ['m_washrock'] = 'Roche lavé', + ['m_rock_button'] = 'Appuyez sur ~INPUT_PICKUP~ pour laver les roches.', + ['m_rock_smelting'] = 'Fonderie', + ['m_copper'] = 'cuivre', + ['m_sell_copper'] = 'Revente de cuivre', + ['m_deliver_copper'] = 'Appuyez sur ~INPUT_PICKUP~ pour livrer le cuivre.', + ['m_iron'] = 'Fer', + ['m_sell_iron'] = 'Revente de fer', + ['m_deliver_iron'] = 'Appuyez sur ~INPUT_PICKUP~ pour livrer le fer.', + ['m_gold'] = 'Or', + ['m_sell_gold'] = "Revente d'or", + ['m_deliver_gold'] = "Appuyez sur ~INPUT_PICKUP~ pour livrer l'or'.", + ['m_diamond'] = 'Diamant', + ['m_sell_diamond'] = "Revente de diamants", + ['m_deliver_diamond'] = 'Appuyez sur ~INPUT_PICKUP~ pour livrer les diamants.', + ['m_melt_button'] = 'Appuyez sur ~INPUT_PICKUP~ pour fondre les roches.', + + --reporter + ['reporter_name'] = 'Le Maclerait Libéré', + ['reporter_garage'] = 'Appuyez sur ~INPUT_PICKUP~ pour descendre au garage.', + + --slaughterer + ['s_hen'] = 'Poulailler', + ['s_alive_chicken'] = 'Poulet vivant', + ['s_catch_hen'] = 'Appuyez sur ~INPUT_PICKUP~ pour attrapper des poulets vivants.', + ['s_slaughtered_chicken'] = 'Poulet à conditionner', + ['s_chop_animal'] = 'Appuyez sur ~INPUT_PICKUP~ pour dépecer les poulets.', + ['s_slaughtered'] = 'Abattoir', + ['s_package'] = 'Emballage', + ['s_packagechicken'] = 'Poulet en barquette', + ['s_unpackaged'] = 'Poulet à conditionner', + ['s_unpackaged_button'] = 'Appuyez sur ~INPUT_PICKUP~ pour conditionner le poulet en barquette.', + ['s_deliver'] = 'Appuyez sur ~INPUT_PICKUP~ pour livrer les barquettes de poulet.', + + --Dress Designer + ['dd_wool'] = 'Laine', + ['dd_pickup'] = 'Appuyez sur ~INPUT_PICKUP~ pour récupérer de la laine.', + ['dd_fabric'] = 'Tissu', + ['dd_makefabric'] = 'Appuyez sur ~INPUT_PICKUP~ pour fabriquer du tissu.', + ['dd_clothing'] = 'Vêtement', + ['dd_makeclothing'] = 'Appuyez sur ~INPUT_PICKUP~ pour récupérer des vêtements.', + ['dd_deliver_clothes'] = 'Appuyez sur ~INPUT_PICKUP~ pour livrer les vêtements.', }