mirror of
https://github.com/minetest-mods/technic.git
synced 2025-07-05 17:50:34 +02:00
Remove translation strings from minetest.log
output and from print()
output
Since they are not translated anyway.
This commit is contained in:
@ -41,9 +41,8 @@ local function restore(pos, placer, itemstack)
|
||||
data = minetest.deserialize(data)
|
||||
if not data then
|
||||
minetest.remove_node(pos)
|
||||
minetest.log("error", S("@1 wanted to place @2 at @3, but it had no data.", placer:get_player_name(),
|
||||
name, minetest.pos_to_string(pos)))
|
||||
minetest.log("verbose", S("itemstack: @1", itemstack:to_string()))
|
||||
minetest.log("error", placer:get_player_name().." wanted to place "..name.." at "..minetest.pos_to_string(pos)..", but it had no data.")
|
||||
minetest.log("verbose", "itemstack: "..itemstack:to_string())
|
||||
return true
|
||||
end
|
||||
minetest.set_node(pos, {name = data.name, param2 = node.param2})
|
||||
@ -122,9 +121,7 @@ minetest.register_tool("wrench:wrench", {
|
||||
if def.owned and not minetest.check_player_privs(placer, "protection_bypass") then
|
||||
local owner = meta:get_string("owner")
|
||||
if owner and owner ~= player_name then
|
||||
minetest.log("action", S("@1 tried to pick up an owned node belonging to @2 at @3",
|
||||
player_name, owner,
|
||||
minetest.pos_to_string(pos)))
|
||||
minetest.log("action", player_name.." tried to pick up an owned node belonging to "..owner.." at "..minetest.pos_to_string(pos))
|
||||
return
|
||||
end
|
||||
end
|
||||
|
@ -5,7 +5,3 @@
|
||||
Wrench=Clé
|
||||
@1 with items=@1 avec des objets
|
||||
|
||||
@1 wanted to place @2 at @3, but it had no data.=@1 a voulu placer @2 à la positon @3, mais il n’y avait pas de données.
|
||||
itemstack: @1=pile d’articles : @1
|
||||
@1 tried to pick up an owned node belonging to @2 at @3=@1 a essayé de prendre un bloc protégé appartenant à @2 à la position @3
|
||||
|
||||
|
@ -5,6 +5,3 @@
|
||||
Wrench =
|
||||
@1 with items =
|
||||
|
||||
@1 wanted to place @2 at @3, but it had no data.=
|
||||
itemstack: @1=
|
||||
@1 tried to pick up an owned node belonging to @2 at @3
|
||||
|
Reference in New Issue
Block a user