aboutsummaryrefslogtreecommitdiff
path: root/advtrains/craft_items.lua
diff options
context:
space:
mode:
authorywang <yw05@forksworld.de>2020-07-19 15:50:34 +0200
committerywang <yw05@forksworld.de>2020-07-19 16:21:08 +0200
commitcc78b63e342c131e2a08b3697681d9d5fbf86d4f (patch)
treed344fa9eac221c805d2364cbc48e9ee2209158b9 /advtrains/craft_items.lua
parent19509acf56aef4b6e5f45023ee5603e95822fe69 (diff)
downloadadvtrains-cc78b63e342c131e2a08b3697681d9d5fbf86d4f.tar.gz
advtrains-cc78b63e342c131e2a08b3697681d9d5fbf86d4f.tar.bz2
advtrains-cc78b63e342c131e2a08b3697681d9d5fbf86d4f.zip
[BREAKING] Use client-side translations instead of intllib; add zh_CN translations
* Client-side translations is used instead of intllib. [Breaks MT4 compat] * Existing locale files have been moved to advtrains/locale and named with the format advtrains.[lang].tr * Add zh_CN locale. (requires a font that supports CJK text)
Diffstat (limited to 'advtrains/craft_items.lua')
-rw-r--r--advtrains/craft_items.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/advtrains/craft_items.lua b/advtrains/craft_items.lua
index a4db385..0e693eb 100644
--- a/advtrains/craft_items.lua
+++ b/advtrains/craft_items.lua
@@ -1,23 +1,23 @@
core.register_craftitem("advtrains:boiler", {
- description = "Boiler",
+ description = attrans("Boiler"),
inventory_image = "advtrains_boiler.png",
})
core.register_craftitem("advtrains:driver_cab", {
- description = "driver's cab",
+ description = attrans("driver's cab"),
inventory_image = "advtrains_driver_cab.png",
})
core.register_craftitem("advtrains:wheel", {
- description = "Wheel",
+ description = attrans("Wheel"),
inventory_image = "advtrains_wheel.png",
})
core.register_craftitem("advtrains:chimney", {
- description = "Chimney",
+ description = attrans("Chimney"),
inventory_image = "advtrains_chimney.png",
})