|
366 | 366 | oes : new RegExp( '(o)es$' , 'gi' ), |
367 | 367 | shoes : new RegExp( '(shoe)s$' , 'gi' ), |
368 | 368 | crises : new RegExp( '(cris|ax|test)es$' , 'gi' ), |
369 | | - octopi : new RegExp( '(octop|vir)i$' , 'gi' ), |
| 369 | + octopuses : new RegExp( '(octop|vir)uses$' , 'gi' ), |
370 | 370 | aliases : new RegExp( '(alias|canvas|status|campus)es$', 'gi' ), |
371 | | - summonses : new RegExp( '^(summons)es$' , 'gi' ), |
| 371 | + summonses : new RegExp( '^(summons|bonus)es$' , 'gi' ), |
372 | 372 | oxen : new RegExp( '^(ox)en' , 'gi' ), |
373 | 373 | matrices : new RegExp( '(matr)ices$' , 'gi' ), |
374 | 374 | vertices : new RegExp( '(vert|ind)ices$' , 'gi' ), |
|
391 | 391 | axis : new RegExp( '(ax|test)is$' , 'gi' ), |
392 | 392 | octopus : new RegExp( '(octop|vir)us$' , 'gi' ), |
393 | 393 | alias : new RegExp( '(alias|status|canvas|campus)$', 'gi' ), |
394 | | - summons : new RegExp( '^(summons)$' , 'gi' ), |
| 394 | + summons : new RegExp( '^(summons|bonus)$' , 'gi' ), |
395 | 395 | bus : new RegExp( '(bu)s$' , 'gi' ), |
396 | 396 | buffalo : new RegExp( '(buffal|tomat|potat)o$' , 'gi' ), |
397 | 397 | tium : new RegExp( '([ti])um$' , 'gi' ), |
|
436 | 436 | [ regex.plural.oes ], |
437 | 437 | [ regex.plural.shoes ], |
438 | 438 | [ regex.plural.crises ], |
439 | | - [ regex.plural.octopi ], |
| 439 | + [ regex.plural.octopuses ], |
440 | 440 | [ regex.plural.aliases ], |
441 | 441 | [ regex.plural.summonses ], |
442 | 442 | [ regex.plural.oxen ], |
|
455 | 455 | [ regex.singular.child , '$1ren' ], |
456 | 456 | [ regex.singular.ox , '$1en' ], |
457 | 457 | [ regex.singular.axis , '$1es' ], |
458 | | - [ regex.singular.octopus , '$1i' ], |
| 458 | + [ regex.singular.octopus , '$1uses' ], |
459 | 459 | [ regex.singular.alias , '$1es' ], |
460 | 460 | [ regex.singular.summons , '$1es' ], |
461 | 461 | [ regex.singular.bus , '$1ses' ], |
|
536 | 536 | [ regex.plural.oes , '$1' ], |
537 | 537 | [ regex.plural.shoes , '$1' ], |
538 | 538 | [ regex.plural.crises , '$1is' ], |
539 | | - [ regex.plural.octopi , '$1us' ], |
| 539 | + [ regex.plural.octopuses, '$1us' ], |
540 | 540 | [ regex.plural.aliases , '$1' ], |
541 | 541 | [ regex.plural.summonses, '$1' ], |
542 | 542 | [ regex.plural.oxen , '$1' ], |
|
661 | 661 | * var inflection = require( 'inflection' ); |
662 | 662 | * |
663 | 663 | * inflection.pluralize( 'person' ); // === 'people' |
664 | | - * inflection.pluralize( 'octopus' ); // === 'octopi' |
| 664 | + * inflection.pluralize( 'octopus' ); // === 'octopuses' |
665 | 665 | * inflection.pluralize( 'Hat' ); // === 'Hats' |
666 | 666 | * inflection.pluralize( 'person', 'guys' ); // === 'guys' |
667 | 667 | */ |
|
683 | 683 | * var inflection = require( 'inflection' ); |
684 | 684 | * |
685 | 685 | * inflection.singularize( 'people' ); // === 'person' |
686 | | - * inflection.singularize( 'octopi' ); // === 'octopus' |
| 686 | + * inflection.singularize( 'octopuses' ); // === 'octopus' |
687 | 687 | * inflection.singularize( 'Hats' ); // === 'Hat' |
688 | 688 | * inflection.singularize( 'guys', 'person' ); // === 'person' |
689 | 689 | */ |
|
706 | 706 | * var inflection = require( 'inflection' ); |
707 | 707 | * |
708 | 708 | * inflection.inflect( 'people' 1 ); // === 'person' |
709 | | - * inflection.inflect( 'octopi' 1 ); // === 'octopus' |
| 709 | + * inflection.inflect( 'octopuses' 1 ); // === 'octopus' |
710 | 710 | * inflection.inflect( 'Hats' 1 ); // === 'Hat' |
711 | 711 | * inflection.inflect( 'guys', 1 , 'person' ); // === 'person' |
712 | 712 | * inflection.inflect( 'person', 2 ); // === 'people' |
713 | | - * inflection.inflect( 'octopus', 2 ); // === 'octopi' |
| 713 | + * inflection.inflect( 'octopus', 2 ); // === 'octopuses' |
714 | 714 | * inflection.inflect( 'Hat', 2 ); // === 'Hats' |
715 | 715 | * inflection.inflect( 'person', 2, null, 'guys' ); // === 'guys' |
716 | 716 | */ |
|
0 commit comments