Update multi-language support

Update multi-language support
This commit is contained in:
Don
2017-08-22 01:58:44 -07:00
parent 72bdade045
commit b3036dbeff
11 changed files with 279 additions and 195 deletions
+1 -1
View File
@@ -22,4 +22,4 @@ client_scripts {
'jobs/slaughterer.lua',
'jobs/textil.lua',
'client/esx_jobs_cl.lua'
}
}
+45
View File
@@ -0,0 +1,45 @@
Config = {}
Config.DrawDistance = 1000.0
Config.Locale = 'en'
Config.Plates = {
taxi = "TAXI",
fisherman = "FISH",
cop = "LSPD",
ambulance = "EMS",
depanneur = "MECA",
fuel = "FUEL",
lumberjack = "BUCH",
miner = "MINE",
reporter = "JOUR",
slaughterer = "ABAT",
textil = "COUT"
}
Config.Jobs = {}
Config.PublicZones = {
EnterBuilding = {
Pos = { x = -118.21381378174, y = -607.14227294922, z = 35.280723571777 },
Size = {x = 3.0, y = 3.0, z = 0.2},
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Blip = false,
Name = "San Andreas Times",
Type = "teleport",
Hint = "Press ~INPUT_PICKUP~ to enter the building.",
Teleport = { x = -139.09838867188, y = -620.74865722656, z = 167.82052612305 }
},
ExitBuilding = {
Pos = { x = -139.45831298828, y = -617.32312011719, z = 167.82052612305 },
Size = {x = 3.0, y = 3.0, z = 0.2},
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Blip = false,
Name = "San Andreas Times",
Type = "teleport",
Hint = "Press ~INPUT_PICKUP~ to go to the entrance of the building.",
Teleport = { x = -113.07, y = -604.93, z = 35.28 },
},
}
+1 -1
View File
@@ -24,7 +24,7 @@ Config.Jobs.fisherman = {
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Blip = true,
Name = _U('cloakroom'),
Name = _U('fm_fish_locker'),
Type = "cloakroom",
Hint = _U('cloak_change'),
GPS = {x = 880.74462890625, y = -1663.9635009766, z = 29.370491027832}
+24 -24
View File
@@ -18,9 +18,9 @@ Config.Jobs.fuel = {
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Blip = true,
Name = "Vestiaire",
Name = _U('f_oil_refiner'),
Type = "cloakroom",
Hint = "Appuyez sur ~INPUT_PICKUP~ pour vous changer.",
Hint = _U('cloak_change'),
GPS = {x = 554.597, y = -2314.43, z = 4.86293}
},
@@ -30,11 +30,11 @@ Config.Jobs.fuel = {
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Blip = true,
Name = "Pétrol",
Name = _U('f_drill_oil'),
Type = "work",
Item = {
{
name = "Pétrol",
name = _U('f_fuel'),
db_name= "petrol",
time = 5000,
max = 24,
@@ -45,7 +45,7 @@ Config.Jobs.fuel = {
drop = 100
}
},
Hint = "Appuyez sur ~INPUT_PICKUP~ pour forer.",
Hint = _U('f_drillbutton'),
GPS = {x = 2736.94, y = 1417.99, z = 23.4888}
},
@@ -55,22 +55,22 @@ Config.Jobs.fuel = {
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Blip = true,
Name = "Pétrol raffiné",
Name = _U('f_fuel_refine'),
Type = "work",
Item = {
{
name = "Pétrol raffiné",
name = _U('f_fuel_refine'),
db_name= "petrol_raffin",
time = 5000,
max = 20,
add = 1,
remove = 2,
requires = "petrol",
requires_name = "Pétrol",
requires_name = _U('f_fuel'),
drop = 100
}
},
Hint = "Appuyez sur ~INPUT_PICKUP~ pour raffiner.",
Hint = _U('f_refine_fuel_button'),
GPS = {x = 265.752, y = -3013.39, z = 4.73275}
},
@@ -80,22 +80,22 @@ Config.Jobs.fuel = {
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Blip = true,
Name = "Mélange",
Name = _U('f_fuel_mixture'),
Type = "work",
Item = {
{
name = "Essence",
name = _U('f_gas'),
db_name= "essence",
time = 5000,
max = 20,
add = 2,
remove = 1,
requires = "petrol_raffin",
requires_name = "Pétrol raffiné",
requires_name = _U('f_fuel_refine'),
drop = 100
}
},
Hint = "Appuyez sur ~INPUT_PICKUP~ pour mélanger.",
Hint = _U('f_fuel_mixture_button'),
GPS = {x = 491.406, y = -2163.37, z = 4.91827}
},
@@ -105,10 +105,10 @@ Config.Jobs.fuel = {
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 camion.",
Hint = _U('spawn_truck_button'),
Caution = 2000,
GPS = {x = 602.254, y = 2926.62, z = 39.6898}
},
@@ -118,7 +118,7 @@ Config.Jobs.fuel = {
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,
@@ -131,9 +131,9 @@ Config.Jobs.fuel = {
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.fuel = {
Size = {x = 10.0, y = 10.0, z = 1.0},
Marker= 1,
Blip = true,
Name = "Point de livraison",
Type = "delivery",
Name = _U('f_deliver_gas'),
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 = 61,
requires = "essence",
requires_name = "Essence",
requires_name = _U('f_gas'),
drop = 100
}
},
Hint = "Appuyez sur ~INPUT_PICKUP~ pour livrer l'essence.",
Hint = _U('f_deliver_gas'),
GPS = {x = 609.589, y = 2856.74, z = 39.4958}
}
}
}
}
+1 -1
View File
@@ -18,7 +18,7 @@ Config.Jobs.lumberjack = {
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Blip = true,
Name = _U('cloakroom'),
Name = _U('lj_locker_room'),
Type = "cloakroom",
Hint = _U('cloak_change'),
},
+1 -1
View File
@@ -18,7 +18,7 @@ Config.Jobs.miner = {
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Blip = true,
Name = _U('cloakroom'),
Name = _U('m_miner_locker'),
Type = "cloakroom",
Hint = _U('cloak_change'),
GPS = {x = 884.86889648438, y = -2176.5102539063, z = 29.519346237183}
+1 -1
View File
@@ -18,7 +18,7 @@ Config.Jobs.slaughterer = {
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Blip = true,
Name = _U('cloakroom'),
Name = _U('s_slaughter_locker'),
Type = "cloakroom",
Hint = _U('cloak_change'),
},
+1 -1
View File
@@ -18,7 +18,7 @@ Config.Jobs.textil = {
Color = {r = 204, g = 204, b = 0},
Marker= 1,
Blip = true,
Name = _U('cloakroom'),
Name = _U('dd_dress_locker'),
Type = "cloakroom",
Hint = _U('cloak_change'),
GPS = {x = 740.808776855469, y = -970.066650390625, z = 23.4693908691406}
+102 -81
View File
@@ -1,96 +1,117 @@
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.',
['bank_nodeposit'] = "you did not have a security deposit",
['foot_work'] = 'you have to be on foot to be able to work.',
['next_point'] = 'go to the next step after completing this one.',
['security_deposit'] = 'the security given will be ~g~$',
['not_your_vehicle'] = "this is not your vehicle or you must be a driver.",
['in_vehicle'] = 'you must be in a vehicle.',
['wrong_point'] = "you are not at the right point of delivery.",
['max_limit'] = 'you have the maximum: ',
['not_enough'] = "you do not have enough",
['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',
['cloakroom'] = 'Locker Room',
['cloak_change'] = 'press ~INPUT_PICKUP~ to change clothes.',
['citizen_wear'] = 'civilian clothes',
['job_wear'] = 'workers 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.',
['bank_nodeposit'] = "you did not have a security deposit",
['foot_work'] = 'you have to be on foot to be able to work.',
['next_point'] = 'go to the next step after completing this one.',
['security_deposit'] = 'the security given will be ~g~$',
['not_your_vehicle'] = "this is not your vehicle or you must be a driver.",
['in_vehicle'] = 'you must be in a vehicle.',
['wrong_point'] = "you are not at the right point of delivery.",
['max_limit'] = 'you have the maximum: ',
['not_enough'] = "you do not have enough",
['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.',
['spawn_truck_button'] = 'press ~INPUT_PICKUP~ to spawn the truck.',
['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_mapblip'] = 'Wood pile',
['lj_wood'] = 'wood',
['lj_pickup'] = 'press ~INPUT_PICKUP~ to retrieve wood.',
['lj_cutwood'] = 'Wood cutting',
['lj_cutwood_button'] = 'press ~INPUT_PICKUP~ to cut wood.',
['lj_board'] = 'boards',
['lj_planks'] = 'package board',
['lj_cutwood'] = 'cut wood',
['lj_pick_boards'] = 'press ~INPUT_PICKUP~ to retrieve boards.',
['lj_deliver_button'] = 'press ~INPUT_PICKUP~ to deliver the boards.',
['lj_locker_room'] = "lumberjack's Locker Room",
['lj_mapblip'] = 'wood pile',
['lj_wood'] = 'wood',
['lj_pickup'] = 'press ~INPUT_PICKUP~ to retrieve wood.',
['lj_cutwood'] = 'wood cutting',
['lj_cutwood_button'] = 'press ~INPUT_PICKUP~ to cut wood.',
['lj_board'] = 'boards',
['lj_planks'] = 'package board',
['lj_cutwood'] = 'cut wood',
['lj_pick_boards'] = 'press ~INPUT_PICKUP~ to retrieve 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.',
['fm_fish_locker'] = "fishermen's Locker Room",
['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.',
--fuel
['f_oil_refiner'] = 'Oil Refiner Locker Room',
['f_drill_oil'] = 'drill for oil',
['f_fuel'] = 'oil',
['f_drillbutton'] = 'press ~INPUT_PICKUP~ to drill.',
['f_fuel_refine'] = 'refine oil',
['f_refine_fuel_button'] = 'press ~INPUT_PICKUP~ to refine.',
['f_fuel_mixture'] = 'mix refined oil',
['f_gas'] = 'gas',
['f_fuel_mixture_button'] = 'press ~INPUT_PICKUP~ to mix.',
['f_deliver_gas'] = 'deliver Gas',
['f_deliver_gas_button'] = "press ~INPUT_PICKUP~ to deliver gasoline.",
--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.',
['m_miner_locker'] = "miner's Locker Room",
['m_rock'] = ' rock',
['m_pickrocks'] = 'press ~INPUT_PICKUP~ to retrieve rocks.',
['m_washrock'] = ' washed rocks ',
['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'] = ' iron',
['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.',
['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.',
['s_slaughter_locker'] = "butcher's Locker Room",
['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.',
['dd_dress_locker'] = "dress Designer's Locker Room",
['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.',
}
+101 -83
View File
@@ -1,98 +1,116 @@
Locales['fr'] = {
--Global menus
['cloakroom'] = 'vestiaire',
['cloak_change'] = 'appuyez sur ~INPUT_PICKUP~ pour vous changer.',
['citizen_wear'] = 'Tenue civile',
['job_wear'] = 'Tenue de travail',
['bank_deposit'] = 'une caution de ~g~',
['bank_deposit_r'] = 'une caution de ~g~$',
['bank_deposit2'] = '$ ~s~vous a été rendue suite à votre évanouissment.',
['bank_nodeposit'] = "vous n'aviez pas de caution",
['foot_work'] = 'vous devez être à pied pour pouvoir travailler.',
['next_point'] = 'rendez-vous à la prochaine étape après avoir complété celle-ci.',
['security_deposit'] = 'la caution rendue sera de ~g~$',
['not_your_vehicle'] = "ce n'est pas votre véhicule ou vous devez être conducteur.",
['in_vehicle'] = 'vous devez être dans un véhicule.',
['wrong_point'] = "vous n'êtes pas au bon point de livraison.",
['max_limit'] = 'vous avez le maximum de: ',
['not_enough'] = "vous n'avez plus assez de",
['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',
['cloakroom'] = 'vestiaire',
['cloak_change'] = 'appuyez sur ~INPUT_PICKUP~ pour vous changer.',
['citizen_wear'] = 'tenue civile',
['job_wear'] = 'tenue de travail',
['bank_deposit'] = 'une caution de ~g~',
['bank_deposit_r'] = 'une caution de ~g~$',
['bank_deposit2'] = '$ ~s~vous a été rendue suite à votre évanouissment.',
['bank_nodeposit'] = "vous n'aviez pas de caution",
['foot_work'] = 'vous devez être à pied pour pouvoir travailler.',
['next_point'] = 'rendez-vous à la prochaine étape après avoir complété celle-ci.',
['security_deposit'] = 'la caution rendue sera de ~g~$',
['not_your_vehicle'] = "ce n'est pas votre véhicule ou vous devez être conducteur.",
['in_vehicle'] = 'vous devez être dans un véhicule.',
['wrong_point'] = "vous n'êtes pas au bon point de livraison.",
['max_limit'] = 'vous avez le maximum de: ',
['not_enough'] = "vous n'avez plus assez de",
['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.',
['spawn_truck_button'] = 'appuyez sur ~INPUT_PICKUP~ pour appeler le camion.',
['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_mapblip'] = 'tas de bois',
['lj_wood'] = 'bois',
['lj_pickup'] = 'appuyez sur ~INPUT_PICKUP~ pour récupérer du bois.',
['lj_cutwood'] = 'découpe du bois',
['lj_cutwood_button'] = 'appuyez sur ~INPUT_PICKUP~ pour couper du bois.',
['lj_board'] = 'planches',
['lj_planks'] = 'paquet de planche',
['lj_cutwood'] = 'bois coupé',
['lj_pick_boards'] = 'appuyez sur ~INPUT_PICKUP~ pour récupérer des planches.',
['lj_deliver_button'] = 'appuyez sur ~INPUT_PICKUP~ pour livrer les planches.',
['lj_locker_room'] = "lumberjack's Locker Room",
['lj_mapblip'] = 'tas de bois',
['lj_wood'] = 'bois',
['lj_pickup'] = 'appuyez sur ~INPUT_PICKUP~ pour récupérer du bois.',
['lj_cutwood'] = 'coupe du bois',
['lj_cutwood_button'] = 'appuyez sur ~INPUT_PICKUP~ pour couper du bois.',
['lj_board'] = 'planches',
['lj_planks'] = 'paquet de planche',
['lj_cutwood'] = 'bois coupé',
['lj_pick_boards'] = 'appuyez sur ~INPUT_PICKUP~ pour récupérer des 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.',
['fm_fish_locker'] = "fishermen's Locker Room",
['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.',
--fuel
['f_oil_refiner'] = 'oil Refiner Locker Room',
['f_drill_oil'] = 'drill for oil',
['f_fuel'] = 'pétrol',
['f_drillbutton'] = 'appuyez sur ~INPUT_PICKUP~ pour forer.',
['f_fuel_refine'] = 'pétrol raffiné',
['f_refine_fuel_button'] = 'press ~ INPUT_PICKUP ~ to refine.',
['f_fuel_mixture'] = 'mélange',
['f_gas'] = 'essence',
['f_fuel_mixture_button'] = 'appuyez sur ~INPUT_PICKUP~ pour mélanger.',
['f_deliver_gas'] = "appuyez sur ~INPUT_PICKUP~ pour livrer l'essence.",
--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.',
['m_miner_locker'] = "miner's Locker Room",
['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.',
['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.',
['s_slaughter_locker'] = "butcher's Locker Room",
['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.',
['dd_dress_locker'] = "dress Designer's Locker Room",
['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.',
}
+1 -1
View File
@@ -30,7 +30,7 @@ RegisterServerEvent('esx_jobs:giveBackCautionInCaseOfDrop')
AddEventHandler('esx_jobs:giveBackCautionInCaseOfDrop', function()
local _source = source
local xPlayer = ESX.GetPlayerFromId(_source)
TriggerEvent('esx_addonaccount:getAccount', 'caution', xPlayer.identifier, function(account)
local caution = account.money
account.removeMoney(caution)