diff options
Diffstat (limited to 'lib/plurals.nom')
| -rw-r--r-- | lib/plurals.nom | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/plurals.nom b/lib/plurals.nom index 52a3294..a1c293f 100644 --- a/lib/plurals.nom +++ b/lib/plurals.nom @@ -9,12 +9,12 @@ with secrets: | return key..endings[key:sub(-1)]; |end}); |secrets.singulars = setmetatable({}, {__index=function(self,key) - | if key:sub(-2) == "es" and rawget(endings, key:sub(-3,-3)) then; return key:sub(1,-3); end; - | if key:sub(-1) == "s" then; return key:sub(1,-2); end; + | if key:sub(-2) == "es" and rawget(endings, key:sub(-3,-3)) then return key:sub(1,-3); end + | if key:sub(-1) == "s" then return key:sub(1,-2); end | return key; |end}); |secrets.canonicals = setmetatable({}, {__index=function(self,key) - | if key:sub(-1) == "s" then; return secrets.singulars[key]; end; + | if key:sub(-1) == "s" then return secrets.singulars[key]; end | return key; |end}); |
