Logo
Explore Help
Register Sign In
FumeNodes/ox_lib
1
0
Fork 0
You've already forked ox_lib
mirror of https://github.com/CommunityOx/ox_lib.git synced 2026-08-17 06:56:03 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
671be5e7a24e910ec6acf063f1e3149650d0a4de
ox_lib/resource/locale/client.lua

10 lines
175 B
Lua
Raw Normal View History

refactor(locale): simplify BREAKING CHANGE (kind of) Remove user-selection for locales. Adds mostly unnecessary complexity, and most people don't want to bother with it anyway. Locale is always based on the convar "ox:locale" instead.
2022-10-18 21:17:26 +11:00
---@todo remove module and nui event
refactor(client/locale): send GlobalState.locales to ui
2022-05-06 16:38:36 +10:00
RegisterNUICallback('init', function(_, cb)
refactor(locale): simplify BREAKING CHANGE (kind of) Remove user-selection for locales. Adds mostly unnecessary complexity, and most people don't want to bother with it anyway. Locale is always based on the convar "ox:locale" instead.
2022-10-18 21:17:26 +11:00
cb(1)
refactor(locale): default locale
2022-05-06 16:00:40 +10:00
refactor(locale): simplify BREAKING CHANGE (kind of) Remove user-selection for locales. Adds mostly unnecessary complexity, and most people don't want to bother with it anyway. Locale is always based on the convar "ox:locale" instead.
2022-10-18 21:17:26 +11:00
SendNUIMessage({
action = 'loadLocales',
data = {}
})
feat(web): Settings modal, locale state provider
2022-04-30 14:49:49 +02:00
end)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 13ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API