projects
/
labelle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1bbc0d8
)
Handle "headgear" as a plural.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Thu, 29 May 2014 22:27:15 +0000
(
00:27
+0200)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Thu, 29 May 2014 22:27:15 +0000
(
00:27
+0200)
acnl-outfit.js
patch
|
blob
|
history
diff --git
a/acnl-outfit.js
b/acnl-outfit.js
index 50b98325c5481e81e52af03850c983ae30c83079..333335b70b0cb17c99086b06405106af69d737db 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"); // :(
}