Skip to content

Commit 76dcf72

Browse files
committed
1 parent 5208139 commit 76dcf72

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

mods/bones/init.lua

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ local min_inv_size = 4 * 8 -- display and provide at least this many slots
1111

1212
bones = {}
1313

14+
local function TRANSLATEMEPLEASE(s)
15+
return s
16+
end
1417

1518
local function is_owner(pos, name)
1619
local owner = minetest.get_meta(pos):get_string("owner")
@@ -356,18 +359,18 @@ minetest.register_on_dieplayer(function(player)
356359
if bones_placed then
357360
if drop_bones then
358361
log_message = "Inventory partially dropped"
359-
chat_message = "@1 died at @2, and partially dropped their inventory."
362+
chat_message = TRANSLATEMEPLEASE("@1 died at @2, and partially dropped their inventory.")
360363
else
361364
log_message = "Bones placed"
362-
chat_message = "@1 died at @2, and bones were placed."
365+
chat_message = TRANSLATEMEPLEASE("@1 died at @2, and bones were placed.")
363366
end
364367
else
365368
if drop_bones then
366369
log_message = "Inventory dropped"
367-
chat_message = "@1 died at @2, and dropped their inventory."
370+
chat_message = TRANSLATEMEPLEASE("@1 died at @2, and dropped their inventory.")
368371
else
369372
log_message = "No bones placed"
370-
chat_message = "@1 died at @2."
373+
chat_message = TRANSLATEMEPLEASE("@1 died at @2.")
371374
end
372375
end
373376

0 commit comments

Comments
 (0)