From ab383b2d5ef24d76df19ec91c22aac30d5ec0bc3 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 24 Jan 2023 17:50:52 +0100 Subject: [PATCH] Fix bad plural in tooltip if >=2 or food points --- mods/rp_hunger/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/rp_hunger/init.lua b/mods/rp_hunger/init.lua index 66b710b6..29a98b80 100644 --- a/mods/rp_hunger/init.lua +++ b/mods/rp_hunger/init.lua @@ -668,10 +668,10 @@ if minetest.get_modpath("tt") ~= nil then if def and is_food then msg = S("Food item") if def._rp_hunger_food then - msg = msg .."\n" .. S("+@1 food points", def._rp_hunger_food) + msg = msg .."\n" .. S("Food points: +@1", def._rp_hunger_food) end if HUNGER_DEBUG and def._rp_hunger_sat then - msg = msg .. "\n" .. S("+@1 saturation points", def._rp_hunger_sat) + msg = msg .. "\n" .. S("Saturation points: +@1", def._rp_hunger_sat) end end return msg