Update and rename cn.lua to zh-cn.lua

This commit is contained in:
ShangYi7
2025-04-15 23:09:23 +08:00
committed by GitHub
parent e51dfc8f96
commit 0e4b7090c5
+2 -2
View File
@@ -120,10 +120,10 @@ local Translations = {
}, },
} }
if GetConvar('qb_locale', 'en') == 'cn' then if GetConvar('qb_locale', 'en') == 'zh-cn' then
Lang = Locale:new({ Lang = Locale:new({
phrases = Translations, phrases = Translations,
warnOnMissing = true, warnOnMissing = true,
fallbackLang = Lang, fallbackLang = Lang,
}) })
end end