Module:rad-stem/templates: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 145: Line 145:
if mw.ustring.match(mw.ustring.lower(adj_base), "^( ?a [" .. C .. "])") or mw.ustring.match(adj_base, "^( ag )") then
if mw.ustring.match(mw.ustring.lower(adj_base), "^( ?a [" .. C .. "])") or mw.ustring.match(adj_base, "^( ag )") then
if oblique_pl[case] then
if oblique_pl[case] then
adj_base = mw.ustring.gsub(adj_base, "^ ag ([iíỉIÍỈ])", " a’ %1")
adj_base = mw.ustring.gsub(adj_base, "^( ?)ag ([iíỉIÍỈ])", "%1a’ %2")
adj_base = mw.ustring.gsub(adj_base, "^( ag? )", " ai ")
adj_base = mw.ustring.gsub(adj_base, "^( ?)ag? ", "%1ai ")
elseif case == "genpl_short" or "gendu_short" then
elseif case == "genpl_short" or "gendu_short" then
adj_base = mw.ustring.gsub(adj_base, "^( ag? )", " ais ")
adj_base = mw.ustring.gsub(adj_base, "^( ?)ag? ", "%1ais ")
end
end
end
end

Navigation menu