From fb980caa7551f8c4ef62ac6bb702b02422e0e999 Mon Sep 17 00:00:00 2001 From: orwell Date: Wed, 11 Jun 2025 21:36:17 +0200 Subject: Tag strings for luaautomation --- advtrains_luaautomation/atc_rail.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'advtrains_luaautomation/atc_rail.lua') 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 { -- cgit v1.2.3