From de9021c7387f009d1f9c0338782d28b0e7bac3e1 Mon Sep 17 00:00:00 2001 From: Joel <34402846+Qwerty1Verified@users.noreply.github.com> Date: Mon, 10 Mar 2025 23:27:54 +0000 Subject: [PATCH] fix: add qb_locale convar check --- locale/ua.lua | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/locale/ua.lua b/locale/ua.lua index f7bdaaa..ee97ddc 100644 --- a/locale/ua.lua +++ b/locale/ua.lua @@ -123,8 +123,9 @@ local Translations = { }, }, } - -Lang = Lang or Locale:new({ - phrases = Translations, - warnOnMissing = true -}) +if GetConvar('qb_locale', 'en') == 'ua' then + Lang = Lang or Locale:new({ + phrases = Translations, + warnOnMissing = true + }) +end