45,647
edits
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
c = c:gsub("x", "is") | c = c:gsub("x", "is") | ||
-- disclaimer: awful approach below, your physical and mental integrity may be at risk | |||
if e == a and a == s then | |||
qs = {"Spanish", "Asturian", "Southern"} | |||
table.insert(ret, "* " .. m_l.full_link({term = e, lang = lang}) .. " " .. m_q.format_qualifier(qs) .. "\n") | |||
elseif e == a then | |||
table.insert(qs, "Spanish") | |||
table.insert(qs, "Asturian") | |||
table.insert(ret, "* " .. m_l.full_link({term = e, lang = lang}) .. " " .. m_q.format_qualifier(qs) .. "\n") | |||
table.insert(ret, "* " .. m_l.full_link({term = | elseif e == s then | ||
table.insert(qs, "Spanish") | |||
table.insert(qs, "Southern") | |||
table.insert(ret, "* " .. m_l.full_link({term = e, lang = lang}) .. " " .. m_q.format_qualifier(qs) .. "\n") | |||
elseif a == s then | |||
table.insert(qs, "Asturian") | |||
table.insert(qs, "Southern") | |||
table.insert(ret, "* " .. m_l.full_link({term = a, lang = lang}) .. " " .. m_q.format_qualifier(qs) .. "\n") | |||
else | |||
table.insert(ret, "* " .. m_l.full_link({term = e, lang = lang}) .. " " .. m_q.format_qualifier({"Spanish"}) .. "\n") | |||
table.insert(ret, "* " .. m_l.full_link({term = a, lang = lang}) .. " " .. m_q.format_qualifier({"Asturian"}) .. "\n") | |||
table.insert(ret, "* " .. m_l.full_link({term = s, lang = lang}) .. " " .. m_q.format_qualifier({"Southern"}) .. "\n") | |||
end | end | ||
table.insert(ret, "* " .. m_l.full_link({term = c, lang = lang}) .. " " .. m_q.format_qualifier({"Celtic"}) .. "\n") | |||
if e == term and a == term and c == term and s == term then | if e == term and a == term and c == term and s == term then |