Enable translation for Cloud car and Cloud ship
This commit is contained in:
parent
94e898061f
commit
2794c45b77
6
car.lua
6
car.lua
@ -1,8 +1,12 @@
|
||||
-- Code from the Vehicle Mash mod (WTFPL license)
|
||||
|
||||
-- Translation support
|
||||
local S = minetest.get_translator("cloud_items")
|
||||
|
||||
local name = "car_cloud"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Cloud car"
|
||||
definition.description = S("Cloud car")
|
||||
definition.inventory_image = "cloud_items_car_cloud_inventory.png"
|
||||
definition.wield_image = "cloud_items_car_cloud_inventory.png"
|
||||
definition.textures = {"cloud_items_car_cloud.png"}
|
||||
|
6
ship.lua
6
ship.lua
@ -1,8 +1,12 @@
|
||||
-- Code from the Vehicle Mash mod (WTFPL license)
|
||||
|
||||
-- Translation support
|
||||
local S = minetest.get_translator("cloud_items")
|
||||
|
||||
local name = "cloud_ship"
|
||||
local definition = ...
|
||||
|
||||
definition.description = "Cloud ship"
|
||||
definition.description = S("Cloud ship")
|
||||
definition.inventory_image = "cloud_items_cloud_ship_inventory.png"
|
||||
definition.wield_image = "cloud_items_cloud_ship_inventory.png"
|
||||
definition.mesh = "cloud_items_cloud_ship.obj"
|
||||
|
Loading…
x
Reference in New Issue
Block a user