summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-02-23 16:13:04 +0000
committerGreg Roach <fisharebest@gmail.com>2014-02-23 21:46:24 +0000
commitc9ec19db60a5a592ef88ec4be01cd55725e71f08 (patch)
treebeddd495df056140f04727bdd3befdef874d76d4 /includes
parent43e1e562b133df8df266435214a547a2c02ec9fd (diff)
downloadwebtrees-c9ec19db60a5a592ef88ec4be01cd55725e71f08.tar.gz
webtrees-c9ec19db60a5a592ef88ec4be01cd55725e71f08.tar.bz2
webtrees-c9ec19db60a5a592ef88ec4be01cd55725e71f08.zip
Missing I18N comments for some relationships
Diffstat (limited to 'includes')
-rw-r--r--includes/functions/functions.php65
1 files changed, 48 insertions, 17 deletions
diff --git a/includes/functions/functions.php b/includes/functions/functions.php
index 0f8e0d61f6..68c05b00a0 100644
--- a/includes/functions/functions.php
+++ b/includes/functions/functions.php
@@ -657,23 +657,54 @@ function cousin_name($n, $sex) {
switch ($sex) {
case 'M':
switch ($n) {
- case 1: // I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers.
- return WT_I18N::translate_c('MALE', 'first cousin');
- case 2: return WT_I18N::translate_c('MALE', 'second cousin');
- case 3: return WT_I18N::translate_c('MALE', 'third cousin');
- case 4: return WT_I18N::translate_c('MALE', 'fourth cousin');
- case 5: return WT_I18N::translate_c('MALE', 'fifth cousin');
- case 6: return WT_I18N::translate_c('MALE', 'sixth cousin');
- case 7: return WT_I18N::translate_c('MALE', 'seventh cousin');
- case 8: return WT_I18N::translate_c('MALE', 'eighth cousin');
- case 9: return WT_I18N::translate_c('MALE', 'ninth cousin');
- case 10: return WT_I18N::translate_c('MALE', 'tenth cousin');
- case 11: return WT_I18N::translate_c('MALE', 'eleventh cousin');
- case 12: return WT_I18N::translate_c('MALE', 'twelfth cousin');
- case 13: return WT_I18N::translate_c('MALE', 'thirteenth cousin');
- case 14: return WT_I18N::translate_c('MALE', 'fourteenth cousin');
- case 15: return WT_I18N::translate_c('MALE', 'fifteenth cousin');
- default: return WT_I18N::translate_c('MALE', '%d x cousin', $n);
+ case 1:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'first cousin');
+ case 2:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'second cousin');
+ case 3:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'third cousin');
+ case 4:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'fourth cousin');
+ case 5:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'fifth cousin');
+ case 6:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'sixth cousin');
+ case 7:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'seventh cousin');
+ case 8:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'eighth cousin');
+ case 9:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'ninth cousin');
+ case 10:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'tenth cousin');
+ case 11:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'eleventh cousin');
+ case 12:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'twelfth cousin');
+ case 13:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'thirteenth cousin');
+ case 14:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'fourteenth cousin');
+ case 15:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', 'fifteenth cousin');
+ default:
+ /* I18N: Note that for Italian and Polish, “N’th cousins” are different from English “N’th cousins”, and the software has already generated the correct “N” for your language. You only need to translate - you do not need to convert. For other languages, if your cousin rules are different from English, please contact the developers. */
+ return WT_I18N::translate_c('MALE', '%d x cousin', $n);
}
case 'F':
switch ($n) {