Minor fix after update

master
MoNTE48 2020-03-22 21:17:56 +01:00
parent 0288a199fc
commit fccd1de2bc
5 changed files with 8 additions and 17 deletions

View File

@ -199,7 +199,7 @@ minetest.register_chatcommand("list_areas", {
if #areaStrings == 0 then
return true, S("No visible areas.")
elseif #areaStrings > 100 then
return true, S(Too many areas to list.")
return true, S("Too many areas to list.")
end
return true, table.concat(areaStrings, "\n")

View File

@ -1,4 +1,7 @@
-- This is inspired by the landrush mod by Bremaweb
local S = intllib.make_gettext_pair()
areas.hud = {}
hud.register("areas", {
@ -37,7 +40,7 @@ minetest.register_playerstep(function(_, playernames)
local areaString = ""
if #areaStrings > 0 then
areaString = "Areas:"
areaString = S("Areas:")
areaString = areaString.."\n"..
table.concat(areaStrings, "\n")
end

View File

@ -1,5 +1,7 @@
%s is protected by %s.=%s защищено %s.
Areas:=Зоны:
#Protector Block
Protector Block=Защитный Блок
You are not allowed to protect that area:=Вам не разрешено защищать эту область:

View File

@ -90,21 +90,6 @@ The area intersects with @1 [@2] (@3).=
You have reached the maximum amount of areas that you are allowed to protect.=
### legacy.lua ###
<version>=
Converted areas saved. Done.=
Converting areas…=
Error loading legacy file: @1=
Invalid version number. (0 allowed)=
Legacy file loaded.=
Loads, converts, and saves the areas from a legacy save file.=
Table format updated.=
unnamed=
### pos.lua ###
<not set>=

View File

@ -1,4 +1,5 @@
local S = intllib.make_gettext_pair()
-- I could depend on WorldEdit for this, but you need to have the 'worldedit'
-- permission to use those commands and you don't have
-- /area_pos{1,2} [X Y Z|X,Y,Z].