Skip to content

Commit

Permalink
Added media as a word that shouldn't be modified for pluralization.
Browse files Browse the repository at this point in the history
  • Loading branch information
bithooked committed Aug 5, 2009
1 parent a43f576 commit c58744e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/com/memamsa/airdb/Inflector.as
Expand Up @@ -125,7 +125,8 @@ package com.memamsa.airdb
[/man$/i, "men"], // man, woman, spokesman
[/child$/i, "children"], // child
[/s$/i, "s"], // no change (compatibility)
[/$/, "s"]
[/$/, "s"],
[/media$/i, "media"]
];

protected static var singularRules:Array = [
Expand All @@ -144,7 +145,8 @@ package com.memamsa.airdb
[/status$/i, "status"],
[/children$/i, "child"],
[/news$/i, "news"],
[/s$/i, ""]
[/s$/i, ""],
[/media$/i, "media"]
];
}
}

0 comments on commit c58744e

Please sign in to comment.