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 if not factions.get_owner(faction_name) then
return false, S("Faction doesn't exists") return false, S("Faction doesn't exists")
end end
local fnames = areas.areas[id].faction_openf local fnames = areas.areas[id].faction_open
if fnames == nil then if fnames == nil then
fnames = {} fnames = {}
end end
@ -335,7 +335,7 @@ if areas.factions_available then
-- Save false as nil to avoid inflating the DB. -- Save false as nil to avoid inflating the DB.
areas.areas[id].faction_open = fnames areas.areas[id].faction_open = fnames
areas:save() 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.") or S("Area closed for faction members.")
end end
end end

View File

@ -12,10 +12,12 @@
@1 spanning up to @2x@3x@4.=@1 sétendant jusquà @2x@3x@4. @1 spanning up to @2x@3x@4.=@1 sétendant jusquà @2x@3x@4.
A regular expression is required.=Une expression régulière est requise. A regular expression is required.=Une expression régulière est requise.
Area @1 does not exist or is not owned by you.=La zone @1 nexiste pas ou ne vous appartient pas. Area @1 does not exist or is not owned by you.=La zone @1 nexiste pas ou ne vous appartient pas.
Faction doesn't exists=La faction n'existe pas
Area closed for faction members.=Zone fermée aux membres de la faction. Area closed for faction members.=Zone fermée aux membres de la faction.
Area closed.=Zone fermée. Area closed.=Zone fermée.
Area does not exist.=La zone nexiste pas. Area does not exist.=La zone nexiste pas.
Area opened for faction members.=Zone ouverte aux membres de la faction. Area opened for faction members.=Zone ouverte aux membres de la faction.
Area is open for members of: @1=Zone ouverte aux membres de ces factions : @1
Area opened.=Zone ouverte. Area opened.=Zone ouverte.
Area protected. ID: @1=Zone protégée. ID : @1 Area protected. ID: @1=Zone protégée. ID : @1
Area renamed.=Zone renommée. Area renamed.=Zone renommée.

View File

@ -12,10 +12,12 @@
@1 spanning up to @2x@3x@4.=@1 si estende fino a @2x@3@4. @1 spanning up to @2x@3x@4.=@1 si estende fino a @2x@3@4.
A regular expression is required.=È necessaria una espressione regolare. A regular expression is required.=È necessaria una espressione regolare.
Area @1 does not exist or is not owned by you.=L'area @1 non esiste o non è di tua proprietà. Area @1 does not exist or is not owned by you.=L'area @1 non esiste o non è di tua proprietà.
Faction doesn't exists=La fazione non esiste
Area closed for faction members.=Area chiusa per i membri della fazione. Area closed for faction members.=Area chiusa per i membri della fazione.
Area closed.=Area chiusa. Area closed.=Area chiusa.
Area does not exist.=L'area non esiste. Area does not exist.=L'area non esiste.
Area opened for faction members.=Area aperta per i membri della fazione. Area opened for faction members.=Area aperta per i membri della fazione.
Area is open for members of: @1=L'area è aperta ai membri di: @1
Area opened.=Area aperta. Area opened.=Area aperta.
Area protected. ID: @1=Area protetta. ID: @1 Area protected. ID: @1=Area protetta. ID: @1
Area renamed.=Area rinominata. Area renamed.=Area rinominata.
@ -111,7 +113,7 @@ unnamed=innominato
Area @1 selected.=Area @1 selezionata. Area @1 selected.=Area @1 selezionata.
Area position @1 set to @2=Posizione @1 dell'area impostata a @2 Area position @1 set to @2=Posizione @1 dell'area impostata a @2
Position @1 set to @2=Posizione @1 impostata a @2 Position @1 set to @2=Posizione @1 impostata a @2
Position @1: =Posizione @1: Position @1: =Posizione @1:
Select an area by ID.=Scegli un'area tramite l'ID. Select an area by ID.=Scegli un'area tramite l'ID.
Select position @1 by punching a node.=Seleziona la posizione @1 colpendo un nodo. Select position @1 by punching a node.=Seleziona la posizione @1 colpendo un nodo.
Select positions by punching two nodes.=Seleziona le posizioni colpendo due nodi. Select positions by punching two nodes.=Seleziona le posizioni colpendo due nodi.

View File

@ -12,10 +12,12 @@
@1 spanning up to @2x@3x@4.= @1 spanning up to @2x@3x@4.=
A regular expression is required.= A regular expression is required.=
Area @1 does not exist or is not owned by you.= Area @1 does not exist or is not owned by you.=
Faction doesn't exists=
Area closed for faction members.= Area closed for faction members.=
Area closed.= Area closed.=
Area does not exist.= Area does not exist.=
Area opened for faction members.= Area opened for faction members.=
Area is open for members of: @1=
Area opened.= Area opened.=
Area protected. ID: @1= Area protected. ID: @1=
Area renamed.= Area renamed.=