Skip to content

Commit

Permalink
fix (vehiclekeys): added missing language check
Browse files Browse the repository at this point in the history
  • Loading branch information
SjurdVrancken authored Oct 14, 2024
1 parent 47b1174 commit b0128a4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions locales/nl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ local Translations = {

}

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

0 comments on commit b0128a4

Please sign in to comment.