- remove locales module

This commit is contained in:
Mustachedom committed 2026-08-18 00:02:04 -07:00
1 parent d6cffd01bc
commit 07530a8662
25 files changed
+84 -724

No files matched your search

+1 -5
View File
@@ -5,10 +5,6 @@ Notify.GetResourceName = function()
return "default"
end
local Language = Language or Require("modules/locales/shared.lua")
local locale = Language.Locale
local placeHolderText = locale("Notifications.PlaceholderTitle")
---DEPRICATED: PLEASE SWITCH TO Notify.SendNotification
---12/13/25
---@param src number
@@ -31,7 +27,7 @@ end
Notify.SendNotification = function(src, title, message, _type, time, props)
time = time or 3000
if not title then
title = placeHolderText
title = lib.locale("Notifications.PlaceholderTitle")
end
TriggerClientEvent('community_bridge:Client:Notify', src, title, message, _type, time, props)
end