Modul:Adjacent stations/i18n
Mogoče bi radi ustvarili dokumentacijsko stran za ta Scribunto modul Urejevalci lahko preizkušate ta modul v peskovniku (ustvari | mirror) in testnihprimerih (ustvari). Prosimo, da dodate kategorije v /dok podstran. Podstrani te predloge. |
local p = {}
p = {
['sl'] = {
['preceding'] = function(s)
return s and 'Naslednja ' .. s
end,
['following'] = function(s)
return s and 'predhodnja ' .. s
end,
['stop_noun'] = 'postaja',
['nonstop_past'] = function(s)
return s and s .. ' se ne ustavlja tukaj'
end,
['nonstop_present'] = function(s)
return s and s .. ' se ne ustavlja tukaj'
end,
['comma'] = function(s)
return s and ', ' .. s
end,
['or'] = function(s)
return s and ' ali ' .. 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 'proti ' .. s
end,
['through'] = function(s)
return s and 'through to ' .. s
end,
['reverse'] = 'Reverses direction',
['oneway'] = 'One-way operation',
['terminus'] = 'Terminus',
['transfer'] = function(s)
return s and 'transfer at ' .. 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 'Neznana linija "' .. (s or '') .. '"'
end
}
}
p['en-US'] = mw.clone(p['sl'])
p['en-US']['towards'] = function(s) return s and 'toward ' .. s end
return p