8,756
edits
(pluralized stuff that ends in h,z,or x will have 'es' appended instead of 's') |
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, - | 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 | ||
return (prefix .. 'es' .. postfix) | return (prefix .. 'es' .. postfix) | ||
else | else |