From 60c362fde02e0fe38cbc741e97bbff641eb0192e Mon Sep 17 00:00:00 2001 From: nearbyplayer Date: Tue, 22 Aug 2017 22:44:40 -0400 Subject: [PATCH] Update language support --- __resource.lua | 1 + config.lua | 372 ++++++++++++++++++++++++------------------------- locales/en.lua | 140 ++++++++++++++++++- locales/fr.lua | 137 ++++++++++++++++++ 4 files changed, 463 insertions(+), 187 deletions(-) diff --git a/__resource.lua b/__resource.lua index e46bb7eb..58616817 100644 --- a/__resource.lua +++ b/__resource.lua @@ -2,6 +2,7 @@ server_scripts { '@es_extended/locale.lua', 'locales/en.lua', 'locales/fr.lua', + 'config.lua', 'server/main.lua' } diff --git a/config.lua b/config.lua index 83bfa301..cab20ac1 100644 --- a/config.lua +++ b/config.lua @@ -33,29 +33,29 @@ function GetColors(color) local colors = {} if color == 'black' then colors = { - { index = 0, label = 'Noir'}, - { index = 1, label = 'Graphite'}, - { index = 2, label = 'Noir Métallisé'}, - { index = 3, label = 'Acier Fondu'}, - { index = 11, label = 'Noir Anthracite'}, - { index = 12, label = 'Noir Mat'}, - { index = 15, label = 'Nuit Sombre'}, - { index = 16, label = 'Noir Profond'}, - { index = 21, label = 'Pétrol'}, - { index = 147, label = 'Carbon'} + { index = 0, label = _U('black')}, + { index = 1, label = _U('graphite')}, + { index = 2, label = _U('black_metallic')}, + { index = 3, label = _U('caststeel')}, + { index = 11, label = _U('black_anth')}, + { index = 12, label = _U('matteblack')}, + { index = 15, label = _U('darknight')}, + { index = 16, label = _U('deepblack')}, + { index = 21, label = _U('oil')}, + { index = 147, label = _U('carbon')} } elseif color == 'white' then colors = { - { index = 106, label = 'Vanille'}, - { index = 107, label = 'Crème'}, - { index = 111, label = 'Blanc'}, - { index = 112, label = 'Blanc Polair'}, - { index = 113, label = 'Beige'}, - { index = 121, label = 'Blanc Mat'}, - { index = 122, label = 'Neige'}, - { index = 131, label = 'Coton'}, - { index = 132, label = 'Albâtre'}, - { index = 134, label = 'Blanc Pure'} + { index = 106, label = _U('vanilla')}, + { index = 107, label = _U('creme')}, + { index = 111, label = _U('white')}, + { index = 112, label = _U('polarwhite')}, + { index = 113, label = _U('beige')}, + { index = 121, label = _U('mattewhite')}, + { index = 122, label = _U('snow')}, + { index = 131, label = _U('cotton')}, + { index = 132, label = _U('alabaster')}, + { index = 134, label = _U('purewhite')} } elseif color == 'grey' then colors = { @@ -80,11 +80,11 @@ function GetColors(color) { index = 66, label = 'Acier Bleui'}, { index = 93, label = 'Champagne'}, { index = 144, label = 'Gris Chasseur'}, - { index = 156, label = 'Gris'} + { index = 156, label = _U('grey')} } elseif color == 'red' then colors = { - { index = 27, label = 'Rouge'}, + { index = 27, label = _U('red')}, { index = 28, label = 'Rouge Turin'}, { index = 29, label = 'Coquelicot'}, { index = 30, label = 'Rouge Cuivré'}, @@ -103,9 +103,9 @@ function GetColors(color) } elseif color == 'pink' then colors = { - { index = 135, label = 'Rose Electrique'}, - { index = 136, label = 'Rose Saumon'}, - { index = 137, label = 'Rose Dragée'} + { index = 135, label = _U('electricpink')}, + { index = 136, label = _U('salmon')}, + { index = 137, label = _U('sugarplum')} } elseif color == 'blue' then colors = { @@ -141,11 +141,11 @@ function GetColors(color) } elseif color == 'yellow' then colors = { - { index = 42, label = 'Jaune'}, - { index = 88, label = 'Jaune Blé'}, - { index = 89, label = 'Jaune Rally'}, - { index = 91, label = 'Jaune Clair'}, - { index = 126, label = 'Jaune Pale'} + { index = 42, label = _U('yellow')}, + { index = 88, label = _U('wheat')}, + { index = 89, label = _U('raceyellow')}, + { index = 91, label = _U('paleyellow')}, + { index = 126, label = _U('lightyellow')} } elseif color == 'green' then colors = { @@ -169,66 +169,66 @@ function GetColors(color) } elseif color == 'orange' then colors = { - { index = 36, label = 'Tangerine'}, - { index = 38, label = 'Orange'}, - { index = 41, label = 'Orange Mat'}, - { index = 123, label = 'Orange Clair'}, - { index = 124, label = 'Pèche'}, - { index = 130, label = 'Citrouille'}, - { index = 138, label = 'Orange Lambo'} + { index = 36, label = _U('tangerine')}, + { index = 38, label = _U('orange')}, + { index = 41, label = _U('matteorange')}, + { index = 123, label = _U('lightorange')}, + { index = 124, label = _U('peach')}, + { index = 130, label = _U('pumpkin')}, + { index = 138, label = _U('orangelambo')} } elseif color == 'brown' then colors = { - { index = 45, label = 'Cuivre'}, - { index = 47, label = 'Marron clair'}, - { index = 48, label = 'Marron Foncé'}, - { index = 90, label = 'Bronze'}, - { index = 94, label = 'Marron Métallisé'}, - { index = 95, label = 'Expresso'}, - { index = 96, label = 'Chocolat'}, - { index = 97, label = 'Terre Cuite'}, - { index = 98, label = 'Marbre'}, - { index = 99, label = 'Sable'}, - { index = 100, label = 'Sépia'}, - { index = 101, label = 'Bison'}, - { index = 102, label = 'Palmier'}, - { index = 103, label = 'Caramel'}, - { index = 104, label = 'Rouille'}, - { index = 105, label = 'Chataigne'}, - { index = 108, label = 'Brun'}, - { index = 109, label = 'Noisette'}, - { index = 110, label = 'Coquillage'}, - { index = 114, label = 'Acajou'}, - { index = 115, label = 'Chaudron'}, - { index = 116, label = 'Blond'}, - { index = 129, label = 'Gravillon'}, - { index = 153, label = 'Terre Foncé'}, - { index = 154, label = 'Désert'} + { index = 45, label = _U('copper')}, + { index = 47, label = _U('lightbrown')}, + { index = 48, label = _U('darkbrown')}, + { index = 90, label = _U('bronze')}, + { index = 94, label = _U('brownmetallic')}, + { index = 95, label = _U('Expresso')}, + { index = 96, label = _U('chocolate')}, + { index = 97, label = _U('terracotta')}, + { index = 98, label = _U('marble')}, + { index = 99, label = _U('sand')}, + { index = 100, label = _U('sepia')}, + { index = 101, label = _U('bison')}, + { index = 102, label = _U('palm')}, + { index = 103, label = _U('caramel')}, + { index = 104, label = _U('rust')}, + { index = 105, label = _U('chestnut')}, + { index = 108, label = _U('brown')}, + { index = 109, label = _U('hazelnut')}, + { index = 110, label = _U('shell')}, + { index = 114, label = _U('mahogany')}, + { index = 115, label = _U('cauldron')}, + { index = 116, label = _U('blond')}, + { index = 129, label = _U('gravel')}, + { index = 153, label = _U('darkearth')}, + { index = 154, label = _U('desert')} } elseif color == 'purple' then colors = { - { index = 71, label = 'Indigo'}, - { index = 72, label = 'Violet Profond'}, - { index = 76, label = 'Violet Foncé'}, - { index = 81, label = 'Améthyste'}, - { index = 142, label = 'Violet Mystique'}, - { index = 145, label = 'Violet Métallisé'}, - { index = 148, label = 'Vilot Mat'}, - { index = 149, label = 'Violet Profond Mat'} + { index = 71, label = _U('indigo')}, + { index = 72, label = _U('deeppurple')}, + { index = 76, label = _U('darkviolet')}, + { index = 81, label = _U('amethyst')}, + { index = 142, label = _U('mysticalviolet')}, + { index = 145, label = _U('purplemetallic')}, + { index = 148, label = _U('matteviolet')}, + { index = 149, label = _U('mattedeeppurple')} } elseif color == 'chrome' then colors = { - { index = 117, label = 'Chrome Brossé'}, - { index = 118, label = 'Chrome Noir'}, - { index = 119, label = 'Aluminum Brossé'}, - { index = 120, label = 'Chrome'} + { index = 117, label = _U('brushechrome')}, + { index = 118, label = _U('blackchrome')}, + { index = 119, label = _U('brushedaluminum')}, + { index = 120, label = _U('chrome')} } elseif color == 'gold' then colors = { - { index = 37, label = 'Or'}, - { index = 158, label = 'Or Pure'}, - { index = 159, label = 'Or Brossé'}, - { index = 160, label = 'Or Clair'} + { index = 37, label = _U('gold')}, + { index = 158, label = _U('puregold')}, + { index = 159, label = _U('brushedgold')}, + { index = 160, label = _U('lightgold')} } end return colors @@ -362,40 +362,40 @@ end function GetNeons() local neons = { - { label = "white", r = 255, g = 255, b = 255}, - { label = "slate_gray", r = 112, g = 128, b = 144}, - { label = "blue", r = 0, g = 0, b = 255}, - { label = "light_blue", r = 0, g = 150, b = 255}, - { label = "navy_blue", r = 0, g = 0, b = 128}, - { label = "sky_blue", r = 135, g = 206, b = 235}, - { label = "turquoise", r = 0, g = 245, b = 255}, - { label = "mint_green", r = 50, g = 255, b = 155}, - { label = "lime_green", r = 0, g = 255, b = 0}, - { label = "olive", r = 128, g = 128, b = 0}, - { label = "yellow", r = 255, g = 255, b = 0}, - { label = "gold", r = 255, g = 215, b = 0}, - { label = "orange", r = 255, g = 165, b = 0}, - { label = "wheat", r = 245, g = 222, b = 179}, - { label = "red", r = 255, g = 0, b = 0}, - { label = "pink", r = 255, g = 161, b = 211}, - { label = "bright_pink", r = 255, g = 0, b = 255}, - { label = "purple", r = 153, g = 0, b = 153}, - { label = "ivory", r = 41, g = 36, b = 33} + { label = _U('white'), r = 255, g = 255, b = 255}, + { label = "Slate Gray", r = 112, g = 128, b = 144}, + { label = "Blue", r = 0, g = 0, b = 255}, + { label = "Light Blue", r = 0, g = 150, b = 255}, + { label = "Navy Blue", r = 0, g = 0, b = 128}, + { label = "Sky Blue", r = 135, g = 206, b = 235}, + { label = "Turquoise", r = 0, g = 245, b = 255}, + { label = "Mint Green", r = 50, g = 255, b = 155}, + { label = "Lime Green", r = 0, g = 255, b = 0}, + { label = "Olive", r = 128, g = 128, b = 0}, + { label = _U('yellow'), r = 255, g = 255, b = 0}, + { label = _U('gold'), r = 255, g = 215, b = 0}, + { label = _U('orange'), r = 255, g = 165, b = 0}, + { label = _U('wheat'), r = 245, g = 222, b = 179}, + { label = _U('red'), r = 255, g = 0, b = 0}, + { label = _U('pink'), r = 255, g = 161, b = 211}, + { label = _U('brightpink'), r = 255, g = 0, b = 255}, + { label = _U('purple'), r = 153, g = 0, b = 153}, + { label = "Ivory", r = 41, g = 36, b = 33} } return neons end function GetPlatesName(index) if (index == 0) then - return "Bleu sur fond Blanc 1" + return _U('blue_on_white_1') elseif (index == 1) then - return "Jaune sur fond Noir" + return _U('yellow_on_black') elseif (index == 2) then - return "Jaune sur fond Bleu" + return _U('yellow_blue') elseif (index == 3) then - return "Bleu sur fond Blanc 2" + return _U('blue_on_white_2') elseif (index == 4) then - return "Bleu sur fond Blanc 3" + return _U('blue_on_white_3') end end @@ -403,137 +403,137 @@ Config.Menus = { main = { label = 'LS CUSTOM', parent = nil, - upgrades = 'Upgrades', - cosmetics = 'Cosmétiques' + upgrades = _U('upgrades'), + cosmetics = _U('cosmetics') }, upgrades = { - label = 'Upgrades', + label = _U('upgrades'), parent = 'main', - modEngine = "Moteur", - modBrakes = "Freins", - modTransmission = "Transmission", - modSuspension = "Suspension", - modArmor = "Armure", - modTurbo = "Turbo" + modEngine = _U('engine'), + modBrakes = _U('brakes'), + modTransmission = _U('transmission'), + modSuspension = _U('suspension'), + modArmor = _U('armor'), + modTurbo = _U('turbo') }, modEngine = { - label = 'Moteur', + label = _U('engine'), parent = 'modEngine', modType = 11, price = 500 }, modBrakes = { - label = 'Freins', + label = _U('brakes'), parent = 'modBrakes', modType = 12, price = 500 }, modTransmission = { - label = 'Transmission', + label = _U('transmission'), parent = 'modTransmission', modType = 13, price = 500 }, modSuspension = { - label = 'Suspension', + label = _U('suspension'), parent = 'modSuspension', modType = 15, price = 500 }, modArmor = { - label = 'Armure', + label = _U('armor'), parent = 'modArmor', modType = 16, price = 500 }, modTurbo = { - label = 'Turbo', + label = _U('turbo'), parent = 'modTurbo', modType = 18, price = 500 }, cosmetics = { - label = 'Cosmétiques', + label = _U('cosmetics'), parent = 'main', - bodyparts = 'Carosserie', -- - windowTint = 'Fenêtres', -- - modHorns = 'Klaxon', -- - neonColor = "Néons", -- - resprays = 'Peinture', -- - modXenon = 'Phares', -- - plateIndex = 'Plaque', -- - wheels = 'Roues' -- + bodyparts = _U('bodyparts'), + windowTint = _U('windowtint'), + modHorns = _U('horns'), + neonColor = _U('neons'), + resprays = _U('respray'), + modXenon = _U('headlights'), + plateIndex = _U('licenseplates'), + wheels = _U('wheels') }, wheels = { - label = 'Roues', + label = _U('wheels'), parent = 'cosmetics', - modFrontWheelsTypes = "Types de Jantes", - modFrontWheelsColor = "Couleurs jantes", - tyreSmokeColor = "Fumée des pneus" + modFrontWheelsTypes = _U('wheel_type'), + modFrontWheelsColor = _U('wheel_color'), + tyreSmokeColor = _U('tiresmoke') }, modFrontWheelsTypes = { - label = 'Types de Jantes', + label = _U('wheel_type'), parent = 'wheels', - modFrontWheelsType0 = 'Jantes Sport', - modFrontWheelsType1 = 'Jantes Muscle', - modFrontWheelsType2 = 'Jantes Lowrider', - modFrontWheelsType3 = 'Jantes SUV', - modFrontWheelsType4 = 'Jantes Tout-terrain', - modFrontWheelsType5 = 'Jantes Tuning', - modFrontWheelsType6 = 'Jantes Moto', - modFrontWheelsType7 = 'Jantes Haut de gamme' + modFrontWheelsType0 = _U('sport'), + modFrontWheelsType1 = _U('muscle'), + modFrontWheelsType2 = _U('lowrider'), + modFrontWheelsType3 = _U('suv'), + modFrontWheelsType4 = _U('allterain'), + modFrontWheelsType5 = _U('tuning'), + modFrontWheelsType6 = _U('motorcycle'), + modFrontWheelsType7 = _U('highend') }, modFrontWheelsType0 = { - label = 'Jantes Sport', + label = _U('sport'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 0, price = 500 }, modFrontWheelsType1 = { - label = 'Jantes Muscle', + label = _U('muscle'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 1, price = 500 }, modFrontWheelsType2 = { - label = 'Jantes Lowrider', + label = _U('lowrider'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 2, price = 500 }, modFrontWheelsType3 = { - label = 'Jantes SUV', + label = _U('suv'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 3, price = 500 }, modFrontWheelsType4 = { - label = 'Jantes Tout-terrain', + label = _U('allterain'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 4, price = 500 }, modFrontWheelsType5 = { - label = 'Jantes Tuning', + label = _U('tuning'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 5, price = 500 }, modFrontWheelsType6 = { - label = 'Jantes Moto', + label = _U('motorcycle'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 6, price = 500 }, modFrontWheelsType7 = { - label = 'Jantes Haut de gamme', + label = _U('highend'), parent = 'modFrontWheelsTypes', modType = 23, wheelType = 7, @@ -550,145 +550,145 @@ Config.Menus = { price = 500 }, plateIndex = { - label = 'Plaque', + label = _U('licenseplates'), parent = 'cosmetics', modType = 'plateIndex', price = 500 }, resprays = { - label = 'Peinture', + label = _U('respray'), parent = 'cosmetics', - primaryRespray = 'Primaire', - secondaryRespray = 'Secondaire', - pearlescentRespray = 'Nacré', + primaryRespray = _U('primary'), + secondaryRespray = _U('secondary'), + pearlescentRespray = _U('pearlescent'), }, primaryRespray = { - label = 'Primaire', + label = _U('primary'), parent = 'resprays', }, secondaryRespray = { - label = 'Secondaire', + label = _U('secondary'), parent = 'resprays', }, pearlescentRespray = { - label = 'Nacré', + label = _U('pearlescent'), parent = 'resprays', }, color1 = { - label = 'Primaire', + label = _U('primary'), parent = 'primaryRespray', modType = 'color1', price = 500 }, color2 = { - label = 'Secondaire', + label = _U('secondary'), parent = 'secondaryRespray', modType = 'color2', price = 500 }, pearlescentColor = { - label = 'Nacré', + label = _U('pearlescent'), parent = 'pearlescentRespray', modType = 'pearlescentColor', price = 500 }, modXenon = { - label = 'Phares', + label = _U('headlights'), parent = 'cosmetics', modType = 22, price = 500 }, bodyparts = { - label = 'Carosserie', + label = _U('bodyparts'), parent = 'cosmetics', - modFender = 'Aile gauche', - modRightFender = 'Aile droite', - modSpoilers = 'Aileron', - modSideSkirt = 'Bas de caisse', - modFrame = 'Cage', - modHood = 'Capot', - modGrille = 'Grille', - modRearBumper = 'Pare-choc arrière', - modFrontBumper = 'Pare-choc avant', - modExhaust = 'Pot d\'échappement', - modRoof = 'Toit' + modFender = _U('leftfender'), + modRightFender = _U('rightfender'), + modSpoilers = _U('spoilers'), + modSideSkirt = _U('sideskirt'), + modFrame = _U('cage'), + modHood = _U('hood'), + modGrille = _U('grille'), + modRearBumper = _U('rearbumper'), + modFrontBumper = _U('frontbumper'), + modExhaust = _U('exhaust'), + modRoof = _U('roof') }, modSpoilers = { - label = 'Aileron', + label = _U('spoilers'), parent = 'bodyparts', modType = 0, price = 500 }, modFrontBumper = { - label = 'Pare-choc avant', + label = _U('frontbumper'), modType = 1, price = 500 }, modRearBumper = { - label = 'Pare-choc arrière', + label = _U('rearbumper'), modType = 2, price = 500 }, modSideSkirt = { - label = 'Bas de caisse', + label = _U('sideskirt'), modType = 3, price = 500 }, modExhaust = { - label = 'Pot d\'échappement', + label = _U('exhaust'), modType = 4, price = 500 }, modFrame = { - label = 'Cage', + label = _U('cage'), modType = 5, price = 500 }, modGrille = { - label = 'Grille', + label = _U('grille'), modType = 6, price = 500 }, modHood = { - label = 'Capot', + label = _U('hood'), modType = 7, price = 500 }, modFender = { - label = 'Aile gauche', + label = _U('leftfender'), modType = 8, price = 500 }, modRightFender = { - label = 'Aile droite', + label = _U('rightfender'), modType = 9, price = 500 }, modRoof = { - label = 'Toit', + label = _U('roof'), modType = 10, price = 500 }, windowTint = { - label = 'Fenêtres', + label = _U('windowTint'), parent = 'cosmetics', modType = 'windowTint', price = 500 }, modHorns = { - label = 'Klaxon', + label = _U('horns'), parent = 'cosmetics', modType = 14, price = 500 }, neonColor = { - label = 'Néons', + label = _U('neons'), parent = 'cosmetics', modType = 'neonColor', price = 500 }, tyreSmokeColor = { - label = 'Fumée des pneus', + label = _U('tiresmoke'), parent = 'wheels', modType = 'tyreSmokeColor', price = 500 diff --git a/locales/en.lua b/locales/en.lua index e69bd5e6..755395e0 100644 --- a/locales/en.lua +++ b/locales/en.lua @@ -1,23 +1,161 @@ Locales['en'] = { - ['by_default'] = 'by default', + ['by_default'] = 'default', ['installed'] = 'installed', ['already_own'] = 'you already own: ~b~', ['not_enough_money'] = 'you do not have enough money!', ['purchased'] = 'purchased!', ['press_custom'] = 'press ~INPUT_PICKUP~ to personalize your vehicle.', +-- Paint Colors + -- Black ['black'] = 'black', + ['graphite'] = 'graphite', + ['black_metallic'] = 'black Setallic', + ['caststeel'] = 'cast Steel', + ['black_anth'] = 'black Anthracite', + ['matteblack'] = 'matte Black', + ['darknight'] = 'dark Night', + ['deepblack'] = 'deep Black', + ['oil'] = 'oil', + ['carbon'] = 'carbon', + -- White ['white'] = 'white', + ['vanilla'] = 'vanilla', + ['creme'] = 'creme', + ['polarwhite'] = 'polar White', + ['beige'] = 'beige', + ['mattewhite'] = 'matte White', + ['snow'] = 'snow', + ['cotton'] = 'cotton', + ['alabaster'] = 'alabaster', + ['purewhite'] = 'pure White', + -- Grey ['grey'] = 'grey', + -- Red ['red'] = 'red', + -- Pink ['pink'] = 'pink', + ['electricpink'] = 'electric Pink', + ['brightpink'] = 'bright Pink', + ['salmon'] = 'salmon', + ['sugarplum'] = 'sugar Plum', + -- Blue ['blue'] = 'blue', + -- Yellow ['yellow'] = 'yellow', + ['wheat'] = 'wheat', + ['raceyellow'] = 'race Yellow', + ['paleyellow'] = 'pale Yellow', + ['lightyellow'] = 'light Yellow', + -- Green ['green'] = 'green', + -- Orange ['orange'] = 'orange', + ['tangerine'] = 'Tangerine', + ['matteorange'] = 'Matte Orange', + ['lightorange'] = 'Light Orange', + ['peach'] = 'Peach', + ['pumpkin'] = 'Pumpkin' + ['orangelambo'] = 'Orange Lambo', + -- Brown ['brown'] = 'brown', + ['copper'] = 'Copper', + ['lightbrown'] = 'Light Brown', + ['darkbrown'] = 'Dark Brown', + ['bronze'] = 'Bronze', + ['brownmetallic'] = 'Brown Metallic', + ['espresso'] = 'Espresso', + ['chocolate'] = 'Chocolate', + ['terracotta'] = 'Terracotta', + ['marble'] = 'Marble', + ['sand'] = 'Sand', + ['sepia'] = 'Sepia', + ['bison'] = 'Bison', + ['palm'] = 'Palm', + ['caramel'] = 'Caramel', + ['rust'] = 'Rust', + ['chestnut'] = 'Chestnut', + ['hazelnut'] = 'Hazelnut', + ['shell'] = 'Shell', + ['mahogany'] = 'Mahogany', + ['cauldron'] = 'Cauldron', + ['blond'] = 'Blond', + ['gravel'] = 'Gravel', + ['darkearth'] = 'Dark Earth', + ['desert'] = 'Desert', + -- Purple ['purple'] = 'purple', + ['indigo'] = 'Indigo', + ['deeppurple'] = 'Deep Purple' + ['darkviolet'] = 'Dark Violet', + ['amethyst'] = 'Amethyst', + ['mysticalviolet'] = 'Mystic Violet', + ['purplemetallic'] = 'Purple Metallic', + ['matteviolet'] = 'Matte Violet', + ['mattedeeppurple'] = 'Matte Deep Purple', + -- Chrome ['chrome'] = 'chrome', + ['brushedchrome'] = 'brushed Chrome', + ['blackchrome'] = 'black Chrome', + ['brushedaluminum'] = 'brushed Aluminum' + -- Metal ['gold'] = 'gold', + ['puregold'] = 'pure Gold', + ['brushedgold'] = 'brushed Gold', + ['lightgold'] = 'light Gold', +-- License Plates + ['blue_on_white_1'] = 'blue on white 1', + ['yellow_on_black'] = 'yellow on black', + ['yellow_blue'] = 'yellow on blue', + ['blue_on_white_2'] = 'blue on white 2', + ['blue_on_white_3'] = 'blue on white 3', +-- Upgrades + ['upgrades'] = 'upgrades', + ['engine'] = 'engine', + ['brakes'] = 'brakes', + ['transmission'] = 'transmission', + ['suspension'] = 'suspension', + ['armor'] = 'armor', + ['turbo'] = 'turbo', +-- Cosmetics + ['cosmetics'] = 'cosmetics', + -- Body Parts + ['bodyparts'] = 'body Parts', + ['leftfender'] = 'left fender', + ['rightfender'] = 'right fender', + ['spoilers'] = 'spoilers', + ['sideskirt'] = 'side skirts', + ['frame'] = 'cage', + ['hood'] = 'hood', + ['grille'] = 'grille', + ['rearbumper'] = 'rear bumper', + ['frontbumper'] = 'front bumper', + ['exhaust'] = 'exhaust', + ['roof'] = 'roof', + -- Paint + ['respray'] = 'respray', + ['primary'] = 'primary', + ['secondary'] = 'secondary', + ['pearlescent'] = 'pearlescent', + -- Misc + ['headlights'] = 'headlights', + ['licenseplates'] = 'license Plate', + ['windowtint'] = 'window Tint', + ['horns'] = 'horns', + -- Neon + ['neons'] = 'neons', + -- Wheels + ['wheels'] = 'wheels', + ['tiresmoke'] = 'tire smoke', + ['wheel_type'] = 'wheel type', + ['wheel_color'] = 'wheel color', + ['sport'] = 'sport', + ['muscle'] = 'muscle', + ['lowrider'] = 'lowrider', + ['suv'] = 'sUV', + ['allterrain'] = 'all terrain', + ['tuning'] = 'tuning', + ['motorcycle'] = 'motorcycle', + ['highend'] = 'high end', } diff --git a/locales/fr.lua b/locales/fr.lua index 2617a8b8..2148348e 100644 --- a/locales/fr.lua +++ b/locales/fr.lua @@ -6,18 +6,155 @@ Locales['fr'] = { ['not_enough_money'] = 'vous n\'avez pas assez d\'argent !', ['purchased'] = 'achat effectué !', ['press_custom'] = 'appuyez sur ~INPUT_PICKUP~ pour personnaliser le véhicule.', +-- Paint Colors + -- Black ['black'] = 'noir', + ['graphite'] = 'graphite', + ['black_metallic'] = 'noir Méttallisé', + ['caststeel'] = 'acier Fondu', + ['black_anth'] = 'noir Anthracite' + ['matteblack'] = 'noir Mat', + ['darknight'] = 'nuit Sombre', + ['deepblack'] = 'noir Profond', + ['oil'] = 'pétrol', + ['carbon'] = 'carbon', + -- White ['white'] = 'blanc', + ['vanilla'] = 'vanille', + ['creme'] = 'crème', + ['polarwhite'] = 'blanc Polair', + ['beige'] = 'beige', + ['mattewhite'] = 'blanc Mat', + ['snow'] = 'neige', + ['cotton'] = 'coton', + ['alabaster'] = 'albâtre', + ['purewhite'] = 'blanc Pure', + -- Grey ['grey'] = 'gris', + -- Red ['red'] = 'rouge', + -- Pink ['pink'] = 'rose', + ['electricpink'] = 'rose Electrique', + ['salmon'] = 'rose Saumon', + ['sugarplum'] = 'rose Dragée', + -- Blue ['blue'] = 'bleu', + -- Yellow ['yellow'] = 'jaune', + ['wheat'] = 'Jaune Blé', + ['raceyellow'] = 'Jaune Rally', + ['paleyellow'] = 'Jaune Clair', + ['lightyellow'] = 'Jaune Pâle', + -- Green ['green'] = 'vert', + -- Orange ['orange'] = 'orange', + ['tangerine'] = 'Tangerine', + ['matteorange'] = 'Orange Mat', + ['lightorange'] = 'Orange Clair', + ['peach'] = 'Pèche', + ['pumpkin'] = 'Citrouille', + ['orangelambo'] = 'Orange Lambo', + -- Brown ['brown'] = 'marron', + ['copper'] = 'Cuivre', + ['lightbrown'] = 'Marronclair', + ['darkbrown'] = 'Marron Foncé', + ['bronze'] = 'Bronze', + ['brownmetallic'] = 'Marron Métallisé', + ['espresso'] = 'Expresso', + ['chocolate'] = 'Chocolat', + ['terracotta'] = 'Terre Cuite', + ['marble'] = 'Marbre', + ['sand'] = 'Sable', + ['sepia'] = 'Sépia', + ['bison'] = 'Bison', + ['palm'] = 'Palmier', + ['caramel'] = 'Caramel', + ['rust'] = 'Rouille', + ['chestnut'] = 'Chataigne', + ['hazelnut'] = 'Noisette', + ['shell'] = 'Coquillage', + ['mahogany'] = 'Acajou', + ['cauldron'] = 'Chaudron', + ['blond'] = 'Blond', + ['gravel'] = 'Gravillon', + ['darkearth'] = 'Terre Foncé', + ['desert'] = 'Désert', + -- Purple ['purple'] = 'violet', + ['indigo'] = 'Indigo', + ['deeppurple'] = 'Violet Profond', + ['darkviolet'] = 'Violet Foncé', + ['amethyst'] = 'Améthyste', + ['mysticalviolet'] = 'Violet Mystique', + ['purplemetallic'] = 'Violet Métallisé', + ['matteviolet'] = 'Violet Mat', + ['mattedeeppurple'] = 'Violet Profond Mat', + -- Chrome ['chrome'] = 'chrome', + ['brushedchrome'] = 'chrome Brossé', + ['blackchrome'] = 'chrome Noir', + ['brushedaluminum'] = 'aluminum Brossé', + -- Metal ['gold'] = 'or', + ['puregold'] = 'Or Pure', + ['brushedgold'] = 'Or Brossé', + ['lightgold'] = 'Or Clair', +-- License Plates + ['blue_on_white_1'] = 'bleu sur fond Blanc 1', + ['yellow_on_black'] = 'jaune sur fond Noir', + ['yellow_blue'] = 'jaune sur fond Bleu', + ['blue_on_white_2'] = 'bleu sur fond Blanc 2', + ['blue_on_white_3'] = 'bleu sur fond Blanc 3', +-- Upgrades + ['upgrades'] = 'upgrades', + ['engine'] = 'moteur', + ['brakes'] = 'freins', + ['transmission'] = 'transmission', + ['suspension'] = 'suspension', + ['armor'] = 'armure', + ['turbo'] = 'turbo', +-- Cosmetics + ['cosmetics'] = 'cosmétiques', + -- Body Parts + ['bodyparts'] = 'carosserie', + ['leftfender'] = 'aile gauche', + ['rightfender'] = 'aile droite', + ['spoilers'] = 'aileron', + ['sideskirt'] = 'bas de caisse', + ['frame'] = 'cage', + ['hood'] = 'capot', + ['grille'] = 'grille', + ['rearbumper'] = 'pare-choc arrière', + ['frontbumper'] = 'pare-choc avant', + ['exhaust'] = 'pot d\'échappement', + ['roof'] = 'toit', + -- Paint + ['respray'] = 'peinture', + ['primary'] = 'primaire', + ['secondary'] = 'secondaire', + ['pearlescent'] = 'nacré', + -- Misc + ['headlights'] = 'phares', + ['licenseplates'] = 'plaque', + ['windowtint'] = 'fenêtres', + ['horns'] = 'klaxon', + -- Neon + ['neons'] = 'néons', + -- Wheels + ['wheels'] = 'roues', + ['tiresmoke'] = 'fumée des pneus', + ['wheel_type'] = 'types de Jantes', + ['wheel_color'] = 'couleurs jantes', + ['sport'] = 'Jantes Sport', + ['muscle'] = 'Jantes Muscle', + ['lowrider'] = 'Jantes Lowrider', + ['suv'] = 'Jantes SUV', + ['allterrain'] = 'Jantes Tout-terrain', + ['tuning'] = 'Jantes Tuning', + ['motorcycle'] = 'Jantes Moto', + ['highend'] = 'Jantes Haut de gamme', }