Module:etymology: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 357: Line 357:
             elseif language_from then
             elseif language_from then
                 table.insert(categories, language_to.name .. " terms derived from " .. language_from.name)
                 table.insert(categories, language_to.name .. " terms derived from " .. language_from.name)
                 if is_infix(term) or is_prefix(term) or is_suffix(term) then n_affixes = n_affixes + 1 end
                 if is_infix(i_term) or is_prefix(i_term) or is_suffix(i_term) or is_circumfix(i_term) then n_affixes = n_affixes + 1 end
             elseif is_infix(term) then
             elseif is_infix(i_term) then
                 table.insert(categories, language_to.name .. " terms infixed with " .. cite_term)
                 table.insert(categories, language_to.name .. " terms infixed with " .. cite_term)
                 n_affixes = n_affixes + 1
                 n_affixes = n_affixes + 1
             elseif is_prefix(term) then
             elseif is_prefix(i_term) then
                 table.insert(categories, language_to.name .. " terms prefixed with " .. cite_term)
                 table.insert(categories, language_to.name .. " terms prefixed with " .. cite_term)
                 n_affixes = n_affixes + 1
                 n_affixes = n_affixes + 1
             elseif is_suffix(term) then
             elseif is_suffix(i_term) then
                 table.insert(categories, language_to.name .. " terms suffixed with " .. cite_term)
                 table.insert(categories, language_to.name .. " terms suffixed with " .. cite_term)
                 n_affixes = n_affixes + 1
                 n_affixes = n_affixes + 1
             elseif is_circumfix(term) then
             elseif is_circumfix(i_term) then
             table.insert(categories, language_to.name .. " terms circumfixed with " .. cite_term)
             table.insert(categories, language_to.name .. " terms circumfixed with " .. cite_term)
             n_affixes = n_affixes + 1
             n_affixes = n_affixes + 1