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('es', 'inflectionConstants', { 12 /** @private */ 13 PLURAL: [ 14 [/([^aeéiou])$/i, '$1es'], 15 [/([aeiou]s)$/i, '$1'], 16 [/z$/i, 'ces'], 17 [/á([sn])$/i, 'a$1es'], 18 [/é([sn])$/i, 'e$1es'], 19 [/í([sn])$/i, 'i$1es'], 20 [/ó([sn])$/i, 'o$1es'], 21 [/ú([sn])$/i, 'u$1es'], 22 [/$/, "s"] 23 ], 24 25 /** @private */ 26 SINGULAR: [ 27 [/es$/i, ''], 28 [/s$/i, ""] 29 ], 30 31 /** @private */ 32 IRREGULAR: [ 33 ['el', 'los'] 34 ], 35 36 /** @private */ 37 UNCOUNTABLE: [] 38 });