projects
/
labelle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Handle "headgear" as a plural.
[labelle.git]
/
acnl-outfit.js
diff --git
a/acnl-outfit.js
b/acnl-outfit.js
index
50b9832
..
333335b
100644
(file)
--- a/
acnl-outfit.js
+++ b/
acnl-outfit.js
@@
-76,7
+76,8
@@
function isPosessive (item) {
}
function isPlural (item) {
- return (item.substr(-1) === "s"
+ return item.substr(-8) === "headgear"
+ || (item.substr(-1) === "s"
&& item.substr(-2) !== "ss"
&& item.substr(-6) !== "cosmos"); // :(
}