aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/signal_api.lua
diff options
context:
space:
mode:
authorywang <yw05@forksworld.de>2021-05-30 14:57:48 +0200
committerywang <yw05@forksworld.de>2021-11-05 20:28:38 +0100
commit8793c8bd48eb37f7807f9f1df942ed7226b934e8 (patch)
tree59b5dda459eb7e9b38da6adf9cd08de2a55b52d9 /advtrains_interlocking/signal_api.lua
parentfb632f170a9ac217be888b3ad294d17557719a2a (diff)
downloadadvtrains-8793c8bd48eb37f7807f9f1df942ed7226b934e8.tar.gz
advtrains-8793c8bd48eb37f7807f9f1df942ed7226b934e8.tar.bz2
advtrains-8793c8bd48eb37f7807f9f1df942ed7226b934e8.zip
make distant signal aspect dropdown labels consistent with the ones for the main aspect
Diffstat (limited to 'advtrains_interlocking/signal_api.lua')
-rw-r--r--advtrains_interlocking/signal_api.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains_interlocking/signal_api.lua b/advtrains_interlocking/signal_api.lua
index c840b4e..a969378 100644
--- a/advtrains_interlocking/signal_api.lua
+++ b/advtrains_interlocking/signal_api.lua
@@ -471,9 +471,9 @@ function advtrains.interlocking.show_signal_aspect_selector(pname, p_suppasp, p_
elseif spv == -1 then
entry = "Expect to pass the next signal at maximum speed"
elseif not spv then
- entry = "No distant signal information"
+ entry = "No info"
else
- entry = string.format("Expect to pass the next signal with speed limit %d", spv)
+ entry = string.format("Expect to pass the next signal at speed of %d", spv)
end
entries[idx] = idx.."| "..entry
if isasp and spv == (isasp.dst or false) then