跳转到内容

模組:Adjacent stations/i18n

被永久保护的模块
维基百科,自由的百科全书

这是本页的一个历史版本,由VulpesVulpes825留言 | 贡献2019年2月3日 (日) 07:47编辑。这可能和当前版本存在着巨大的差异。

local p = {}

p = {
	['en-GB'] = {
		['preceding'] = function(s)
			return s and '上一' .. s
		end,
		['following'] = function(s)
			return s and '下一' .. s
		end,
		['stop_noun'] = '站',
		['nonstop_past'] = function(s)
			return s and s .. '过去不在此车站停车'
		end,
		['nonstop_present'] = function(s)
			return s and s .. '不在此车站停车'
		end,
		['comma'] = function(s)
			return s and ', ' .. s
		end,
		['or'] = function(s)
			return s and ' or ' .. s
		end,
		['via-first'] = false, -- If the «via» text comes before termini, change to «true»
		['via'] = function(s)
			return s and ' via ' .. s
		end,
		['comma-format'] = ',%s+',
		['or-format'] = '%s+or%s+',
		['via-format'] = '%s+via%s+(.+)$', -- first match is station name
		['towards'] = function(s)
			return s and '至 ' .. s
		end,
		['through'] = function(s)
			return s and '通过至' .. s
		end,
		['reverse'] = '反转方向',
		['oneway'] = '单向运行',
		['terminus'] = '终点站s',
		['transfer'] = function(s)
			return s and '换乘' .. s
		end,
		['error_duplicate'] = function(s)
			return s and 'Same row number used multiple times for ' .. s
		end,
		['error_format'] = 'Station format table missing in data page',
		['error_line'] = 'Lines table missing in data module',
		['error_missing'] = function(s)
			return s and '"' .. (s or '') .. '" is missing from the data page'
		end,
		['error_unknown'] = function(s)
			return s and 'Unknown line "' .. (s or '') .. '"'
		end
	}
}

p['en-US'] = mw.clone(p['en-GB'])
p['en-US']['towards'] = function(s) return s and 'toward to ' .. s end

return p