Fix contacts relationships field is confusing

Fixed by changing the heading to `Related people` because the field is
 between a contact and another person, not between the contact book
 owner and the contact

Close #8681
This commit is contained in:
bir 2025-10-13 15:52:36 +02:00 committed by paw
parent b5338bdf80
commit b1133a83b3
6 changed files with 2141 additions and 2137 deletions

View file

@ -2108,3 +2108,4 @@ export type TranslationKeyType =
| "zoomIn_action"
| "zoomOut_action"
| "emptyString_msg"
| "relatedPeople_label"

View file

@ -243,7 +243,7 @@ export class ContactEditor {
]),
]),
m(".relationship.mt-xl", [
m(".h4", lang.get("relationships_label")),
m(".h4", lang.get("relatedPeople_label")),
m(".aggregateEditors", [
this.relationships.map(([relationship, id], index) => {
const lastEditor = index === lastIndex(this.relationships)

View file

@ -289,7 +289,7 @@ export class ContactViewer implements ClassComponent<ContactViewerAttrs> {
m(".dates.mt-l", dates.length > 0 ? [m(".h4", lang.get("dates_label")), m(".aggregateEditors", dates)] : null),
m(
".relationships.mt-l",
relationships.length > 0 ? [m(".h4", lang.get("relationships_label")), m(".aggregateEditors", relationships)] : null,
relationships.length > 0 ? [m(".h4", lang.get("relatedPeople_label")), m(".aggregateEditors", relationships)] : null,
),
])
: null

View file

@ -2132,6 +2132,7 @@ export default {
"yourMessage_label": "Deine Nachricht",
"you_label": "Du",
"zoomIn_action": "Hereinzoomen",
"zoomOut_action": "Herauszoomen"
"zoomOut_action": "Herauszoomen",
"relatedPeople_label": "Related people"
}
}

View file

@ -2132,6 +2132,7 @@ export default {
"yourMessage_label": "Ihre Nachricht",
"you_label": "Sie",
"zoomIn_action": "Hereinzoomen",
"zoomOut_action": "Herauszoomen"
"zoomOut_action": "Herauszoomen",
"relatedPeople_label": "Related people"
}
}

View file

@ -2128,6 +2128,7 @@ export default {
"yourMessage_label": "Your message",
"you_label": "You",
"zoomIn_action": "Zoom In",
"zoomOut_action": "Zoom Out"
"zoomOut_action": "Zoom Out",
"relatedPeople_label": "Related people"
}
}