Fix an issue with translations and update template

This commit is contained in:
sfan5 2023-10-30 16:53:12 +01:00
parent 36b14413e0
commit 17df0bbf71
3 changed files with 21 additions and 31 deletions

@ -684,7 +684,7 @@ worldedit.register_command("replace", {
worldedit.register_command("replaceinverse", { worldedit.register_command("replaceinverse", {
params = "<search node> <replace node>", params = "<search node> <replace node>",
description = "Replace all nodes other than <search node> with <replace node> in the current WorldEdit region", description = S("Replace all nodes other than <search node> with <replace node> in the current WorldEdit region"),
privs = {worldedit=true}, privs = {worldedit=true},
require_pos = 2, require_pos = 2,
parse = check_replace, parse = check_replace,

@ -1,15 +1,27 @@
# textdomain: worldedit_commands # textdomain: worldedit_commands
Outset the selected region.=
### init.lua ### Invalid direction: @1=
Invalid number of arguments=
Region outset by @1 nodes=
Inset the selected region.=
Region inset by @1 nodes=
Shifts the selection area without moving its contents=
Invalid if looking straight up or down=
Region shifted by @1 nodes=
Expands the selection in the selected absolute or relative axis=
Region expanded by @1 nodes=
Contracts the selection in the selected absolute or relative axis=
Region contracted by @1 nodes=
Select a cube with side length <size> around position 1 and run <command> on region=
invalid usage: //@1 cannot be used with cubeapply=
Missing privileges: @1=
Can use WorldEdit commands= Can use WorldEdit commands=
no region selected= no region selected=
no position 1 selected= no position 1 selected=
invalid usage= invalid usage=
Could not open file "@1"= Could not open file "@1"=
Invalid file format!= Invalid file format!=
Schematic was created with a newer version of WorldEdit.= Schematic was created with a newer version of WorldEdit.=
Get information about the WorldEdit mod= Get information about the WorldEdit mod=
WorldEdit @1 is available on this server. Type //help to get a list of commands, or get more information at @2= WorldEdit @1 is available on this server. Type //help to get a list of commands, or get more information at @2=
Get help for WorldEdit commands= Get help for WorldEdit commands=
@ -20,7 +32,7 @@ Command not available: =
Enable or disable node inspection= Enable or disable node inspection=
inspector: inspection enabled for @1, currently facing the @2 axis= inspector: inspection enabled for @1, currently facing the @2 axis=
inspector: inspection disabled= inspector: inspection disabled=
inspector: @1 at @2 (param1=@3, param2=@4, received light=@5) punched facing the @6 axis=inspector: @1 в @2 (param1=@3, param2=@4, received light= inspector: @1 at @2 (param1@=@3, param2@=@4, received light@=@5) punched facing the @6 axis=
Reset the region so that it is empty= Reset the region so that it is empty=
region reset= region reset=
Show markers at the region positions= Show markers at the region positions=
@ -28,6 +40,7 @@ region marked=
Hide markers if currently shown= Hide markers if currently shown=
region unmarked= region unmarked=
Set WorldEdit region position @1 to the player's location= Set WorldEdit region position @1 to the player's location=
position @1 set to @2=
Set WorldEdit region, WorldEdit position 1, or WorldEdit position 2 by punching nodes, or display the current WorldEdit region= Set WorldEdit region, WorldEdit position 1, or WorldEdit position 2 by punching nodes, or display the current WorldEdit region=
unknown subcommand: @1= unknown subcommand: @1=
select positions by punching two nodes= select positions by punching two nodes=
@ -35,7 +48,6 @@ select position @1 by punching a node=
position @1: @2= position @1: @2=
position @1 not set= position @1 not set=
Set a WorldEdit region position to the position at (<x>, <y>, <z>)= Set a WorldEdit region position to the position at (<x>, <y>, <z>)=
position @1 set to @2=
Display the volume of the current WorldEdit region= Display the volume of the current WorldEdit region=
current region has a volume of @1 nodes (@2*@3*@4)= current region has a volume of @1 nodes (@2*@3*@4)=
Remove all MapBlocks (16x16x16) containing the selected area from the map= Remove all MapBlocks (16x16x16) containing the selected area from the map=
@ -126,30 +138,8 @@ currently set node probabilities:=
invalid node probability given, not saved= invalid node probability given, not saved=
Clears all objects within the WorldEdit region= Clears all objects within the WorldEdit region=
@1 objects cleared= @1 objects cleared=
### safe.lua ###
WARNING: this operation could affect up to @1 nodes; type //y to continue or //n to cancel= WARNING: this operation could affect up to @1 nodes; type //y to continue or //n to cancel=
Confirm a pending operation= Confirm a pending operation=
no operation pending= no operation pending=
Abort a pending operation= Abort a pending operation=
WorldEdit Wand tool@nLeft-click to set 1st position, right-click to set 2nd=
### cuboid.lua ###
Outset the selected region.=
Invalid direction: @1=
Invalid number of arguments=
Region outset by @1 nodes=
Inset the selected region.=
Region inset by @1 nodes=
Shifts the selection area without moving its contents=
Invalid if looking straight up or down=
Region shifted by @1 nodes=
Expands the selection in the selected absolute or relative axis=
Region expanded by @1 nodes=
Contracts the selection in the selected absolute or relative axis=
Region contracted by @1 nodes=
Select a cube with side length <size> around position 1 and run <command> on region=
invalid usage: //@1 cannot be used with cubeapply=
Missing privileges: @1=
### wand.lua ###
WorldEdit Wand tool@\nLeft-click to set 1st position, right-click to set 2nd=

@ -20,7 +20,7 @@ Command not available: =Команда не найдена:
Enable or disable node inspection=Включить/отключить инспекцию блоков Enable or disable node inspection=Включить/отключить инспекцию блоков
inspector: inspection enabled for @1, currently facing the @2 axis=inspector: инспекция включена для @1, текущий взор в направлении оси @2 inspector: inspection enabled for @1, currently facing the @2 axis=inspector: инспекция включена для @1, текущий взор в направлении оси @2
inspector: inspection disabled=inspector: инспекция отключена inspector: inspection disabled=inspector: инспекция отключена
inspector: @1 at @2 (param1=@3, param2=@4, received light=@5) punched facing the @6 axis=inspector: @1 в @2 (param1=@3, param2=@4, received light=@5) ударен по поверхности @6 inspector: @1 at @2 (param1@=@3, param2@=@4, received light@=@5) punched facing the @6 axis=inspector: @1 в @2 (param1@=@3, param2@=@4, received light@=@5) ударен по поверхности @6
Reset the region so that it is empty=Сбросить выделение области Reset the region so that it is empty=Сбросить выделение области
region reset=регион сброшен region reset=регион сброшен
Show markers at the region positions=Отобразить маркеры выделенной области Show markers at the region positions=Отобразить маркеры выделенной области