diff --git a/backend/src/data/PublishName.logic.ts b/backend/src/data/PublishName.logic.ts index e307a74d0..5e3e0e501 100644 --- a/backend/src/data/PublishName.logic.ts +++ b/backend/src/data/PublishName.logic.ts @@ -22,13 +22,13 @@ export class PublishNameLogic { return this.user.firstName } if (PublishNameType.PUBLISH_NAME_INITIALS === publishNameType) { - return this.user.firstName.substring(0, 1) + return this.user.firstName.substring(0, 2) } if (PublishNameType.PUBLISH_NAME_ALIAS_OR_INITALS === publishNameType) { if (this.user.alias) { return this.user.alias } else { - return this.user.firstName.substring(0, 1) + return this.user.firstName.substring(0, 2) } } return '' @@ -48,12 +48,12 @@ export class PublishNameLogic { publishNameType, ) ) { - return this.user.lastName.substring(0, 1) + return this.user.lastName.substring(0, 2) } else if ( PublishNameType.PUBLISH_NAME_ALIAS_OR_INITALS === publishNameType && !this.user.alias ) { - return this.user.lastName.substring(0, 1) + return this.user.lastName.substring(0, 2) } return '' diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json index e04778830..a4662bdb5 100644 --- a/frontend/src/locales/de.json +++ b/frontend/src/locales/de.json @@ -376,13 +376,13 @@ }, "publish-name": { "alias-or-initials": "Benutzername oder Initialen", - "alias-or-initials-tooltip": "Benutzername, falls vorhanden, oder die Initialen von Vorname und Nachname", + "alias-or-initials-tooltip": "Benutzername, falls vorhanden, oder die Initialen von Vorname und Nachname jeweils die ersten zwei Buchstaben", "first": "Vorname", "first-tooltip": "Nur der Vornamen", "first-initial": "Vorname und Initial", - "first-initial-tooltip": "Vornamen plus Anfangsbuchstabe des Nachnamens", + "first-initial-tooltip": "Vornamen plus die ersten beiden Anfangsbuchstabe des Nachnamens", "initials": "Initialen", - "initials-tooltip": "Initialen von Vor- und Nachname unabhängig von der Existenz des Benutzernamens", + "initials-tooltip": "Initialen von Vor- und Nachname also jeweils die ersten zwei Buchstaben unabhängig von der Existenz des Benutzernamens", "name-full": "Vorname und Nachname", "name-full-tooltip": "Vollständiger Name: Vorname plus Nachname" }, diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json index 2aceda935..e28fe4c9f 100644 --- a/frontend/src/locales/en.json +++ b/frontend/src/locales/en.json @@ -376,15 +376,15 @@ }, "publish-name": { "alias-or-initials": "Username or initials (Default)", - "alias-or-initials-tooltip": "username if exists or Initials of firstname and lastname", - "first": "firstname", - "first-tooltip": "the firstname only", - "first-initial": "firstname and initial", - "first-initial-tooltip": "firstname plus initial of lastname", + "alias-or-initials-tooltip": "username, if available, or the initials of the first name and last name, the first two letters in each case", + "first": "Firstname", + "first-tooltip": "the first name only", + "first-initial": "First name and initial", + "first-initial-tooltip": "first name plus the first two initial letters of the last name", "initials": "Initials", - "initials-tooltip": "Initials of firstname and lastname independent if username exists", - "name-full": "firstname and lastname", - "name-full-tooltip": "fullname: firstname plus lastname" + "initials-tooltip": "Initials of first name and last name, i.e. the first two letters of each regardless of the existence of the user name", + "name-full": "first name and last name", + "name-full-tooltip": "full name: first name plus last name" }, "showAmountGDD": "Your GDD amount is visible.", "showAmountGDT": "Your GDT amount is visible.",