|
@@ 602-616 (lines=15) @@
|
| 599 |
|
*/ |
| 600 |
|
public static function cousinName2($n, $sex, $relation) { |
| 601 |
|
switch ($sex) { |
| 602 |
|
case 'M': |
| 603 |
|
switch ($n) { |
| 604 |
|
case 1: |
| 605 |
|
return /* I18N: A Spanish relationship name, such as third great-nephew */ I18N::translateContext('MALE', 'first %s', $relation); |
| 606 |
|
case 2: |
| 607 |
|
return I18N::translateContext('MALE', 'second %s', $relation); |
| 608 |
|
case 3: |
| 609 |
|
return I18N::translateContext('MALE', 'third %s', $relation); |
| 610 |
|
case 4: |
| 611 |
|
return I18N::translateContext('MALE', 'fourth %s', $relation); |
| 612 |
|
case 5: |
| 613 |
|
return I18N::translateContext('MALE', 'fifth %s', $relation); |
| 614 |
|
default: |
| 615 |
|
return /* I18N: A Spanish relationship name, such as third great-nephew */ I18N::translateContext('MALE', '%1$s × %2$s', I18N::number($n), $relation); |
| 616 |
|
} |
| 617 |
|
case 'F': |
| 618 |
|
switch ($n) { |
| 619 |
|
case 1: |
|
@@ 617-631 (lines=15) @@
|
| 614 |
|
default: |
| 615 |
|
return /* I18N: A Spanish relationship name, such as third great-nephew */ I18N::translateContext('MALE', '%1$s × %2$s', I18N::number($n), $relation); |
| 616 |
|
} |
| 617 |
|
case 'F': |
| 618 |
|
switch ($n) { |
| 619 |
|
case 1: |
| 620 |
|
return /* I18N: A Spanish relationship name, such as third great-nephew */ I18N::translateContext('FEMALE', 'first %s', $relation); |
| 621 |
|
case 2: |
| 622 |
|
return I18N::translateContext('FEMALE', 'second %s', $relation); |
| 623 |
|
case 3: |
| 624 |
|
return I18N::translateContext('FEMALE', 'third %s', $relation); |
| 625 |
|
case 4: |
| 626 |
|
return I18N::translateContext('FEMALE', 'fourth %s', $relation); |
| 627 |
|
case 5: |
| 628 |
|
return I18N::translateContext('FEMALE', 'fifth %s', $relation); |
| 629 |
|
default: // I18N: A Spanish relationship name, such as third great-nephew |
| 630 |
|
return I18N::translateContext('FEMALE', '%1$s × %2$s', I18N::number($n), $relation); |
| 631 |
|
} |
| 632 |
|
default: |
| 633 |
|
switch ($n) { |
| 634 |
|
case 1: |