From d20c1e2dcf05d8237492d44c136140c539bb6d26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imre=20P=C3=A9ntek?= Date: Tue, 27 Feb 2024 12:50:26 +0100 Subject: [PATCH] NS routine as per code review --- mods/bones/init.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mods/bones/init.lua b/mods/bones/init.lua index e7c2d2bd..16b7a9be 100644 --- a/mods/bones/init.lua +++ b/mods/bones/init.lua @@ -11,7 +11,7 @@ local min_inv_size = 4 * 8 -- display and provide at least this many slots bones = {} -local function TRANSLATEMEPLEASE(s) +local function NS(s) return s end @@ -359,18 +359,18 @@ minetest.register_on_dieplayer(function(player) if bones_placed then if drop_bones then log_message = "Inventory partially dropped" - chat_message = TRANSLATEMEPLEASE("@1 died at @2, and partially dropped their inventory.") + chat_message = NS("@1 died at @2, and partially dropped their inventory.") else log_message = "Bones placed" - chat_message = TRANSLATEMEPLEASE("@1 died at @2, and bones were placed.") + chat_message = NS("@1 died at @2, and bones were placed.") end else if drop_bones then log_message = "Inventory dropped" - chat_message = TRANSLATEMEPLEASE("@1 died at @2, and dropped their inventory.") + chat_message = NS("@1 died at @2, and dropped their inventory.") else log_message = "No bones placed" - chat_message = TRANSLATEMEPLEASE("@1 died at @2.") + chat_message = NS("@1 died at @2.") end end