hartenthaler / hh_extended_family

webtrees - showing the extended family of an individual (like cousins and uncles, aunts, ...)
GNU General Public License v3.0
23 stars 9 forks source link

Individuals with unknown sex not indicated clearly #57

Closed reteP-riS closed 3 years ago

reteP-riS commented 3 years ago

I have an exceptional situation where for one uncle or aunt I don't know the sex. In the "Uncles and Aunts" section the calculation result is therefore 3+6=10:

"B. has 3 uncles and 6 aunts recorded (10 in total)."

Any idea how to resolve this issue which might occur in other sections as well?

hartenthaler commented 3 years ago

To indicate this situation I added „ in total“. 3 +6 and in total 10 indicates that there is another person which is not Uncle and not Aunt, but is counted for the total number. Would you prefer to make this explicitly? Can you suggest a sentence, please?

Viele Grüße Hermann

Am 19.07.2021 um 16:55 schrieb Sir Peter @.***>:

 I have an exceptional situation where for one uncle or aunt I don't know the sex. In the "Uncles and Aunts" section the calculation result is therefore 3+6=10:

"B. has 3 uncles and 6 aunts recorded (10 in total)."

Any idea how to resolve this issue which might occur in other sections as well?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

reteP-riS commented 3 years ago

If possible I'd replace the existing phrase

"... has 3 uncles and 6 aunts recorded (10 in total)."

with

"... has 3 uncles, 6 aunts and 1 individual with unknown sex recorded (10 in total)."

I believe this method can be applied to all sections.

hartenthaler commented 3 years ago

Yes.

hartenthaler commented 3 years ago

There are the following 4 types of combinations of M/MM=one male/many males, F/FF=one female/many females, and U/UU=one with unknown sex/many with unknown sex:

Examples for the family part "children" are:

This results in many combinations which have to be translated. And this has to be repeated for all the extended family parts. And for all languages. Sorry for the lot of work for the translators.

This feature will be part of the next release (at least in German and English).

hartenthaler commented 3 years ago

implemented in release 2.0.16.56

reteP-riS commented 3 years ago

Thanks for all the good work, Hermann! With release 2.0.16.56 I can see now the revised phrases, e. g.

Uncles and Aunts: B. has 4 uncles, 6 aunts, and 2 uncles or aunts of unknown sex recorded (12 in total).

Uncles and Aunts by marriage: B. has 2 uncles by marriage, 1 aunt by marriage, and 1 uncle or aunt by marriage of unknown sex recorded (4 in total).

The first one for Uncles and Aunts translates well into German, but the second one for Uncles and Aunts by marriage doesn't translate into German at all.

I understand the creation of these phrases is rather complex and translation even more so. Thanks again!

hartenthaler commented 3 years ago

Oh! Just before I released the new version I merged a pull request with dutch translations. On this step, I lost the last translations I had made before. Sorry! Will be fixed in the next release.

hartenthaler commented 3 years ago

now they are part of release 2.0.16.57

reteP-riS commented 3 years ago

Thank you, Hermann!

One more request (sorry, I should have mentioned that earlier): would it be possible to put a thin dashed border around the box of an individual with unknown sex like the one on the facts and events tab (in the webtrees default theme).

hartenthaler commented 3 years ago

... just added a line in the css file. Will be fixed in the next release.