Minor fix after update
parent
0288a199fc
commit
fccd1de2bc
|
@ -199,7 +199,7 @@ minetest.register_chatcommand("list_areas", {
|
||||||
if #areaStrings == 0 then
|
if #areaStrings == 0 then
|
||||||
return true, S("No visible areas.")
|
return true, S("No visible areas.")
|
||||||
elseif #areaStrings > 100 then
|
elseif #areaStrings > 100 then
|
||||||
return true, S(Too many areas to list.")
|
return true, S("Too many areas to list.")
|
||||||
end
|
end
|
||||||
|
|
||||||
return true, table.concat(areaStrings, "\n")
|
return true, table.concat(areaStrings, "\n")
|
||||||
|
|
5
hud.lua
5
hud.lua
|
@ -1,4 +1,7 @@
|
||||||
-- This is inspired by the landrush mod by Bremaweb
|
-- This is inspired by the landrush mod by Bremaweb
|
||||||
|
|
||||||
|
local S = intllib.make_gettext_pair()
|
||||||
|
|
||||||
areas.hud = {}
|
areas.hud = {}
|
||||||
|
|
||||||
hud.register("areas", {
|
hud.register("areas", {
|
||||||
|
@ -37,7 +40,7 @@ minetest.register_playerstep(function(_, playernames)
|
||||||
|
|
||||||
local areaString = ""
|
local areaString = ""
|
||||||
if #areaStrings > 0 then
|
if #areaStrings > 0 then
|
||||||
areaString = "Areas:"
|
areaString = S("Areas:")
|
||||||
areaString = areaString.."\n"..
|
areaString = areaString.."\n"..
|
||||||
table.concat(areaStrings, "\n")
|
table.concat(areaStrings, "\n")
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
%s is protected by %s.=%s защищено %s.
|
%s is protected by %s.=%s защищено %s.
|
||||||
|
|
||||||
|
Areas:=Зоны:
|
||||||
|
|
||||||
#Protector Block
|
#Protector Block
|
||||||
Protector Block=Защитный Блок
|
Protector Block=Защитный Блок
|
||||||
You are not allowed to protect that area:=Вам не разрешено защищать эту область:
|
You are not allowed to protect that area:=Вам не разрешено защищать эту область:
|
||||||
|
|
|
@ -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.=
|
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 ###
|
### pos.lua ###
|
||||||
|
|
||||||
<not set>=
|
<not set>=
|
||||||
|
|
1
pos.lua
1
pos.lua
|
@ -1,4 +1,5 @@
|
||||||
local S = intllib.make_gettext_pair()
|
local S = intllib.make_gettext_pair()
|
||||||
|
|
||||||
-- I could depend on WorldEdit for this, but you need to have the 'worldedit'
|
-- I could depend on WorldEdit for this, but you need to have the 'worldedit'
|
||||||
-- permission to use those commands and you don't have
|
-- permission to use those commands and you don't have
|
||||||
-- /area_pos{1,2} [X Y Z|X,Y,Z].
|
-- /area_pos{1,2} [X Y Z|X,Y,Z].
|
||||||
|
|
Loading…
Reference in New Issue