increase publish name initalien two

This commit is contained in:
einhornimmond 2024-09-24 10:43:55 +02:00
parent db13f92f13
commit e49cfa883b
3 changed files with 15 additions and 15 deletions

View File

@ -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 ''

View File

@ -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"
},

View File

@ -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.",