1 // ==========================================================================
  2 // Project:   SproutCore - JavaScript Application Framework
  3 // Copyright: ©2006-2011 Strobe Inc. and contributors.
  4 //            Portions ©2008-2011 Apple Inc. All rights reserved.
  5 // License:   Licensed under MIT license (see license.js)
  6 // ==========================================================================
  7 
  8 /** @private
  9   Active Support style inflection constants
 10 */
 11 SC.hashesForLocale('fr', 'inflectionConstants', {
 12   /** @private */
 13   PLURAL: [
 14     [/(bijou|caillou|chou|genou|hibou|joujou|pou|au|eu|eau)$/i, '$1x'],
 15     [/(bleu|émeu|landau|lieu|pneu|sarrau)$/i, '$1s'],
 16     [/al$/i, 'aux'],
 17     [/ail$/i, 'ails'],
 18     [/(b|cor|ém|gemm|soupir|trav|vant|vitr)ail$/i, '$1aux'],
 19     [/(s|x|z)$/i, '$1'],
 20     [/$/, "s"]
 21   ],
 22 
 23   /** @private */
 24   SINGULAR: [
 25     [/(bijou|caillou|chou|genou|hibou|joujou|pou|au|eu|eau)x$/i, '$1'],
 26     [/(journ|chev)aux$/i, '$1al'],
 27     [/ails$/i, 'ail'],
 28     [/(b|cor|ém|gemm|soupir|trav|vant|vitr)aux$/i, '$1ail'],
 29     [/s$/i, ""]
 30   ],
 31 
 32   /** @private */
 33   IRREGULAR: [
 34     ['monsieur', 'messieurs'],
 35     ['madame', 'mesdames'],
 36     ['mademoiselle', 'mesdemoiselles']
 37   ],
 38 
 39   /** @private */
 40   UNCOUNTABLE: []
 41 });