Update
Some checks failed
Release Workflow / release (push) Failing after 18s

This commit is contained in:
2025-05-05 00:58:16 +02:00
parent 5d8afe8db7
commit d57b573683
2 changed files with 4 additions and 4 deletions

View File

@@ -698,14 +698,14 @@ local function init()
---@param locale string
---@return string
shared._L = function(key, locale)
local locale = shared._Locale[locale]
if not locale then
local localeTable = shared._Locale[locale]
if not localeTable then
if Heimdall_Data.config.debug then
print(string.format("[Heimdall] Locale %s not found", tostring(locale)))
end
return key
end
local value = locale[key]
local value = localeTable[key]
if not value then
if Heimdall_Data.config.debug then
print(string.format("[Heimdall] Key %s not found in locale %s", tostring(key), tostring(locale)))

View File

@@ -140,7 +140,7 @@ function shared.NetworkMessenger.Init()
local target = strtrim(tostring(parts[4]))
if Heimdall_Data.config.networkMessenger.debug then
print(
string.format("[%s] Received message command: %s %s %s", ModuleName, content, targetchannel, target)
string.format("[%s] Received message command: %s %s %s", ModuleName, content, targetchannel, target)
)
end
---@type Message