aboutsummaryrefslogtreecommitdiff
path: root/advtrains/couple.lua
diff options
context:
space:
mode:
authorY. Wang <yw05@forksworld.de>2023-10-04 22:14:18 +0200
committerY. Wang <y5nw@protonmail.com>2024-11-04 17:17:52 +0100
commiteb0c5b78627505bcba409dc5f52dbb05891954c5 (patch)
tree1a9dc00e6ce6a7f64cbdd913c5b49099f3abf992 /advtrains/couple.lua
parent425b0993d355b9f45ddd400bd4925f9f1a5bd34d (diff)
downloadadvtrains-eb0c5b78627505bcba409dc5f52dbb05891954c5.tar.gz
advtrains-eb0c5b78627505bcba409dc5f52dbb05891954c5.tar.bz2
advtrains-eb0c5b78627505bcba409dc5f52dbb05891954c5.zip
Various translation improvements
Diffstat (limited to 'advtrains/couple.lua')
-rw-r--r--advtrains/couple.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/advtrains/couple.lua b/advtrains/couple.lua
index d82e193..9474dcf 100644
--- a/advtrains/couple.lua
+++ b/advtrains/couple.lua
@@ -335,11 +335,11 @@ function advtrains.check_matching_coupler_types(t1, t1_front, t2, t2_front)
for typ,_ in pairs(t1_cplt) do
table.insert(t1_cplhr, advtrains.coupler_types[typ] or typ)
end
- if #t1_cplhr==0 then t1_cplhr[1]=attrans("<none>") end
+ if #t1_cplhr==0 then t1_cplhr[1]=attrans("<No coupler>") end
for typ,_ in pairs(t2_cplt) do
table.insert(t2_cplhr, advtrains.coupler_types[typ] or typ)
end
- if #t2_cplhr==0 then t2_cplhr[1]=attrans("<none>") end
+ if #t2_cplhr==0 then t2_cplhr[1]=attrans("<No coupler>") end
return false, attrans("Can not couple: The couplers of the trains do not match (@1 and @2).", table.concat(t1_cplhr, ","), table.concat(t2_cplhr, ","))
end