Module:etymology: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 159: Line 159:
function export.hydrate_category(category, language_to, language_from)
function export.hydrate_category(category, language_to, language_from)
     local new_category = language_to.name .. " " .. category
     local new_category = language_to.name .. " " .. category
     if language_from then new_category = new_category .. " " .. language_from end
     if language_from then new_category = new_category .. " " .. language_from.name end
     return new_category
     return new_category
end
end