Module:translations: Difference between revisions

m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 56: Line 56:
end
end
for lang, _ in pairs(args) do
for lang, _ in pairs(args) do
if type(k) == "string" and type(v) == "string" then
if type(lang) == "string" then
out = out .. "[[Category:" .. language.name .. " terms with " .. m_languages.get_by_code(lang).name .. " translations]]"
out = out .. "[[Category:" .. language.name .. " terms with " .. m_languages.get_by_code(lang).name .. " translations]]"
end
end