Skip to content

Commit 6e5c750

Browse files
committed
Update violation message
1 parent 95386b2 commit 6e5c750

33 files changed

+33
-37
lines changed

interact.lua

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,10 @@ function minetest.is_protected(pos, name)
1212
return old_is_protected(pos, name)
1313
end
1414

15-
local tconcat = table.concat
1615
minetest.register_on_protection_violation(function(pos, name)
1716
if not areas:canInteract(pos, name) then
18-
local owners = areas:getNodeOwners(pos)
1917
minetest.chat_send_player(name,
20-
S("@1 is protected by @2.",
21-
minetest.pos_to_string(pos),
22-
tconcat(owners, ", ")))
18+
S("This area @1 is protected by another player.", minetest.pos_to_string(pos)))
2319

2420
-- Little damage player
2521
local player = minetest.get_player_by_name(name)

locale/areas.ar.tr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ PvP disabled=تم تعطيل حماية الأصناف النباتية
8585

8686
### interact.lua ###
8787

88-
@1 is protected by @2.=@1 محمي بواسطة @2.
88+
This area @1 is protected by another player.=هذه المنطقة @1 محمية من قبل لاعب آخر.
8989
Wow, wow, take it easy!=واو ، واو ، خذها بسهولة!
9090
PvP is not allowed in this area!=PvP غير مسموح به في هذه المنطقة!
9191

locale/areas.bg.tr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ PvP disabled=PvP е изключен
8585

8686
### interact.lua ###
8787

88-
@1 is protected by @2.=@1 е защитен от @2.
88+
This area @1 is protected by another player.=Тази зона @1 е защитена от друг играч.
8989
Wow, wow, take it easy!=Уау, уау, успокой се!
9090
PvP is not allowed in this area!=PvP не е разрешен в тази зона!
9191

locale/areas.cs.tr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ PvP disabled=PvP zakázán
8585

8686
### interact.lua ###
8787

88-
@1 is protected by @2.=@1 je chráněn @2.
88+
This area @1 is protected by another player.=Tato oblast @1 je chráněna jiným hráčem.
8989
Wow, wow, take it easy!=Páni, páni, uklidněte se!
9090
PvP is not allowed in this area!=PvP není v této oblasti povoleno!
9191

locale/areas.da.tr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ PvP disabled=PvP deaktiveret
8585

8686
### interact.lua ###
8787

88-
@1 is protected by @2.=@1 er beskyttet af @2.
88+
This area @1 is protected by another player.=Dette område @1 er beskyttet af en anden spiller.
8989
Wow, wow, take it easy!=Wow, wow, tag det roligt!
9090
PvP is not allowed in this area!=PvP er ikke tilladt i dette område!
9191

locale/areas.de.tr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ PvP disabled=PvP deaktiviert
8585

8686
### interact.lua ###
8787

88-
@1 is protected by @2.=@1 ist durch @2 geschützt.
88+
This area @1 is protected by another player.=Dieser Bereich @1 wird von einem anderen Spieler geschützt.
8989
Wow, wow, take it easy!=Wow, wow, lass es ruhig angehen!
9090
PvP is not allowed in this area!=PvP ist in diesem Bereich nicht erlaubt!
9191

locale/areas.el.tr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ PvP disabled=PvP απενεργοποιημένο
8585

8686
### interact.lua ###
8787

88-
@1 is protected by @2.=Το @1 προστατεύεται από το @2.
88+
This area @1 is protected by another player.=Αυτή η περιοχή @1 προστατεύεται από άλλον παίκτη.
8989
Wow, wow, take it easy!=Ουάου, ουάου, ηρέμησε!
9090
PvP is not allowed in this area!=Το PvP δεν επιτρέπεται σε αυτή την περιοχή!
9191

locale/areas.es.tr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ PvP disabled=PvP desactivado
8585

8686
### interact.lua ###
8787

88-
@1 is protected by @2.=@1 está protegido por @2.
88+
This area @1 is protected by another player.=Esta zona @1 está protegida por otro jugador.
8989
Wow, wow, take it easy!=¡Guau, guau, tómalo con calma!
9090
PvP is not allowed in this area!=¡JcJ no está permitido en esta área!
9191

locale/areas.et.tr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ PvP disabled=PvP keelatud
8585

8686
### interact.lua ###
8787

88-
@1 is protected by @2.=@1 on kaitstud @2 poolt.
88+
This area @1 is protected by another player.=Seda ala @1 kaitseb teine mängija.
8989
Wow, wow, take it easy!=Wow, wow, võta rahulikult!
9090
PvP is not allowed in this area!=PvP ei ole selles piirkonnas lubatud!
9191

locale/areas.fi.tr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ PvP disabled=PvP poistettu käytöstä
8585

8686
### interact.lua ###
8787

88-
@1 is protected by @2.=@1 on @2:n suojaama.
88+
This area @1 is protected by another player.=Tätä aluetta @1 suojaa toinen pelaaja.
8989
Wow, wow, take it easy!=Vau, vau, ota rauhallisesti!
9090
PvP is not allowed in this area!=PvP ei ole sallittua tällä alueella!
9191

0 commit comments

Comments
 (0)