-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
provide gender field #214
provide gender field #214
Conversation
most common fields according to https://tools.ietf.org/html/rfc6350#section-6.2.7. from my issue nextcloud#108 additonally template "select" needs to be added. sorry for any mistakes, i am new here
new template for gender field
Codecov Report
@@ Coverage Diff @@
## master #214 +/- ##
=========================================
- Coverage 15.58% 14.38% -1.2%
=========================================
Files 52 55 +3
Lines 1142 1251 +109
=========================================
+ Hits 178 180 +2
- Misses 964 1071 +107
Continue to review full report at Codecov.
|
Well ... Do you have some example clients who render the gender in your vCard? Especially the non-male/female part 🤔 ... I think we should replace this with something like "other" or whatever those CardDAV-clients do ;) |
when i download it in nextcloud it gives this file: a94d959f-a9e9-4d18-b887-4664370e4eda-4.vcf.txt According to https://tools.ietf.org/html/rfc6350#section-6.2.7 that seem to be right. |
new template for gender field more changes
# Conflicts: # templates/detailItems/select.html
l10n/de_DE.js
Outdated
"Gender" : "Geschlecht", | ||
"Male" : "männlich", | ||
"Female" : "weiblich", | ||
"intersex" : "intersexuell" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Translations are handled over Transifex 🙈
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks. do i understand this right? I don't need to take care of translation? Your server is doing the scanning of new labels, pushes it to transifex, your crew will translate it and pushes it to github? All automatically? Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hirschrobert That's correct - you just have to add "t('contacts', ...)" in the code and the rest is handled automatically.
No, don't delete the files, delete the edit from the commit :) |
Female |
Male None/Unknown can be done by simply not adding this gender-field. Discussed with @hirschrobert |
Signed-off-by: Marius Blüm <marius@lineone.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙈
thanks @nickvergessen 😜 |
Thanks for contributing 🙈 |
tried to contribute to my issue #108 . If you could have a look at it. am new here and hope it is the right track. many thanks