From 079b9f7966819e6db67e4d117c5504df0bb3ffce Mon Sep 17 00:00:00 2001 From: ElPumpo Date: Tue, 24 Jul 2018 13:35:46 +0200 Subject: [PATCH] Added missing locales --- locales/de.lua | 4 +++- locales/en.lua | 1 + locales/fr.lua | 3 ++- server/main.lua | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/locales/de.lua b/locales/de.lua index d7a1be95..b29f9cb1 100644 --- a/locales/de.lua +++ b/locales/de.lua @@ -1,11 +1,13 @@ Locales['de'] = { - ['by_default'] = 'default', ['installed'] = 'installiert', ['already_own'] = 'du besitzt bereits: ~b~', ['not_enough_money'] = 'du hast nicht genug Geld!', ['purchased'] = 'gekauft!', ['press_custom'] = 'Drücke ~INPUT_PICKUP~ um dein Fahrzeug zu modifizieren.', + ['open_command'] = 'open LS Customs', + ['level'] = 'level ', + ['neon'] = 'neon', -- Paint Colors -- Black ['black'] = 'black', diff --git a/locales/en.lua b/locales/en.lua index 1d779354..f6a46223 100644 --- a/locales/en.lua +++ b/locales/en.lua @@ -5,6 +5,7 @@ Locales['en'] = { ['not_enough_money'] = 'you do not have enough money!', ['purchased'] = 'you have purchased the mod!', ['press_custom'] = 'press ~INPUT_PICKUP~ to personalize your vehicle.', + ['open_command'] = 'open LS Customs', ['level'] = 'level ', ['neon'] = 'neon', -- Paint Colors diff --git a/locales/fr.lua b/locales/fr.lua index 6368fb8e..cb0a71b6 100644 --- a/locales/fr.lua +++ b/locales/fr.lua @@ -1,12 +1,13 @@ Locales['fr'] = { - ['by_default'] = 'par défaut', ['installed'] = 'installé', ['already_own'] = 'vous possédez déjà: ~b~', ['not_enough_money'] = 'vous n\'avez pas assez d\'argent !', ['purchased'] = 'achat effectué !', ['press_custom'] = 'appuyez sur ~INPUT_PICKUP~ pour personnaliser le véhicule.', + ['open_command'] = 'open LS Customs', ['level'] = 'niveau ', + ['neon'] = 'neon', -- Paint Colors -- Black ['black'] = 'noir', diff --git a/server/main.lua b/server/main.lua index 4d7c4a71..263539ca 100644 --- a/server/main.lua +++ b/server/main.lua @@ -37,7 +37,7 @@ end) RegisterServerEvent('esx_lscustom:refreshOwnedVehicle') AddEventHandler('esx_lscustom:refreshOwnedVehicle', function(myCar) MySQL.Async.execute( - 'UPDATE `owned_vehicles` SET `vehicle` = @vehicle WHERE `vehicle` LIKE "%' .. myCar['plate'] .. '%"', + 'UPDATE `owned_vehicles` SET `vehicle` = @vehicle WHERE `vehicle` LIKE "%' .. myCar.plate .. '%"', { ['@vehicle'] = json.encode(myCar) }