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
+6 -5
View File
@@ -123,8 +123,9 @@ local Translations = {
}, },
}, },
} }
if GetConvar('qb_locale', 'en') == 'ua' then
Lang = Lang or Locale:new({ Lang = Lang or Locale:new({
phrases = Translations, phrases = Translations,
warnOnMissing = true warnOnMissing = true
}) })
end