Merge pull request #455 from kywan/main

Change var name item_exist
This commit is contained in:
Kakarot
2022-01-10 12:19:18 -06:00
committed by GitHub
8 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -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 = {},
+2 -2
View File
@@ -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
})
})
+1 -1
View File
@@ -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 = {},
+1 -1
View File
@@ -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 = {},
+1 -1
View File
@@ -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 = {},
+1 -1
View File
@@ -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 = {},
+1 -1
View File
@@ -6,7 +6,7 @@ local Translations = {
missing_args2 = 'Все аргументы должны быть заполнены!',
no_access = 'Нет доступа к этой команде',
company_too_poor = 'Ваш работодатель разорился',
item_exist = 'Элемент не существует',
item_not_exist = 'Элемент не существует',
too_heavy = 'Инвентарь слишком полон'
},
success = {},
+1 -1
View File
@@ -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)