From df403a88ebe620d1deab0acbf90f54b0e9bd0394 Mon Sep 17 00:00:00 2001 From: webdesigner97 Date: Sun, 13 Apr 2014 15:13:59 +0200 Subject: regexp all descriptions to use S() --- roadsigns/pole.lua | 4 ++-- roadsigns/signs.lua | 8 ++++---- roadsigns/workshop.lua | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'roadsigns') 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", -- cgit v1.2.3