Skip to content

Commit

Permalink
Merge pull request #145 from RoYaL69/main
Browse files Browse the repository at this point in the history
added some missing variables
  • Loading branch information
GhzGarage authored Oct 25, 2024
2 parents 2f6f3ec + c80ab55 commit 0e47de4
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions locales/de.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ local Translations = {
userAdd = 'Benutzer hinzugefügt',
userRemove = 'Benutzer entfernt',
card = 'Karte erstellt',
give = '$%s Bargeld gegeben',
receive = '$%s Bargeld erhalten',
},
error = {
error = 'Ein Fehler ist aufgetreten',
Expand All @@ -20,13 +22,19 @@ local Translations = {
money = 'Nicht genug Geld',
pin = 'Ungültige PIN',
card = 'Keine Bankkarte gefunden',
amount = 'Ungültiger Betrag',
toofar = 'Du bist zu weit entfernt',
},
progress = {
atm = 'Zugriff auf Geldautomaten',
atm = 'Zugriff auf Geldautomaten...',
}
}

Lang = Lang or Locale:new({
phrases = Translations,
warnOnMissing = true
})

if GetConvar('qb_locale', 'en') == 'de' then
Lang = Locale:new({
phrases = Translations,
warnOnMissing = true,
fallbackLang = Lang,
})
end

0 comments on commit 0e47de4

Please sign in to comment.