Skip to content

Commit

Permalink
Update es.lua
Browse files Browse the repository at this point in the history
Fixed GetConvar
  • Loading branch information
Ed3n18 authored Aug 3, 2024
1 parent c3c9f4e commit c7ec177
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions locales/es.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ local Translations = {
},
}

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

0 comments on commit c7ec177

Please sign in to comment.