local p = {}

p = {
	['en-GB'] = {
		['stop_noun'] = 'Stasiun',
		['preceding'] = function(s)
			return s and s .. ' sebelumnya'
		end,
		['following'] = function(s)
			return s and s .. ' berikutnya'
		end,
		['nonstop_past'] = function(s)
			return s and s .. ' dahulu tidak berhenti di sini'
		end,
		['nonstop_present'] = function(s)
			return s and s .. ' tidak berhenti di sini'
		end,
		['comma'] = function(s)
			return s and ', ' .. s
		end,
		['or'] = function(s)
			return s and ' atau ' .. s
		end,
		['via-first'] = false, -- If the «via» text comes before termini, change to «true»
		['via'] = function(s)
			return s and ' melalui ' .. s
		end,
		['comma-format'] = ',%s+',
		['or-format'] = '%s+atau%s+',
		['via-format'] = '%s+via%s+(.+)$', -- first match is station name
		['towards'] = function(s)
			return s and 'menuju ' .. s
		end,
		['through'] = function(s)
			return s and 'lewat ' .. s
		end,
		['reverse'] = 'Melawan arus',
		['oneway'] = 'Perjalanan satu arah',
		['terminus'] = 'Terminus',
		['transfer'] = function(s)
			return s and 'transit di ' .. s
		end,
		['error_duplicate'] = function(s)
			return s and 'Same row number used multiple times for ' .. s
		end,
		['error_format'] = 'Tabel format stasiun hilang dalam halaman data',
		['error_line'] = 'Tabel jalur hilang dalam modul data',
		['error_missing'] = function(s)
			return s and '"' .. (s or '') .. '" hilang dari halaman data'
		end,
		['error_unknown'] = function(s)
			return s and 'Jalur tidak dikenal "' .. (s or '') .. '"'
		end
	}
}

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

return p