diff --git a/locale/de.lua b/locale/de.lua index 2b52b3f..0c4107c 100644 --- a/locale/de.lua +++ b/locale/de.lua @@ -6,7 +6,7 @@ local Translations = { missing_args2 = 'Alle Argumente müssen ausgefüllt werden!', no_access = 'Kein Zugriff auf diesen Befehl', company_too_poor = 'Dein Arbeitgeber ist pleite', - item_exist = 'Gegenstand existiert nicht', + item_not_exist = 'Gegenstand existiert nicht', too_heavy = 'Inventar ist zu voll!' }, success = {}, diff --git a/locale/en.lua b/locale/en.lua index 8fd71b1..b9d91ae 100644 --- a/locale/en.lua +++ b/locale/en.lua @@ -6,7 +6,7 @@ local Translations = { missing_args2 = 'All arguments must be filled out!', no_access = 'No access to this command', company_too_poor = 'Your employer is broke', - item_exist = 'Item does not exist', + item_not_exist = 'Item does not exist', too_heavy = 'Inventory too full' }, success = {}, @@ -22,4 +22,4 @@ local Translations = { Lang = Locale:new({ phrases = Translations, warnOnMissing = true -}) \ No newline at end of file +}) diff --git a/locale/fa.lua b/locale/fa.lua index 616554e..f163a8c 100644 --- a/locale/fa.lua +++ b/locale/fa.lua @@ -6,7 +6,7 @@ local Translations = { missing_args2 = 'Tamam vorodi hara vared konid !', no_access = 'Shoma dastresi nadarid !', company_too_poor = 'Sherkat shoma, pul kafi baraye hoghogh dadan nadarad !', - item_exist = 'In item vojod nadarad', + item_not_exist = 'In item vojod nadarad', too_heavy = 'Inventory kheyli sangin ast !' }, success = {}, diff --git a/locale/fr.lua b/locale/fr.lua index f8499d4..2a838c7 100644 --- a/locale/fr.lua +++ b/locale/fr.lua @@ -6,7 +6,7 @@ local Translations = { missing_args2 = 'Tous les arguments doivent être remplis!', no_access = 'Vous n\'avez pas accès à cette commande', company_too_poor = 'Votre entreprise n\'a pas suffisamment d\'argent', - item_exist = 'L\'objet n\'existe pas', + item_not_exist = 'L\'objet n\'existe pas', too_heavy = 'L\'inventaire est plein' }, success = {}, diff --git a/locale/it.lua b/locale/it.lua index a52ae6d..bb6f2ab 100644 --- a/locale/it.lua +++ b/locale/it.lua @@ -6,7 +6,7 @@ local Translations = { missing_args2 = 'Tutti gli argomenti devono essere compilati!', no_access = 'Non hai accesso a questo comando', company_too_poor = 'La tua azienda è povera', - item_exist = 'Oggetto inesistente', + item_not_exist = 'Oggetto inesistente', too_heavy = 'Inventario pieno' }, success = {}, diff --git a/locale/nl.lua b/locale/nl.lua index 8160dfc..0ce0547 100644 --- a/locale/nl.lua +++ b/locale/nl.lua @@ -6,7 +6,7 @@ local Translations = { missing_args2 = 'Alle argumenten moeten worden ingevuld!', no_access = 'Geen toegang tot deze commando', company_too_poor = 'Je werkgever is arm', - item_exist = 'Item bestaat niet', + item_not_exist = 'Item bestaat niet', too_heavy = 'Inventaris is te vol' }, success = {}, diff --git a/locale/ru.lua b/locale/ru.lua index c1e8fc5..cd702d7 100644 --- a/locale/ru.lua +++ b/locale/ru.lua @@ -6,7 +6,7 @@ local Translations = { missing_args2 = 'Все аргументы должны быть заполнены!', no_access = 'Нет доступа к этой команде', company_too_poor = 'Ваш работодатель разорился', - item_exist = 'Элемент не существует', + item_not_exist = 'Элемент не существует', too_heavy = 'Инвентарь слишком полон' }, success = {}, diff --git a/server/player.lua b/server/player.lua index ae049d2..f9ed6ad 100644 --- a/server/player.lua +++ b/server/player.lua @@ -329,7 +329,7 @@ function QBCore.Player.CreatePlayer(PlayerData) local totalWeight = QBCore.Player.GetTotalWeight(self.PlayerData.items) local itemInfo = QBCore.Shared.Items[item:lower()] if itemInfo == nil then - TriggerClientEvent('QBCore:Notify', self.PlayerData.source, Lang:t('error.item_exist'), 'error') + TriggerClientEvent('QBCore:Notify', self.PlayerData.source, Lang:t('error.item_not_exist'), 'error') return end local amount = tonumber(amount)