fix: add qb_locale convar check

This commit is contained in:
Joel
2025-03-10 23:27:54 +00:00
committed by GitHub
parent 8be7f1e117
commit de9021c738
+4 -3
View File
@@ -123,8 +123,9 @@ local Translations = {
},
},
}
Lang = Lang or Locale:new({
if GetConvar('qb_locale', 'en') == 'ua' then
Lang = Lang or Locale:new({
phrases = Translations,
warnOnMissing = true
})
})
end