Module:Adjacent stations/i18n

local p = {}

p = { ['en-GB'] = { ['preceding'] = function(var) return 'Preceding ' .. var end, ['following'] = function(var) return 'Following ' .. var end, ['stop_noun'] = 'station', ['nonstop_past'] = function(var) return var .. ' did not stop here' end, ['nonstop_present'] = function(var) return var .. ' does not stop here' end, ['comma'] = function(var) return ', ' .. var end, ['or'] = function(var) return ' or ' .. var end, ['via-first'] = false, -- If the «via» text comes before termini, change to «true» ['via'] = function(var) return ' via ' .. var end, ['comma-format'] = ',%s+', ['or-format'] = '%s+or%s+', ['via-format'] = '%s+via%s+(.+)$', -- first match is station name ['towards'] = function(var) return 'towards ' .. var end, ['through'] = function(var) return 'through to ' .. var end, ['reverse'] = 'Reverses direction', ['oneway'] = 'One-way operation', ['terminus'] = 'Terminus', ['error_duplicate'] = function(var) return 'Same row number used multiple times for ' .. var end, ['error_format'] = 'Station format table missing in data page', ['error_line'] = 'Lines table missing in data module', ['error_missing'] = function(var) return '"' .. (var or '') .. '" is missing from the data page' end, ['error_unknown'] = function(var) return 'Unknown system or line "' .. (var or '') .. '"' end } }

p['en-US'] = mw.clone('en-GB') p['en-US']['through'] = function(var) return 'through to ' .. var end

return p