Skip to content

Commit de9021c

Browse files
fix: add qb_locale convar check
1 parent 8be7f1e commit de9021c

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

locale/ua.lua

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,9 @@ local Translations = {
123123
},
124124
},
125125
}
126-
127-
Lang = Lang or Locale:new({
128-
phrases = Translations,
129-
warnOnMissing = true
130-
})
126+
if GetConvar('qb_locale', 'en') == 'ua' then
127+
Lang = Lang or Locale:new({
128+
phrases = Translations,
129+
warnOnMissing = true
130+
})
131+
end

0 commit comments

Comments
 (0)