diff options
author | fat115 <fat115@framasoft.org> | 2017-08-05 10:12:43 +0200 |
---|---|---|
committer | fat115 <fat115@framasoft.org> | 2017-08-05 10:12:43 +0200 |
commit | 2fef15d878f00c72a799aebc5b8a6bd61489296e (patch) | |
tree | 5d5ec63f18bb317fa7c56dcb00c8ffa7f3a62b10 /signs_road/nodes.lua | |
parent | 54108e8054ee21e1a3b229f4a4e9e521f5700aa6 (diff) |
add intllib support (i18n)
-> mods ontime_clocks, signs, signs_roads & steles
add french translations
add updatepo.sh script to update po/pot files
add specific array for full description of steles
Diffstat (limited to 'signs_road/nodes.lua')
-rw-r--r-- | signs_road/nodes.lua | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/signs_road/nodes.lua b/signs_road/nodes.lua index d5d32c2..980d4a3 100644 --- a/signs_road/nodes.lua +++ b/signs_road/nodes.lua @@ -19,6 +19,8 @@ along with signs_road. If not, see <http://www.gnu.org/licenses/>. --]] +local S = signs_road.intllib + local models = { blue_street={ depth = 1/16, @@ -30,7 +32,7 @@ local models = { color="#fff", }, node_fields = { - description="Blue street sign", + description=S("Blue street sign"), tiles={"signs_blue_street.png"}, inventory_image="signs_blue_street_inventory.png", }, @@ -45,7 +47,7 @@ local models = { color="#fff", }, node_fields = { - description="Green street sign", + description=S("Green street sign"), tiles={"signs_green_street.png"}, inventory_image="signs_green_street_inventory.png", }, @@ -60,7 +62,7 @@ local models = { color="#000", }, node_fields = { - description="Black direction sign", + description=S("Black direction sign"), tiles={"signs_black_right.png"}, inventory_image="signs_black_inventory.png", on_place=signs.on_place_direction, @@ -77,7 +79,7 @@ local models = { color="#000", }, node_fields = { - description="Black direction sign", + description=S("Black direction sign"), tiles={"signs_black_left.png"}, inventory_image="signs_black_inventory.png", groups={not_in_creative_inventory=1}, @@ -97,7 +99,7 @@ local models = { color="#fff", }, node_fields = { - description="Green direction sign", + description=S("Green direction sign"), tiles={"signs_green_direction.png"}, inventory_image="signs_green_dir_inventory.png", on_place=signs.on_place_direction, @@ -125,7 +127,7 @@ local models = { color="#fff", }, node_fields = { - description="Green direction sign", + description=S("Green direction sign"), tiles={"signs_green_direction.png"}, inventory_image="signs_green_dir_inventory.png", on_place=signs.on_place_direction, |