|
367 | 367 | oes : new RegExp( '(o)es$' , 'gi' ), |
368 | 368 | shoes : new RegExp( '(shoe)s$' , 'gi' ), |
369 | 369 | crises : new RegExp( '(cris|ax|test)es$' , 'gi' ), |
370 | | - octopi : new RegExp( '(octop|vir)i$' , 'gi' ), |
| 370 | + octopuses : new RegExp( '(octop|vir)uses$' , 'gi' ), |
371 | 371 | aliases : new RegExp( '(alias|canvas|status|campus)es$', 'gi' ), |
372 | 372 | summonses : new RegExp( '^(summons|bonus)es$' , 'gi' ), |
373 | 373 | oxen : new RegExp( '^(ox)en' , 'gi' ), |
|
437 | 437 | [ regex.plural.oes ], |
438 | 438 | [ regex.plural.shoes ], |
439 | 439 | [ regex.plural.crises ], |
440 | | - [ regex.plural.octopi ], |
| 440 | + [ regex.plural.octopuses ], |
441 | 441 | [ regex.plural.aliases ], |
442 | 442 | [ regex.plural.summonses ], |
443 | 443 | [ regex.plural.oxen ], |
|
456 | 456 | [ regex.singular.child , '$1ren' ], |
457 | 457 | [ regex.singular.ox , '$1en' ], |
458 | 458 | [ regex.singular.axis , '$1es' ], |
459 | | - [ regex.singular.octopus , '$1i' ], |
| 459 | + [ regex.singular.octopus , '$1uses' ], |
460 | 460 | [ regex.singular.alias , '$1es' ], |
461 | 461 | [ regex.singular.summons , '$1es' ], |
462 | 462 | [ regex.singular.bus , '$1ses' ], |
|
537 | 537 | [ regex.plural.oes , '$1' ], |
538 | 538 | [ regex.plural.shoes , '$1' ], |
539 | 539 | [ regex.plural.crises , '$1is' ], |
540 | | - [ regex.plural.octopi , '$1us' ], |
| 540 | + [ regex.plural.octopuses, '$1us' ], |
541 | 541 | [ regex.plural.aliases , '$1' ], |
542 | 542 | [ regex.plural.summonses, '$1' ], |
543 | 543 | [ regex.plural.oxen , '$1' ], |
|
662 | 662 | * var inflection = require( 'inflection' ); |
663 | 663 | * |
664 | 664 | * inflection.pluralize( 'person' ); // === 'people' |
665 | | - * inflection.pluralize( 'octopus' ); // === 'octopi' |
| 665 | + * inflection.pluralize( 'octopus' ); // === 'octopuses' |
666 | 666 | * inflection.pluralize( 'Hat' ); // === 'Hats' |
667 | 667 | * inflection.pluralize( 'person', 'guys' ); // === 'guys' |
668 | 668 | */ |
|
684 | 684 | * var inflection = require( 'inflection' ); |
685 | 685 | * |
686 | 686 | * inflection.singularize( 'people' ); // === 'person' |
687 | | - * inflection.singularize( 'octopi' ); // === 'octopus' |
| 687 | + * inflection.singularize( 'octopuses' ); // === 'octopus' |
688 | 688 | * inflection.singularize( 'Hats' ); // === 'Hat' |
689 | 689 | * inflection.singularize( 'guys', 'person' ); // === 'person' |
690 | 690 | */ |
|
707 | 707 | * var inflection = require( 'inflection' ); |
708 | 708 | * |
709 | 709 | * inflection.inflect( 'people' 1 ); // === 'person' |
710 | | - * inflection.inflect( 'octopi' 1 ); // === 'octopus' |
| 710 | + * inflection.inflect( 'octopuses' 1 ); // === 'octopus' |
711 | 711 | * inflection.inflect( 'Hats' 1 ); // === 'Hat' |
712 | 712 | * inflection.inflect( 'guys', 1 , 'person' ); // === 'person' |
713 | 713 | * inflection.inflect( 'person', 2 ); // === 'people' |
714 | | - * inflection.inflect( 'octopus', 2 ); // === 'octopi' |
| 714 | + * inflection.inflect( 'octopus', 2 ); // === 'octopuses' |
715 | 715 | * inflection.inflect( 'Hat', 2 ); // === 'Hats' |
716 | 716 | * inflection.inflect( 'person', 2, null, 'guys' ); // === 'guys' |
717 | 717 | */ |
|
0 commit comments