Module:snon-mut: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 48: | Line 48: | ||
ret.eclipsis = gsub(lower_radical, "^ghi" .. vowels, "ni%1") | ret.eclipsis = gsub(lower_radical, "^ghi" .. vowels, "ni%1") | ||
else | else | ||
ret.eclipsis = | ret.eclipsis = "-" | ||
end | end | ||
| Line 82: | Line 82: | ||
if args.temp_len then | if args.temp_len then | ||
return ret.lenition or ret. | return ret.lenition == "-" and ret.radical or ret.lenition | ||
end | end | ||
if args.temp_ecl then | if args.temp_ecl then | ||
return ret.eclipsis or ret. | return ret.eclipsis == "-" and ret.radical or ret.eclipsis | ||
end | end | ||
local links = {} | local links = {} | ||
for k, v in pairs(ret) do | for k, v in pairs(ret) do | ||
if | if v == "-" then | ||
links[k] = "''not applicable''" | links[k] = "''not applicable''" | ||
else | else | ||