45,646
edits
No edit summary |
No edit summary |
||
Line 46: | Line 46: | ||
if e == a and a == s then | if e == a and a == s then | ||
qs = {"Spanish", "Asturian", "Southern"} | qs = {"Spanish", "Asturian", "Southern"} | ||
table.insert(ret, "* " .. link(e) .. " " .. m_q.format_qualifier(qs) .. "\n") | if e ~= term then table.insert(ret, "* " .. link(e) .. " " .. m_q.format_qualifier(qs) .. "\n") end | ||
elseif e == a then | elseif e == a then | ||
table.insert(qs, "Spanish") | table.insert(qs, "Spanish") | ||
table.insert(qs, "Asturian") | table.insert(qs, "Asturian") | ||
table.insert(ret, "* " .. link(e) .. " " .. m_q.format_qualifier(qs) .. "\n") | if e ~= term then table.insert(ret, "* " .. link(e) .. " " .. m_q.format_qualifier(qs) .. "\n") end | ||
table.insert(ret, "* " .. link(s) .. (lh and ", " .. link(s:gsub("lh", "j")) or "") .. " " .. m_q.format_qualifier({"Southern"}) .. "\n") | if s ~= term then table.insert(ret, "* " .. link(s) .. (lh and ", " .. link(s:gsub("lh", "j")) or "") | ||
.. " " .. m_q.format_qualifier({"Southern"}) .. "\n") end | |||
elseif e == s then | elseif e == s then | ||
table.insert(qs, "Spanish") | table.insert(qs, "Spanish") | ||
table.insert(qs, "Southern") | table.insert(qs, "Southern") | ||
table.insert(ret, "* " .. link(e) .. " " .. m_q.format_qualifier(qs) .. "\n") | if e ~= term then table.insert(ret, "* " .. link(e) .. " " .. m_q.format_qualifier(qs) .. "\n") end | ||
table.insert(ret, "* " .. link(a) .. " " .. m_q.format_qualifier({"Asturian"}) .. "\n") | if a ~= term then table.insert(ret, "* " .. link(a) .. " " .. m_q.format_qualifier({"Asturian"}) .. "\n") end | ||
elseif a == s then | elseif a == s then | ||
table.insert(qs, "Asturian") | table.insert(qs, "Asturian") | ||
table.insert(qs, "Southern") | table.insert(qs, "Southern") | ||
table.insert(ret, "* " .. link(a) .. " " .. m_q.format_qualifier(qs) .. "\n") | if a ~= term then table.insert(ret, "* " .. link(a) .. " " .. m_q.format_qualifier(qs) .. "\n") end | ||
table.insert(ret, "* " .. link(e) .. " " .. m_q.format_qualifier({"Spanish"}) .. "\n") | if e ~= term then table.insert(ret, "* " .. link(e) .. " " .. m_q.format_qualifier({"Spanish"}) .. "\n") end | ||
else | else | ||
table.insert(ret, "* " .. link(e) .. " " .. m_q.format_qualifier({"Spanish"}) .. "\n") | if e ~= term then table.insert(ret, "* " .. link(e) .. " " .. m_q.format_qualifier({"Spanish"}) .. "\n") end | ||
table.insert(ret, "* " .. link(a) .. " " .. m_q.format_qualifier({"Asturian"}) .. "\n") | if a ~= term then table.insert(ret, "* " .. link(a) .. " " .. m_q.format_qualifier({"Asturian"}) .. "\n") end | ||
table.insert(ret, "* " .. link(s) .. (lh and ", " .. link(s:gsub("lh", "j")) or "") .. " " .. m_q.format_qualifier({"Southern"}) .. "\n") | if s ~= term then table.insert(ret, "* " .. link(s) .. (lh and ", " .. link(s:gsub("lh", "j")) or "") | ||
.. " " .. m_q.format_qualifier({"Southern"}) .. "\n") end | |||
end | end | ||