Enable translation for Cloud car and Cloud ship

This commit is contained in:
David Leal 2021-03-23 22:19:18 -06:00
parent 94e898061f
commit 2794c45b77
No known key found for this signature in database
GPG Key ID: 3C482B03FD220E68
2 changed files with 10 additions and 2 deletions

View File

@ -1,8 +1,12 @@
-- Code from the Vehicle Mash mod (WTFPL license) -- Code from the Vehicle Mash mod (WTFPL license)
-- Translation support
local S = minetest.get_translator("cloud_items")
local name = "car_cloud" local name = "car_cloud"
local definition = ... local definition = ...
definition.description = "Cloud car" definition.description = S("Cloud car")
definition.inventory_image = "cloud_items_car_cloud_inventory.png" definition.inventory_image = "cloud_items_car_cloud_inventory.png"
definition.wield_image = "cloud_items_car_cloud_inventory.png" definition.wield_image = "cloud_items_car_cloud_inventory.png"
definition.textures = {"cloud_items_car_cloud.png"} definition.textures = {"cloud_items_car_cloud.png"}

View File

@ -1,8 +1,12 @@
-- Code from the Vehicle Mash mod (WTFPL license) -- Code from the Vehicle Mash mod (WTFPL license)
-- Translation support
local S = minetest.get_translator("cloud_items")
local name = "cloud_ship" local name = "cloud_ship"
local definition = ... local definition = ...
definition.description = "Cloud ship" definition.description = S("Cloud ship")
definition.inventory_image = "cloud_items_cloud_ship_inventory.png" definition.inventory_image = "cloud_items_cloud_ship_inventory.png"
definition.wield_image = "cloud_items_cloud_ship_inventory.png" definition.wield_image = "cloud_items_cloud_ship_inventory.png"
definition.mesh = "cloud_items_cloud_ship.obj" definition.mesh = "cloud_items_cloud_ship.obj"