diff --git a/mods/beds/functions.lua b/mods/beds/functions.lua index f67390a5..f029d55c 100644 --- a/mods/beds/functions.lua +++ b/mods/beds/functions.lua @@ -102,7 +102,9 @@ local function update_formspecs(finished) "label[2.7,11; " .. S("Good morning.") .. "]" else form_n = beds.formspec .. - "label[2.2,11;"..tostring(player_in_bed)..S(" of ")..tostring(ges)..S(" players are in bed]") + "label[2.2,11;" .. + S("@1 of @2 players are in bed]", tostring(player_in_bed), tostring(ges)) +-- "label[2.2,11;"..tostring(player_in_bed)..S(" of ")..tostring(ges)..S(" players are in bed]") if is_majority then form_n = form_n .. "button_exit[2,8;4,0.75;force;" .. S("Force night skip") .. "]" diff --git a/mods/beds/locale/es.txt b/mods/beds/locale/es.txt index 8a3b43df..879c7b21 100755 --- a/mods/beds/locale/es.txt +++ b/mods/beds/locale/es.txt @@ -3,8 +3,9 @@ Fancy Bed = Cama elegante Simple Bed = Cama simple #functions.lua - of = de - players are in bed] = jugadores están en cama] +# of = de +# players are in bed] = jugadores están en cama] +@1 of @2 players are in bed] = @1 de @2 jugadores están en cama] Good morning. = Buen día. Force night skip = Forzar saltar noche You can only sleep at night. = Solo es posible dormir por la noche.