mirror of
https://github.com/minetest-mods/technic.git
synced 2025-06-30 15:20:37 +02:00
Remove translation strings from minetest.log
output and from print()
output
Since they are not translated anyway.
This commit is contained in:
@ -50,14 +50,14 @@ function technic.chests.inv_take(pos, listname, index, stack, player)
|
||||
end
|
||||
|
||||
function technic.chests.on_inv_move(pos, from_list, from_index, to_list, to_index, count, player)
|
||||
minetest.log("action", S("@1 moves stuff in chest at @2", player:get_player_name(), minetest.pos_to_string(pos)))
|
||||
minetest.log("action", player:get_player_name().." moves stuff in chest at "..minetest.pos_to_string(pos))
|
||||
end
|
||||
|
||||
function technic.chests.on_inv_put(pos, listname, index, stack, player)
|
||||
minetest.log("action", S("@1 moves @2 to chest at @3", player:get_player_name(), stack:get_name(), minetest.pos_to_string(pos)))
|
||||
minetest.log("action", player:get_player_name().." moves "..stack:get_name().." to chest at "..minetest.pos_to_string(pos))
|
||||
end
|
||||
|
||||
function technic.chests.on_inv_take(pos, listname, index, stack, player)
|
||||
minetest.log("action", S("@1 takes @2 from chest at @3", player:get_player_name(), stack:get_name(), minetest.pos_to_string(pos)))
|
||||
minetest.log("action", player:get_player_name().." takes "..stack:get_name().." from chest at "..minetest.pos_to_string(pos))
|
||||
end
|
||||
|
||||
|
@ -40,9 +40,5 @@ Auto-sort is @1=Tri automatique @1
|
||||
Off=désactivé
|
||||
On=activé
|
||||
|
||||
@1 moves stuff in chest at @2=@1 déplace des affaires dans le coffre à @2
|
||||
@1 moves @2 to chest at @3=@1 déplace @2 vers le coffre à @3
|
||||
@1 takes @2 from chest at @3=@1 prend @2 du coffre à @3
|
||||
[technic_chests] WARNING: variable or method '@1' not present in dummy pipeworks table - assuming it is a method…=[technic_chests] AVERTISSEMENT : la variable ou la méthode '@1' n’est pas présente dans la table factice - en considérant que c’est une méthode…
|
||||
Allow splitting incoming stacks from tubes=Séparer les piles venant des tuyaux
|
||||
|
||||
|
@ -40,8 +40,4 @@ Auto-sort is @1=
|
||||
Off=
|
||||
On=
|
||||
|
||||
@1 moves stuff in chest at @2=
|
||||
@1 moves @2 to chest at @3=
|
||||
@1 takes @2 from chest at @3=
|
||||
[technic_chests] WARNING: variable or method '@1' not present in dummy pipeworks table - assuming it is a method…=
|
||||
Allow splitting incoming stacks from tubes=
|
||||
|
@ -19,7 +19,7 @@ if not minetest.get_modpath("pipeworks") then
|
||||
local dummy = function()
|
||||
end
|
||||
pipeworks_meta.__index = function(table, key)
|
||||
print(S("[technic_chests] WARNING: variable or method '@1' not present in dummy pipeworks table - assuming it is a method…", key))
|
||||
print("[technic_chests] WARNING: variable or method '"..key.."' not present in dummy pipeworks table - assuming it is a method…")
|
||||
pipeworks[key] = dummy
|
||||
return dummy
|
||||
end
|
||||
|
Reference in New Issue
Block a user