Add translations

This commit is contained in:
Supergoat666
2020-08-18 14:24:04 +02:00
parent b21e1891c2
commit 8c98db4da4
4 changed files with 9 additions and 3 deletions

View File

@ -315,7 +315,7 @@ if areas.factions_available then
if not factions.get_owner(faction_name) then
return false, S("Faction doesn't exists")
end
local fnames = areas.areas[id].faction_openf
local fnames = areas.areas[id].faction_open
if fnames == nil then
fnames = {}
end
@ -335,7 +335,7 @@ if areas.factions_available then
-- Save false as nil to avoid inflating the DB.
areas.areas[id].faction_open = fnames
areas:save()
return true, fnames and S("Area is open for members of @1",table.concat(fnames,", "))
return true, fnames and S("Area is open for members of: @1",table.concat(fnames,", "))
or S("Area closed for faction members.")
end
end