Module:languages: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
(Created page with "local export = {} local languages = { bal = {name = "Balavic", code = "bal"}, kil = {name = "Kilitic", code = "kil"}, rad = {name = "Radestrian", code = "rad"}, lfv = {name = "Lafevian", code = "lfv"}, } function export.getByCode(frame) local code = frame.args[1] local want = frame.args[2] return languages[code][want] end return export")
 
No edit summary
Line 1: Line 1:
local export = {}
local export = {}
local languages = {
local languages = {
-- Proto-Laenkean
lae_pro = {name = "Proto-Laenkean", code = "lae-pro"},
-- Balavic
bal = {name = "Balavic", code = "bal"},
bal = {name = "Balavic", code = "bal"},
-- Kilitic
kil = {name = "Kilitic", code = "kil"},
kil = {name = "Kilitic", code = "kil"},
-- Laefevian
lfv_pro = {name = "Proto-Laefevic", code = "lfv-pro"},
lfv = {name = "Lafevian", code = "lfv"},
-- Radestrian
rad_pro = {name = "Proto-Radic", code = "rad-pro"},
rad = {name = "Radestrian", code = "rad"},
rad = {name = "Radestrian", code = "rad"},
lfv = {name = "Lafevian", code = "lfv"},
-- Riyan
ryn_o = {name = "Old Riyan", code = "ryn-o"},
ryn_m = {name = "Middle Riyan", code = "ryn-m"},
ryn = {name = "Riyan", code = "ryn"}
}
}