Skip to content

Commit

Permalink
Merge branch 'main' into conflict-open-stash
Browse files Browse the repository at this point in the history
  • Loading branch information
GhzGarage authored Oct 17, 2024
2 parents f01703a + 71c6967 commit ee0964a
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
56 changes: 56 additions & 0 deletions locales/nl.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
local Translations = {
progress = {
['snowballs'] = 'Sneeuwballen verzamelen..',
},
notify = {
['failed'] = 'Mislukt',
['canceled'] = 'Geannuleerd',
['vlocked'] = 'Voertuig Vergrendeld',
['notowned'] = 'Dit item is niet van jou!',
['missitem'] = 'Je hebt dit item niet!',
['nonb'] = 'Niemand in de buurt!',
['noaccess'] = 'Geen toegang',
['nosell'] = 'Je kunt dit item niet verkopen..',
['itemexist'] = 'Item bestaat niet',
['notencash'] = 'Je hebt niet genoeg geld..',
['noitem'] = 'Je hebt niet de juiste items..',
['gsitem'] = 'Je kunt jezelf geen item geven?',
['tftgitem'] = 'Je bent te ver weg om items te geven!',
['infound'] = 'Het item dat je probeerde te geven is niet gevonden!',
['iifound'] = 'Onjuist item gevonden, probeer opnieuw!',
['gitemrec'] = 'Je hebt ontvangen ',
['gitemfrom'] = ' Van ',
['gitemyg'] = 'Je hebt gegeven ',
['gitinvfull'] = 'De inventaris van de andere speler is vol!',
['giymif'] = 'Jouw inventaris is vol!',
['gitydhei'] = 'Je hebt niet genoeg van het item',
['gitydhitt'] = 'Je hebt niet genoeg items om over te dragen',
['navt'] = 'Geen geldig type..',
['anfoc'] = 'Argumenten niet correct ingevuld..',
['yhg'] = 'Je hebt gegeven ',
['cgitem'] = 'Kan item niet geven!',
['idne'] = 'Item bestaat niet',
['pdne'] = 'Speler is niet online',
},
inf_mapping = {
['opn_inv'] = 'Open Inventaris',
['tog_slots'] = 'Schakelt sleutelbind-slots om',
['use_item'] = 'Gebruikt het item in slot ',
},
menu = {
['vending'] = 'Verkoopautomaat',
['bin'] = 'Open Prullenbak',
['craft'] = 'Maak',
['o_bag'] = 'Open Tas',
},
interaction = {
['craft'] = '~g~E~w~ - Maken',
},
}

if GetConvar('qb_locale', 'en') == 'nl' then
Lang = Locale:new({
phrases = Translations,
warnOnMissing = true,
})
end
6 changes: 6 additions & 0 deletions server/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -758,3 +758,9 @@ function RemoveItem(identifier, item, amount, slot, reason)
end

exports('RemoveItem', RemoveItem)

function GetInventory(identifier)
return Inventories[identifier]
end

exports('GetInventory', GetInventory)

0 comments on commit ee0964a

Please sign in to comment.