45,626
edits
No edit summary |
No edit summary |
||
Line 72: | Line 72: | ||
if desc_tree then | if desc_tree then | ||
params = { | params = { | ||
[1] = {required = true, default = " | [1] = {required = true, default = "alo-pro"}, | ||
[2] = {required = true, list = true, allow_holes = true, default = "* | [2] = {required = true, list = true, allow_holes = true, default = "*tsxī"}, | ||
["notext"] = {type = "boolean"}, | ["notext"] = {type = "boolean"}, | ||
["noalts"] = {type = "boolean"}, | ["noalts"] = {type = "boolean"}, | ||
Line 541: | Line 541: | ||
elseif #seen_terms == 1 then | elseif #seen_terms == 1 then | ||
error("No Descendants section was found in the entry [[" .. seen_terms[1] .. | error("No Descendants section was found in the entry [[" .. seen_terms[1] .. | ||
"]] under the header for " .. lang: | "]] under the header for " .. lang:getCanonicalName() .. ".") | ||
else | else | ||
for i, term in ipairs(seen_terms) do | for i, term in ipairs(seen_terms) do | ||
Line 547: | Line 547: | ||
end | end | ||
error("No Descendants section was found in any of the entries " .. | error("No Descendants section was found in any of the entries " .. | ||
table.concat(seen_terms, ", ") .. " under the header for " .. lang: | table.concat(seen_terms, ", ") .. " under the header for " .. lang:getCanonicalName() .. ".") | ||
end | end | ||
end | end |