Add russian locale
Poorly... But it'll do for now
This commit is contained in:
@@ -95,7 +95,7 @@ function shared.DeathReporter.Init()
|
||||
local msg = {
|
||||
channel = "CHANNEL",
|
||||
data = Heimdall_Data.config.deathReporter.masterChannel,
|
||||
message = string.format("%s killed %s with %s in %s [%s](%2.2f, %2.2f)",
|
||||
message = string.format(shared.L.en.deathReporterDeath,
|
||||
source,
|
||||
destination,
|
||||
spellName,
|
||||
@@ -107,6 +107,20 @@ function shared.DeathReporter.Init()
|
||||
print(string.format("[%s] Adding message to queue: %s", ModuleName, msg.message))
|
||||
end
|
||||
table.insert(shared.messenger.queue, msg)
|
||||
|
||||
---@type Message
|
||||
msg = {
|
||||
channel = "CHANNEL",
|
||||
data = Heimdall_Data.config.deathReporter.masterChannel .. "ru",
|
||||
message = string.format(shared.L.ru.deathReporterDeath,
|
||||
source,
|
||||
destination,
|
||||
spellName,
|
||||
location,
|
||||
tostring(GetCurrentMapAreaID()),
|
||||
x * 100, y * 100)
|
||||
}
|
||||
table.insert(shared.messenger.queue, msg)
|
||||
end)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user