summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asphalt/init.lua2
-rw-r--r--asphaltstairs/init.lua16
-rw-r--r--constructionarea/init.lua4
-rw-r--r--delineator/init.lua2
-rw-r--r--emergencyphone/init.lua2
-rw-r--r--labels/init.lua22
-rw-r--r--manholes/init.lua6
-rw-r--r--roadsigns/pole.lua4
-rw-r--r--roadsigns/signs.lua8
-rw-r--r--roadsigns/workshop.lua2
-rw-r--r--roadworks/init.lua24
-rw-r--r--steelsupport/init.lua2
-rw-r--r--streetlamps/init.lua10
-rw-r--r--streetsconcrete/init.lua14
-rw-r--r--streetsmod/init.lua2
-rw-r--r--trafficlight/init.lua18
16 files changed, 69 insertions, 69 deletions
diff --git a/asphalt/init.lua b/asphalt/init.lua
index 19fabe1..76dc607 100644
--- a/asphalt/init.lua
+++ b/asphalt/init.lua
@@ -2,7 +2,7 @@
Streets Mod: All kinds of asphalt
]]
minetest.register_node(":streets:asphalt",{
- description = "Asphalt",
+ description = S(S("Asphalt")),
tiles = {"streets_asphalt.png"},
groups = {cracky=3}
})
diff --git a/asphaltstairs/init.lua b/asphaltstairs/init.lua
index a7ec32b..3659758 100644
--- a/asphaltstairs/init.lua
+++ b/asphaltstairs/init.lua
@@ -10,7 +10,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end
-- Asphalt solid line
-- Stair
minetest.register_node(":streets:asphalt_solid_line_stair",{
- description = "Asphalt stair",
+ description = S(S("Asphalt stair")),
tiles = {"streets_asphalt.png^streets_asphalt_solid_line.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_solid_line.png"},
groups = {cracky = 3},
paramtype = "light",
@@ -42,7 +42,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end
})
-- Slab
minetest.register_node(":streets:asphalt_solid_line_slab",{
- description = "Asphalt slab",
+ description = S(S("Asphalt slab")),
tiles = {"streets_asphalt.png^streets_asphalt_solid_line.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_solid_line.png"},
groups = {cracky = 3},
paramtype = "light",
@@ -67,7 +67,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end
-- Asphalt dashed line
-- Stair
minetest.register_node(":streets:asphalt_dashed_line_stair",{
- description = "Asphalt stair",
+ description = S(S("Asphalt stair")),
tiles = {"streets_asphalt.png^streets_asphalt_dashed_line.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_dashed_line.png"},
groups = {cracky = 3},
paramtype = "light",
@@ -99,7 +99,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end
})
-- Slab
minetest.register_node(":streets:asphalt_dashed_line_slab",{
- description = "Asphalt slab",
+ description = S(S("Asphalt slab")),
tiles = {"streets_asphalt.png^streets_asphalt_dashed_line.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_dashed_line.png"},
groups = {cracky = 3},
paramtype = "light",
@@ -122,7 +122,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end
})
-- Asphalt outer line
minetest.register_node(":streets:asphalt_side_stair_l",{
- description = "Asphalt stair",
+ description = S(S("Asphalt stair")),
tiles = {"streets_asphalt.png^streets_asphalt_side.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_side.png"},
groups = {cracky = 3},
paramtype = "light",
@@ -137,7 +137,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end
}
})
minetest.register_node(":streets:asphalt_side_stair_r",{
- description = "Asphalt stair",
+ description = S(S("Asphalt stair")),
tiles = {"streets_asphalt.png^streets_asphalt_side_r.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_side_r.png"},
groups = {cracky = 3},
paramtype = "light",
@@ -180,7 +180,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end
})
---------------------------------------------------------------------
minetest.register_node(":streets:asphalt_side_slab_l",{
- description = "Asphalt slab",
+ description = S(S("Asphalt slab")),
tiles = {"streets_asphalt.png^streets_asphalt_side.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_side.png"},
groups = {cracky = 3},
paramtype = "light",
@@ -194,7 +194,7 @@ if type(register_stair_slab_panel_micro) ~= "function" then return end
}
})
minetest.register_node(":streets:asphalt_side_slab_r",{
- description = "Asphalt slab",
+ description = S(S("Asphalt slab")),
tiles = {"streets_asphalt.png^streets_asphalt_side_r.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png","streets_asphalt.png^streets_asphalt_side_r.png"},
groups = {cracky = 3},
paramtype = "light",
diff --git a/constructionarea/init.lua b/constructionarea/init.lua
index 6ae32fe..b521f3e 100644
--- a/constructionarea/init.lua
+++ b/constructionarea/init.lua
@@ -1,5 +1,5 @@
minetest.register_node(":streets:constructionfence_bottom",{
- description = "Construction fence",
+ description = S("Construction fence"),
tiles = {"streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_bottom.png","streets_fence_bottom.png"},
groups = {cracky = 2,},
paramtype = "light",
@@ -35,7 +35,7 @@ minetest.register_node(":streets:constructionfence_bottom",{
})
minetest.register_node(":streets:constructionfence_top",{
- description = "Construction fence",
+ description = S("Construction fence"),
tiles = {"streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_fromtop.png","streets_fence_top.png","streets_fence_top.png"},
groups = {cracky = 2, not_in_creative_inventory = 1},
paramtype = "light",
diff --git a/delineator/init.lua b/delineator/init.lua
index 2cf3408..09158d2 100644
--- a/delineator/init.lua
+++ b/delineator/init.lua
@@ -2,7 +2,7 @@
StreetsMod: Delineator
]]
minetest.register_node(":streets:delineator", {
- description = "Delineator",
+ description = S("Delineator"),
tiles = {"streets_delineator_top.png","streets_delineator.png"},
drawtype = "nodebox",
paramtype = "light",
diff --git a/emergencyphone/init.lua b/emergencyphone/init.lua
index 2dc818f..4f4d1c7 100644
--- a/emergencyphone/init.lua
+++ b/emergencyphone/init.lua
@@ -2,7 +2,7 @@
StreetsMod: Emergency Phone
]]
minetest.register_node(":streets:emergencyphone",{
- description = "Emergency Phone",
+ description = S("Emergency Phone"),
tiles = {"streets_sos_top.png","streets_sos_bottom.png","streets_sos_side.png","streets_sos_side.png","streets_sos_side.png","streets_sos_front.png"},
groups = {cracky = 3},
paramtype2 = "facedir",
diff --git a/labels/init.lua b/labels/init.lua
index 72f4eb6..e2a8606 100644
--- a/labels/init.lua
+++ b/labels/init.lua
@@ -2,7 +2,7 @@
StreetsMod: All kinds of asphalt with labels
]]
minetest.register_node(":streets:asphalt_sideline",{
- description = "Asphalt with sideline",
+ description = S("Asphalt with sideline"),
groups = {cracky=3},
tiles = {"streets_asphalt.png^streets_asphalt_side.png","streets_asphalt.png"},
paramtype2 = "facedir"
@@ -18,7 +18,7 @@ minetest.register_craft({
})
minetest.register_node(":streets:asphalt_solid_line",{
- description = "Asphalt with solid line",
+ description = S("Asphalt with solid line"),
groups = {cracky=3},
tiles = {"streets_asphalt.png^streets_asphalt_solid_line.png","streets_asphalt.png"},
paramtype2 = "facedir"
@@ -34,7 +34,7 @@ minetest.register_craft({
})
minetest.register_node(":streets:asphalt_dashed_line",{
- description = "Asphalt with dashed line",
+ description = S("Asphalt with dashed line"),
groups = {cracky=3},
tiles = {"streets_asphalt.png^streets_asphalt_dashed_line.png","streets_asphalt.png"},
paramtype2 = "facedir"
@@ -50,7 +50,7 @@ minetest.register_craft({
})
minetest.register_node(":streets:asphalt_outer_edge",{
- description = "Asphalt with sideline (edge)",
+ description = S("Asphalt with sideline (edge)"),
groups = {cracky=3},
tiles = {"streets_asphalt.png^streets_asphalt_outer_edge.png","streets_asphalt.png"},
paramtype2 = "facedir"
@@ -66,7 +66,7 @@ minetest.register_craft({
})
minetest.register_node(":streets:asphalt_parking",{
- description = "Asphalt with parking label",
+ description = S("Asphalt with parking label"),
groups = {cracky=3},
tiles = {"streets_asphalt.png^streets_parking.png","streets_asphalt.png"},
paramtype2 = "facedir"
@@ -82,7 +82,7 @@ minetest.register_craft({
})
minetest.register_node(":streets:asphalt_arrow_straight",{
- description = "Asphalt with arrow",
+ description = S("Asphalt with arrow"),
groups = {cracky=3},
tiles = {"streets_asphalt.png^streets_arrow_straight.png","streets_asphalt.png"},
paramtype2 = "facedir"
@@ -98,7 +98,7 @@ minetest.register_craft({
})
minetest.register_node(":streets:asphalt_arrow_left",{
- description = "Asphalt with arrow",
+ description = S("Asphalt with arrow"),
groups = {cracky=3},
tiles = {"streets_asphalt.png^streets_arrow_left.png","streets_asphalt.png"},
paramtype2 = "facedir"
@@ -114,7 +114,7 @@ minetest.register_craft({
})
minetest.register_node(":streets:asphalt_arrow_right",{
- description = "Asphalt with arrow",
+ description = S("Asphalt with arrow"),
groups = {cracky=3},
tiles = {"streets_asphalt.png^streets_arrow_right.png","streets_asphalt.png"},
paramtype2 = "facedir"
@@ -130,7 +130,7 @@ minetest.register_craft({
})
minetest.register_node(":streets:asphalt_arrow_straight_left",{
- description = "Asphalt with arrow",
+ description = S("Asphalt with arrow"),
groups = {cracky=3},
tiles = {"streets_asphalt.png^streets_arrow_straight_left.png","streets_asphalt.png"},
paramtype2 = "facedir"
@@ -146,7 +146,7 @@ minetest.register_craft({
})
minetest.register_node(":streets:asphalt_arrow_straight_right",{
- description = "Asphalt with arrow",
+ description = S("Asphalt with arrow"),
groups = {cracky=3},
tiles = {"streets_asphalt.png^streets_arrow_straight_right.png","streets_asphalt.png"},
paramtype2 = "facedir"
@@ -162,7 +162,7 @@ minetest.register_craft({
})
minetest.register_node(":streets:asphalt_arrow_alldirs",{
- description = "Asphalt with arrow",
+ description = S("Asphalt with arrow"),
groups = {cracky=3},
tiles = {"streets_asphalt.png^streets_arrow_alldirs.png","streets_asphalt.png"},
paramtype2 = "facedir"
diff --git a/manholes/init.lua b/manholes/init.lua
index aa95cce..bcd7d39 100644
--- a/manholes/init.lua
+++ b/manholes/init.lua
@@ -2,13 +2,13 @@
StreetsMod: Manholes in asphalt
]]
minetest.register_node(":streets:manhole",{
- description = "Simple manhole",
+ description = S("Simple manhole"),
tiles = {"streets_asphalt.png^streets_manhole.png","streets_asphalt.png"},
groups = {cracky=3}
})
minetest.register_node(":streets:manhole_adv_closed",{
- description = "Advanced manhole",
+ description = S("Advanced manhole"),
tiles = {"streets_asphalt.png^streets_manhole_advanced.png","streets_asphalt.png"},
groups = {cracky=3},
drawtype = "nodebox",
@@ -36,7 +36,7 @@ minetest.register_node(":streets:manhole_adv_closed",{
end
})
minetest.register_node(":streets:manhole_adv_open",{
- description = "Advanced manhole",
+ description = S("Advanced manhole"),
tiles = {"streets_asphalt.png^streets_manhole_advanced.png","streets_asphalt.png"},
groups = {cracky=3,not_in_creative_inventory=1},
drawtype = "nodebox",
diff --git a/roadsigns/pole.lua b/roadsigns/pole.lua
index 478afb9..417ecdf 100644
--- a/roadsigns/pole.lua
+++ b/roadsigns/pole.lua
@@ -2,7 +2,7 @@
StreetsMod: Poles and signs
]]
minetest.register_node(":streets:pole_bottom",{
- description = "Pole",
+ description = S("Pole"),
tiles = {"streets_pole.png"},
groups = {cracky=2},
inventory_image = "streets_pole_inv.png",
@@ -42,7 +42,7 @@ minetest.register_node(":streets:pole_bottom",{
})
minetest.register_node(":streets:pole_top",{
- description = "Y u no play minetest without cheating?",
+ description = S("Y u no play minetest without cheating?"),
tiles = {"streets_pole.png"},
groups = {cracky=2,not_in_creative_inventory=1},
paramtype = "light",
diff --git a/roadsigns/signs.lua b/roadsigns/signs.lua
index 0caf2e5..d7878fd 100644
--- a/roadsigns/signs.lua
+++ b/roadsigns/signs.lua
@@ -1,5 +1,5 @@
minetest.register_node(":streets:sign_blank",{
- description = "Emtpy sign",
+ description = S("Emtpy sign"),
tiles = {"streets_sign_back.png"},
inventory_image = "streets_sign_back.png",
wield_image = "streets_sign_back.png",
@@ -31,7 +31,7 @@ minetest.register_node(":streets:sign_blank",{
end
})
minetest.register_node(":streets:sign_lava",{
- description = "Warning sign (lava)",
+ description = S("Warning sign (lava)"),
tiles = {"streets_sign_lava.png"},
inventory_image = "streets_sign_lava.png",
wield_image = "streets_sign_lava.png",
@@ -64,7 +64,7 @@ minetest.register_node(":streets:sign_lava",{
})
minetest.register_node(":streets:sign_water",{
- description = "Warning sign (water)",
+ description = S("Warning sign (water)"),
tiles = {"streets_sign_water.png"},
inventory_image = "streets_sign_water.png",
wield_image = "streets_sign_water.png",
@@ -97,7 +97,7 @@ minetest.register_node(":streets:sign_water",{
})
minetest.register_node(":streets:sign_construction",{
- description = "Warning sign (Construction area)",
+ description = S("Warning sign (Construction area)"),
tiles = {"streets_sign_construction.png"},
inventory_image = "streets_sign_construction.png",
wield_image = "streets_sign_construction.png",
diff --git a/roadsigns/workshop.lua b/roadsigns/workshop.lua
index 9c68fb7..75cbf5a 100644
--- a/roadsigns/workshop.lua
+++ b/roadsigns/workshop.lua
@@ -36,7 +36,7 @@ local forms = {
}
}
minetest.register_node(":streets:signworkshop",{
- description = "Sign workshop",
+ description = S("Sign workshop"),
tiles = {"streets_signworkshop_top.png","streets_signworkshop_bottom.png","streets_signworkshop_side.png","streets_signworkshop_side.png","streets_signworkshop_side.png","streets_signworkshop_front.png"},
groups = {cracky = 1, level = 2},
paramtype2 = "facedir",
diff --git a/roadworks/init.lua b/roadworks/init.lua
index 6df2e13..dfad72e 100644
--- a/roadworks/init.lua
+++ b/roadworks/init.lua
@@ -6,7 +6,7 @@
local box = {-0.5,-0.5,-0.5,0.5,-0.45,0.5}
minetest.register_node(":streets:rw_asphalt_solid",{
- description = "Solid line (yellow)",
+ description = S("Solid line (yellow)"),
tiles = {"streets_rw_solid_line.png","streets_rw_solid_line_curve.png","streets_rw_solid_line_tjunction.png","streets_rw_solid_line_crossing.png"},
drawtype = "raillike",
paramtype = "light",
@@ -23,7 +23,7 @@ minetest.register_node(":streets:rw_asphalt_solid",{
})
minetest.register_node(":streets:rw_asphalt_dashed",{
- description = "Dashed line (yellow)",
+ description = S("Dashed line (yellow)"),
tiles = {"streets_rw_dashed_line.png","streets_rw_dashed_line_curve.png","streets_rw_dashed_line_tjunction.png","streets_rw_dashed_line_crossing.png"},
drawtype = "raillike",
paramtype = "light",
@@ -40,7 +40,7 @@ minetest.register_node(":streets:rw_asphalt_dashed",{
})
minetest.register_node(":streets:rw_cross",{
- description = "Cross (yellow)",
+ description = S("Cross (yellow)"),
tiles = {"streets_rw_cross.png"},
drawtype = "signlike",
paramtype = "light",
@@ -56,7 +56,7 @@ minetest.register_node(":streets:rw_cross",{
})
minetest.register_node(":streets:rw_outer_edge",{
- description = "Outer edge (yellow)",
+ description = S("Outer edge (yellow)"),
tiles = {"streets_rw_outer_edge.png","streets_rw_transparent.png"},
drawtype = "nodebox",
paramtype = "light",
@@ -77,7 +77,7 @@ minetest.register_node(":streets:rw_outer_edge",{
})
minetest.register_node(":streets:rw_parking",{
- description = "Parking (yellow)",
+ description = S("Parking (yellow)"),
tiles = {"streets_rw_parking.png","streets_rw_transparent.png"},
drawtype = "nodebox",
paramtype = "light",
@@ -98,7 +98,7 @@ minetest.register_node(":streets:rw_parking",{
})
minetest.register_node(":streets:rw_alldirs",{
- description = "Arrow (yellow)",
+ description = S("Arrow (yellow)"),
tiles = {"streets_rw_arrow_alldirs.png","streets_rw_transparent.png"},
drawtype = "nodebox",
paramtype = "light",
@@ -119,7 +119,7 @@ minetest.register_node(":streets:rw_alldirs",{
})
minetest.register_node(":streets:rw_left",{
- description = "Arrow (yellow)",
+ description = S("Arrow (yellow)"),
tiles = {"streets_rw_arrow_left.png","streets_rw_transparent.png"},
drawtype = "nodebox",
paramtype = "light",
@@ -140,7 +140,7 @@ minetest.register_node(":streets:rw_left",{
})
minetest.register_node(":streets:rw_right",{
- description = "Arrow (yellow)",
+ description = S("Arrow (yellow)"),
tiles = {"streets_rw_arrow_right.png","streets_rw_transparent.png"},
drawtype = "nodebox",
paramtype = "light",
@@ -161,7 +161,7 @@ minetest.register_node(":streets:rw_right",{
})
minetest.register_node(":streets:rw_straight_right",{
- description = "Arrow (yellow)",
+ description = S("Arrow (yellow)"),
tiles = {"streets_rw_arrow_straight_right.png","streets_rw_transparent.png"},
drawtype = "nodebox",
paramtype = "light",
@@ -182,7 +182,7 @@ minetest.register_node(":streets:rw_straight_right",{
})
minetest.register_node(":streets:rw_straight_left",{
- description = "Arrow (yellow)",
+ description = S("Arrow (yellow)"),
tiles = {"streets_rw_arrow_straight_left.png","streets_rw_transparent.png"},
drawtype = "nodebox",
paramtype = "light",
@@ -203,7 +203,7 @@ minetest.register_node(":streets:rw_straight_left",{
})
minetest.register_node(":streets:rw_straight",{
- description = "Arrow (yellow)",
+ description = S("Arrow (yellow)"),
tiles = {"streets_rw_arrow_straight.png","streets_rw_transparent.png"},
drawtype = "nodebox",
paramtype = "light",
@@ -224,7 +224,7 @@ minetest.register_node(":streets:rw_straight",{
})
minetest.register_node(":streets:rw_sideline",{
- description = "Sideline (yellow)",
+ description = S("Sideline (yellow)"),
tiles = {"streets_rw_asphalt_side.png","streets_rw_transparent.png"},
drawtype = "nodebox",
paramtype = "light",
diff --git a/steelsupport/init.lua b/steelsupport/init.lua
index b6b6f10..6217600 100644
--- a/steelsupport/init.lua
+++ b/steelsupport/init.lua
@@ -2,7 +2,7 @@
StreetsMod: Steel support for hanging signs on highways etc.
]]
minetest.register_node(":streets:steel_support",{
- description = "Steel support",
+ description = S("Steel support"),
tiles = {"streets_support.png"},
groups = {cracky = 1},
drawtype = "glasslike_framed",
diff --git a/streetlamps/init.lua b/streetlamps/init.lua
index dedeaf4..bb80136 100644
--- a/streetlamps/init.lua
+++ b/streetlamps/init.lua
@@ -2,7 +2,7 @@
StreetsMod: Streetlamps
]]
--[[minetest.register_node(":streets:streetlamp_basic_controller",{
- description = "Trafficlight",
+ description = S("Trafficlight"),
tiles = {"streets_lampcontroller_top.png","streets_lampcontroller_bottom.png","streets_lampcontroller_sides.png"},
groups = {cracky = 1, not_in_creative_inventory = 1},
drawtype = "nodebox",
@@ -41,7 +41,7 @@
minetest.register_node(":streets:streetlamp_basic_bottom",{
drop = "",
- description = "Street lamp",
+ description = S("Street lamp"),
tiles = {"streets_lamps_basic_bottom.png"},
inventory_image = "streets_lamps_basi_inv.png",
groups = {cracky = 1},
@@ -63,7 +63,7 @@ minetest.register_node(":streets:streetlamp_basic_bottom",{
})
minetest.register_node(":streets:streetlamp_basic_middle",{
drop = "",
- description = "U cheater U",
+ description = S("U cheater U"),
groups = {cracky = 1, not_in_creative_inventory = 1},
tiles = {"streets_lamps_basic_middle.png"},
paramtype = "light",
@@ -78,7 +78,7 @@ minetest.register_node(":streets:streetlamp_basic_middle",{
})
--[[minetest.register_node(":streets:streetlamp_basic_top_off",{
drop = "",
- description = "U cheater U",
+ description = S("U cheater U"),
groups = {cracky = 1, not_in_creative_inventory = 1},
paramtype = "light",
drawtype = "nodebox",
@@ -93,7 +93,7 @@ minetest.register_node(":streets:streetlamp_basic_middle",{
})]]
minetest.register_node(":streets:streetlamp_basic_top_on",{
drop = "streets:streetlamp_basic_bottom",
- description = "U cheater U",
+ description = S("U cheater U"),
groups = {cracky = 1, not_in_creative_inventory = 1},
tiles = {"streets_lamps_basic_top_top.png","streets_lamps_basic_top_top.png","streets_lamps_basic_top.png","streets_lamps_basic_top.png","streets_lamps_basic_top.png","streets_lamps_basic_top.png"},
paramtype = "light",
diff --git a/streetsconcrete/init.lua b/streetsconcrete/init.lua
index c837fa1..7ab5043 100644
--- a/streetsconcrete/init.lua
+++ b/streetsconcrete/init.lua
@@ -5,7 +5,7 @@ if streets.extendedBy.technic == true then
minetest.register_alias("streets:concrete","technic:concrete")
-- Use technic's concrete block for the seperating wall
minetest.register_node(":streets:concrete_wall",{
- description = "Conrete wall",
+ description = S("Conrete wall"),
tiles = {"technic_concrete_block.png"},
groups = {cracky=2},
drawtype = "nodebox",
@@ -28,7 +28,7 @@ if streets.extendedBy.technic == true then
}
})
minetest.register_node(":streets:concrete_wall_flat",{
- description = "Conrete wall",
+ description = S("Conrete wall"),
tiles = {"technic_concrete_block.png"},
groups = {cracky=2},
drawtype = "nodebox",
@@ -52,7 +52,7 @@ if streets.extendedBy.technic == true then
elseif streets.extendedBy.prefab then
minetest.register_alias("streets:concrete","prefab:concrete")
minetest.register_node(":streets:concrete_wall",{
- description = "Conrete wall",
+ description = S("Conrete wall"),
tiles = {"prefab_concrete.png"},
groups = {cracky=2},
drawtype = "nodebox",
@@ -75,7 +75,7 @@ elseif streets.extendedBy.prefab then
}
})
minetest.register_node(":streets:concrete_wall_flat",{
- description = "Conrete wall",
+ description = S("Conrete wall"),
tiles = {"prefab_concrete.png"},
groups = {cracky=2},
drawtype = "nodebox",
@@ -99,12 +99,12 @@ elseif streets.extendedBy.prefab then
else
-- Register concrete block with streets' texture and then the seperating wall
minetest.register_node(":streets:concrete",{
- description = "Concrete",
+ description = S("Concrete"),
tiles = {"streets_concrete.png"},
groups = {cracky=2}
})
minetest.register_node(":streets:concrete_wall",{
- description = "Conrete wall",
+ description = S("Conrete wall"),
tiles = {"streets_concrete.png"},
groups = {cracky=2},
drawtype = "nodebox",
@@ -127,7 +127,7 @@ else
}
})
minetest.register_node(":streets:concrete_wall_flat",{
- description = "Conrete wall",
+ description = S("Conrete wall"),
tiles = {"streets_concrete.png"},
groups = {cracky=2},
drawtype = "nodebox",
diff --git a/streetsmod/init.lua b/streetsmod/init.lua
index d625e5b..006dc25 100644
--- a/streetsmod/init.lua
+++ b/streetsmod/init.lua
@@ -64,7 +64,7 @@
return math.floor(num * mult + 0.5) / mult
end
minetest.register_chatcommand("streets",{
- description = "Check version of your installed StreetsMod and find information",
+ description = S("Check version of your installed StreetsMod and find information"),
func = function(name,param)
minetest.show_formspec(name, "streets:streetsform", table.concat({
"size[10,6]",
diff --git a/trafficlight/init.lua b/trafficlight/init.lua
index 3eaa43a..4704743 100644
--- a/trafficlight/init.lua
+++ b/trafficlight/init.lua
@@ -2,7 +2,7 @@
StreetsMod: inDev Trafficlights
]]
minetest.register_node(":streets:trafficlight_bottom",{
- description = "Cheater",
+ description = S("Cheater"),
drop = "",
groups = {not_in_creative_inventory = 1},
paramtype = "light",
@@ -20,7 +20,7 @@ minetest.register_node(":streets:trafficlight_bottom",{
})
minetest.register_node(":streets:trafficlight_middle",{
- description = "Cheater!",
+ description = S("Cheater!"),
drop = "",
groups = {cracky = 1, not_in_creative_inventory = 1},
paramtype = "light",
@@ -37,7 +37,7 @@ minetest.register_node(":streets:trafficlight_middle",{
})
minetest.register_node(":streets:trafficlight_controller",{
- description = "Trafficlight",
+ description = S("Trafficlight"),
inventory_image = "streets_trafficlight_inv.png",
tiles = {"streets_lampcontroller_top.png","streets_lampcontroller_bottom.png","streets_lampcontroller_sides.png"},
groups = {cracky = 1},
@@ -119,7 +119,7 @@ minetest.register_node(":streets:trafficlight_controller",{
})
minetest.register_node(":streets:trafficlight_top_off",{
- description = "U cheater U",
+ description = S("U cheater U"),
drop = "",
groups = {cracky = 1, not_in_creative_inventory = 1},
paramtype = "light",
@@ -137,7 +137,7 @@ minetest.register_node(":streets:trafficlight_top_off",{
})
minetest.register_node(":streets:trafficlight_top_red",{
- description = "U cheater U",
+ description = S("U cheater U"),
drop = "",
groups = {cracky = 1, not_in_creative_inventory = 1},
paramtype = "light",
@@ -156,7 +156,7 @@ minetest.register_node(":streets:trafficlight_top_red",{
})
minetest.register_node(":streets:trafficlight_top_yellow",{
- description = "U cheater U",
+ description = S("U cheater U"),
drop = "",
groups = {cracky = 1, not_in_creative_inventory = 1},
paramtype = "light",
@@ -175,7 +175,7 @@ minetest.register_node(":streets:trafficlight_top_yellow",{
})
minetest.register_node(":streets:trafficlight_top_redyellow",{
- description = "U cheater U",
+ description = S("U cheater U"),
drop = "",
groups = {cracky = 1, not_in_creative_inventory = 1},
paramtype = "light",
@@ -194,7 +194,7 @@ minetest.register_node(":streets:trafficlight_top_redyellow",{
})
minetest.register_node(":streets:trafficlight_top_green",{
- description = "U cheater U",
+ description = S("U cheater U"),
drop = "",
groups = {cracky = 1, not_in_creative_inventory = 1},
paramtype = "light",
@@ -213,7 +213,7 @@ minetest.register_node(":streets:trafficlight_top_green",{
})
minetest.register_node(":streets:trafficlight_top_warn",{
- description = "U cheater U",
+ description = S("U cheater U"),
drop = "",
groups = {cracky = 1, not_in_creative_inventory = 1},
paramtype = "light",