Content deleted Content added
No edit summary |
No edit summary |
||
Line 1:
--[[--------------------------< P A R A M S _ M A
tables of k/v pairs where k is the non-English parameter name and v is the directly translatable cs1|2 equivalent
Line 12:
]]
local
da = { -- Danish from :da:Modul:Citation/CS1/Whitelist
['hentningsdato'] = nil, -- access-date
Line 1,840:
--[[--------------------------<
<date_params_t> is a k/v_t table where k is the ISO 639-1 language code and v_t is a k/v_t table where k identifies
Line 1,846:
non-English parameter names are normalized to lowercase.
]]
local
da = { -- Danish
date_t = {'dato', 'datum', 'dag'},
Line 1,936 ⟶ 1,934:
--[[--------------------------< P A R A M S _ M I S C _ D A T E S _ T >
German other date-holding parameters that are not |date= or |year=
All key values (German parameter names) normalized to lowercase.
]]
local
da = { -- Danish
['accessdate'] = 'access-date',
Line 2,110 ⟶ 2,106:
--[[--------------------------< P A R A M S _ I D E N T I F I E R S
miscellaneous identifiers that, at en.wiki, are grouped together in |id=
Line 2,121 ⟶ 2,117:
parameter names are normalized to lowercase.
]]
local
de = { -- German
{'id'}, -- |id= does not get a label so nil
Line 2,150 ⟶ 2,144:
{'libris', '[[LIBRIS]]', 'http://libris.kb.se/bib/'},
},
}
--[[--------------------------< P A R A M S _ L A N G U A G E _ T >--------------------------------------------
table of sequence tables of language parameter names
]]
local params_language_t = {
da = {'sprog', 'på', 'språk', 'langue', 'lang'}, -- Danish
de = {'originalsprache', 'sprache'}, -- German
es = {'idioma', 'language'}, -- Spanish
fi = {'kieli', 'language'}, -- Finnish
fr = {'langue', 'language'}, -- French
it = {'lingua'}, -- Italian
nb = {'på', 'språk'}, -- Norwegian
nl = {'språk', 'language'}, -- Dutch
ru = {'язык'}, -- Russian
sv = {'språk', 'language'}, -- Swedish
tr = {'dil', 'language'}, -- Turkish
}
Line 2,157 ⟶ 2,172:
return {
params_dates_t = params_dates_t,
params_identifiers_t = params_identifiers_t,
params_language_t = params_language_t,
params_main_t = params_main_t,
params_misc_dates_t = params_misc_dates_t,
}
|