forked from minetest-mods/areas
fix trailing whitespace in translatable strings
Good editors trim trailing whitespace from EOL. This means we need to avoid translatable strings that include spacers at the end. They need to be added in code.
This commit is contained in:
committed by
SmallJoker
parent
3f30886972
commit
9b6fea1473
2
pos.lua
2
pos.lua
@ -152,7 +152,7 @@ minetest.register_chatcommand("area_pos", {
|
||||
areas.set_pos[name] = "pos2"
|
||||
return true, S("Select position @1 by punching a node.", "2")
|
||||
elseif param == "get" then -- Display current area positions
|
||||
local pos1str, pos2str = S("Position @1: ", "1"), S("Position @1: ", "2")
|
||||
local pos1str, pos2str = S("Position @1:", " 1"), S("Position @1:", " 2")
|
||||
if areas.pos1[name] then
|
||||
pos1str = pos1str..minetest.pos_to_string(areas.pos1[name])
|
||||
else
|
||||
|
Reference in New Issue
Block a user