diff options
author | orwell <orwell@bleipb.de> | 2025-06-11 21:36:17 +0200 |
---|---|---|
committer | orwell <orwell@bleipb.de> | 2025-06-11 21:36:17 +0200 |
commit | fb980caa7551f8c4ef62ac6bb702b02422e0e999 (patch) | |
tree | 47528c3f2928762d72ec23b42b5a7114c33080b8 /advtrains_luaautomation/atc_rail.lua | |
parent | ca1bd639b75c604ba5c3877f5ca4958eaf0561a1 (diff) | |
download | advtrains-fb980caa7551f8c4ef62ac6bb702b02422e0e999.tar.gz advtrains-fb980caa7551f8c4ef62ac6bb702b02422e0e999.tar.bz2 advtrains-fb980caa7551f8c4ef62ac6bb702b02422e0e999.zip |
Tag strings for luaautomation
Diffstat (limited to 'advtrains_luaautomation/atc_rail.lua')
-rw-r--r-- | advtrains_luaautomation/atc_rail.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/advtrains_luaautomation/atc_rail.lua b/advtrains_luaautomation/atc_rail.lua index c98f62b..594de5c 100644 --- a/advtrains_luaautomation/atc_rail.lua +++ b/advtrains_luaautomation/atc_rail.lua @@ -2,6 +2,9 @@ -- registers and handles the ATC rail. Active component. -- This is the only component that can interface with trains, so train interface goes here too. +-- Get current translator +local S = atlatc.translate + --Using subtable local r={} @@ -229,7 +232,7 @@ advtrains.register_tracks("default", { models_prefix="advtrains_dtrack", models_suffix=".b3d", shared_texture="advtrains_dtrack_shared_atc.png", - description=atltrans("LuaATC Track"), + description=S("LuaATC Track"), formats={}, get_additional_definiton = function(def, preset, suffix, rotation) return { |