Module:inherit: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 23: Line 23:
local language = m_languages.get_by_code(args[1])
local language = m_languages.get_by_code(args[1])
local origin = m_languages.get_by_code(args[2])
local origin = m_languages.get_by_code(args[2])
local category = "[[Category:" .. lang.name .. " terms inherited from " .. origin.name .. "]]"
local category = "[[Category:" .. language.name .. " terms inherited from " .. origin.name .. "]]"
return m_links.full_link({
return m_links.full_link({
language = origin,
language = origin,