10,731
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 2,476: | Line 2,476: | ||
if not ((table_type == "intr" or table_type == "impers") and i == "rpst") and not nonforms[i] and not ((i == "apst" or i == "rpst" or i == "pl" or i == "vnoun" or i == "1s") and table_type == "impers") then | if not ((table_type == "intr" or table_type == "impers") and i == "rpst") and not nonforms[i] and not ((i == "apst" or i == "rpst" or i == "pl" or i == "vnoun" or i == "1s") and table_type == "impers") then | ||
if type(j) == "string" then | if type(j) == "string" then | ||
table.insert(review, "* <code>" .. string.upper(i) .. "</code>: '''" .. j .. "'''" .. endings[i]) | table.insert(review, "* <code>" .. string.upper(i) .. "</code>: '''" .. j .. "'''" .. endings[i]) | ||
elseif type(j) == "table" then | elseif type(j) == "table" then | ||
for k, l in ipairs(j) do | for k, l in ipairs(j) do | ||
local temp = "* <code>" .. string.upper(i) .. "[" .. k .. "]</code>: '''" .. l.word .. "'''" .. endings[i] | local temp = "* <code>" .. string.upper(i) .. "[" .. k .. "]</code>: '''" .. l.word .. "'''" .. endings[i] | ||
if l.note then temp = temp .. " (" .. l.note .. ")" end | if l.note then temp = temp .. " (" .. l.note .. ")" end | ||
Line 2,548: | Line 2,542: | ||
table.insert(review, "* <code>EPST</code>: '''" .. pp.pst .. "e'''" .. endings['epst']) | table.insert(review, "* <code>EPST</code>: '''" .. pp.pst .. "e'''" .. endings['epst']) | ||
end | end | ||
end | |||
for i, term in ipairs(review) do | |||
review[i] = mw.ustring.gsub(term, "(%'%'%'%S*)%*(%S*)", "%1%2" .. irregular_icon) | |||
end | end | ||
table.sort(review, function(a,b) return a < b end) | table.sort(review, function(a,b) return a < b end) |