Module:HTMLParse: Difference between revisions

No change in size ,  17:01, 9 September 2019
m
no edit summary
mNo edit summary
mNo edit summary
Line 14: Line 14:
     elseif (string.sub(prefix, -1) == 'y') and apostrophe == '' then
     elseif (string.sub(prefix, -1) == 'y') and apostrophe == '' then
         return (string.sub(prefix, 1, -2) ..  'ies' .. postfix)
         return (string.sub(prefix, 1, -2) ..  'ies' .. postfix)
     elseif (string.sub(prefix, -1) == 'z' or string.sub(prefix, -2) == 'ch' or string.sub(prefix, -2) == 'ch' or string.sub(prefix, -1) == 'x') and apostrophe == '' then
     elseif (string.sub(prefix, -1) == 'z' or string.sub(prefix, -2) == 'ch' or string.sub(prefix, -2) == 'sh' or string.sub(prefix, -1) == 'x') and apostrophe == '' then
         return (prefix ..  'es' .. postfix)
         return (prefix ..  'es' .. postfix)
     else
     else