Refactor Lua format in locales

This commit is contained in:
codexp
2018-07-13 14:03:30 +02:00
committed by Hugo Locurcio
parent 4605ed7848
commit c7f80ce960
7 changed files with 71 additions and 75 deletions

View File

@ -33,7 +33,7 @@ function moreblocks.node_is_owned(pos, placer)
end
if ownername ~= false then
minetest.chat_send_player( placer:get_player_name(), S("Sorry, %s owns that spot."):format(ownername) )
minetest.chat_send_player( placer:get_player_name(), S("Sorry, @1 owns that spot.", ownername) )
return true
else
return false