|
@@ 2124-2131 (lines=8) @@
|
| 2121 |
|
switch ($removed) { |
| 2122 |
|
case 0: |
| 2123 |
|
return self::cousinName($cousin, $sex2); |
| 2124 |
|
case 1: |
| 2125 |
|
if ($up > $down) { |
| 2126 |
|
/* I18N: %s=“fifth cousin”, etc. http://www.ancestry.com/learn/library/article.aspx?article=2856 */ |
| 2127 |
|
return I18N::translate('%s once removed ascending', self::cousinName($cousin, $sex2)); |
| 2128 |
|
} else { |
| 2129 |
|
/* I18N: %s=“fifth cousin”, etc. http://www.ancestry.com/learn/library/article.aspx?article=2856 */ |
| 2130 |
|
return I18N::translate('%s once removed descending', self::cousinName($cousin, $sex2)); |
| 2131 |
|
} |
| 2132 |
|
case 2: |
| 2133 |
|
if ($up > $down) { |
| 2134 |
|
/* I18N: %s=“fifth cousin”, etc. */ |
|
@@ 2132-2139 (lines=8) @@
|
| 2129 |
|
/* I18N: %s=“fifth cousin”, etc. http://www.ancestry.com/learn/library/article.aspx?article=2856 */ |
| 2130 |
|
return I18N::translate('%s once removed descending', self::cousinName($cousin, $sex2)); |
| 2131 |
|
} |
| 2132 |
|
case 2: |
| 2133 |
|
if ($up > $down) { |
| 2134 |
|
/* I18N: %s=“fifth cousin”, etc. */ |
| 2135 |
|
return I18N::translate('%s twice removed ascending', self::cousinName($cousin, $sex2)); |
| 2136 |
|
} else { |
| 2137 |
|
/* I18N: %s=“fifth cousin”, etc. */ |
| 2138 |
|
return I18N::translate('%s twice removed descending', self::cousinName($cousin, $sex2)); |
| 2139 |
|
} |
| 2140 |
|
case 3: |
| 2141 |
|
if ($up > $down) { |
| 2142 |
|
/* I18N: %s=“fifth cousin”, etc. */ |
|
@@ 2140-2147 (lines=8) @@
|
| 2137 |
|
/* I18N: %s=“fifth cousin”, etc. */ |
| 2138 |
|
return I18N::translate('%s twice removed descending', self::cousinName($cousin, $sex2)); |
| 2139 |
|
} |
| 2140 |
|
case 3: |
| 2141 |
|
if ($up > $down) { |
| 2142 |
|
/* I18N: %s=“fifth cousin”, etc. */ |
| 2143 |
|
return I18N::translate('%s three times removed ascending', self::cousinName($cousin, $sex2)); |
| 2144 |
|
} else { |
| 2145 |
|
/* I18N: %s=“fifth cousin”, etc. */ |
| 2146 |
|
return I18N::translate('%s three times removed descending', self::cousinName($cousin, $sex2)); |
| 2147 |
|
} |
| 2148 |
|
default: |
| 2149 |
|
if ($up > $down) { |
| 2150 |
|
/* I18N: %1$s=“fifth cousin”, etc., %2$s>=4 */ |