mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-22 16:10:18 +01:00
MT5 translation for homedecor_cobweb
- luacheck warnings fix `homedecor_cobweb/init.lua:104:10: setting read-only field rotate_cobweb of global homedecor`
This commit is contained in:
parent
6b18347fb0
commit
4d6458b684
@ -1,2 +0,0 @@
|
||||
homedecor_common
|
||||
default
|
@ -1,5 +1,5 @@
|
||||
|
||||
local S = homedecor.gettext
|
||||
local S = minetest.get_translator("homedecor_cobweb")
|
||||
homedecor_cobweb = {}
|
||||
|
||||
minetest.register_node(":homedecor:cobweb_corner", {
|
||||
description = S("Cobweb"),
|
||||
@ -21,7 +21,7 @@ minetest.register_node(":homedecor:cobweb_corner", {
|
||||
visual_scale = 1.4,
|
||||
groups = { snappy = 3, liquid=3 },
|
||||
after_place_node = function(pos, placer, itemstack, pointed_thing)
|
||||
homedecor.rotate_cobweb(pos)
|
||||
homedecor_cobweb.rotate(pos)
|
||||
end
|
||||
})
|
||||
|
||||
@ -102,7 +102,7 @@ minetest.register_node(":homedecor:cobweb_plantlike", {
|
||||
|
||||
-- helper function to rotate the cobweb after it's placed
|
||||
|
||||
function homedecor.rotate_cobweb(pos)
|
||||
function homedecor_cobweb.rotate(pos)
|
||||
local wall_xm = minetest.get_node({ x=pos.x-1, y=pos.y, z=pos.z }).name
|
||||
local wall_xp = minetest.get_node({ x=pos.x+1, y=pos.y, z=pos.z }).name
|
||||
local wall_zm = minetest.get_node({ x=pos.x, y=pos.y, z=pos.z-1}).name
|
||||
|
6
homedecor_cobweb/locale/homedecor_cobweb.de.tr
Normal file
6
homedecor_cobweb/locale/homedecor_cobweb.de.tr
Normal file
@ -0,0 +1,6 @@
|
||||
# textdomain: homedecor_cobweb
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Cobweb=Spinnennetz
|
6
homedecor_cobweb/locale/homedecor_cobweb.es.tr
Normal file
6
homedecor_cobweb/locale/homedecor_cobweb.es.tr
Normal file
@ -0,0 +1,6 @@
|
||||
# textdomain: homedecor_cobweb
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Cobweb=Telaraña
|
6
homedecor_cobweb/locale/homedecor_cobweb.fr.tr
Normal file
6
homedecor_cobweb/locale/homedecor_cobweb.fr.tr
Normal file
@ -0,0 +1,6 @@
|
||||
# textdomain: homedecor_cobweb
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Cobweb=Toile d'araignée
|
6
homedecor_cobweb/locale/homedecor_cobweb.ms.tr
Normal file
6
homedecor_cobweb/locale/homedecor_cobweb.ms.tr
Normal file
@ -0,0 +1,6 @@
|
||||
# textdomain: homedecor_cobweb
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Cobweb=Sarang Labah-Labah
|
6
homedecor_cobweb/locale/homedecor_cobweb.pt.tr
Normal file
6
homedecor_cobweb/locale/homedecor_cobweb.pt.tr
Normal file
@ -0,0 +1,6 @@
|
||||
# textdomain: homedecor_cobweb
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Cobweb=Teia de Aranha
|
6
homedecor_cobweb/locale/homedecor_cobweb.pt_BR.tr
Normal file
6
homedecor_cobweb/locale/homedecor_cobweb.pt_BR.tr
Normal file
@ -0,0 +1,6 @@
|
||||
# textdomain: homedecor_cobweb
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Cobweb=Teia de Aranha
|
6
homedecor_cobweb/locale/homedecor_cobweb.ru.tr
Normal file
6
homedecor_cobweb/locale/homedecor_cobweb.ru.tr
Normal file
@ -0,0 +1,6 @@
|
||||
# textdomain: homedecor_cobweb
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Cobweb=Паутина
|
6
homedecor_cobweb/locale/homedecor_cobweb.zh_CN.tr
Normal file
6
homedecor_cobweb/locale/homedecor_cobweb.zh_CN.tr
Normal file
@ -0,0 +1,6 @@
|
||||
# textdomain: homedecor_cobweb
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Cobweb=蛛网
|
6
homedecor_cobweb/locale/template.txt
Normal file
6
homedecor_cobweb/locale/template.txt
Normal file
@ -0,0 +1,6 @@
|
||||
# textdomain: homedecor_cobweb
|
||||
|
||||
|
||||
### init.lua ###
|
||||
|
||||
Cobweb=
|
3
homedecor_cobweb/mod.conf
Normal file
3
homedecor_cobweb/mod.conf
Normal file
@ -0,0 +1,3 @@
|
||||
name = homedecor_cobweb
|
||||
description = Homedecor mod: cobweb
|
||||
depends = homedecor_common, default
|
Loading…
Reference in New Issue
Block a user