Module:sish-headword: Difference between revisions

No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 129: Line 129:
if sc:getCode() == "Latn" then
if sc:getCode() == "Latn" then
other_sc = "Armn"
other_sc = "sish-Armn"
elseif sc:getCode() == "Armn" then
elseif sc:getCode() == "sish-Armn" then
other_sc = "Latn"
other_sc = "Latn"
end
end
Line 180: Line 180:
head.tr = nil
head.tr = nil
end
end
head.sc = require("Module:scripts").getByCode(sc)
end
end
data.heads = heads
data.heads = heads