File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ local min_inv_size = 4 * 8 -- display and provide at least this many slots
11
11
12
12
bones = {}
13
13
14
+ local function TRANSLATEMEPLEASE (s )
15
+ return s
16
+ end
14
17
15
18
local function is_owner (pos , name )
16
19
local owner = minetest .get_meta (pos ):get_string (" owner" )
@@ -356,18 +359,18 @@ minetest.register_on_dieplayer(function(player)
356
359
if bones_placed then
357
360
if drop_bones then
358
361
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." )
360
363
else
361
364
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." )
363
366
end
364
367
else
365
368
if drop_bones then
366
369
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." )
368
371
else
369
372
log_message = " No bones placed"
370
- chat_message = " @1 died at @2."
373
+ chat_message = TRANSLATEMEPLEASE ( " @1 died at @2." )
371
374
end
372
375
end
373
376
You can’t perform that action at this time.
0 commit comments