mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 08:16:43 -04:00
refs #26113 do not escape display name in dashboard welcome text
Signed-off-by: Julien Veyssier <eneiluj@posteo.net> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
This commit is contained in:
parent
7e446c3799
commit
5681a79bd4
3 changed files with 6 additions and 6 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -180,20 +180,20 @@ export default {
|
|||
const good = {
|
||||
morning: {
|
||||
generic: t('dashboard', 'Good morning'),
|
||||
withName: t('dashboard', 'Good morning, {name}', { name: this.displayName }),
|
||||
withName: t('dashboard', 'Good morning, {name}', { name: this.displayName }, undefined, { escape: false }),
|
||||
},
|
||||
afternoon: {
|
||||
generic: t('dashboard', 'Good afternoon'),
|
||||
withName: t('dashboard', 'Good afternoon, {name}', { name: this.displayName }),
|
||||
withName: t('dashboard', 'Good afternoon, {name}', { name: this.displayName }, undefined, { escape: false }),
|
||||
},
|
||||
evening: {
|
||||
generic: t('dashboard', 'Good evening'),
|
||||
withName: t('dashboard', 'Good evening, {name}', { name: this.displayName }),
|
||||
withName: t('dashboard', 'Good evening, {name}', { name: this.displayName }, undefined, { escape: false }),
|
||||
},
|
||||
night: {
|
||||
// Don't use "Good night" as it's not a greeting
|
||||
generic: t('dashboard', 'Hello'),
|
||||
withName: t('dashboard', 'Hello, {name}', { name: this.displayName }),
|
||||
withName: t('dashboard', 'Hello, {name}', { name: this.displayName }, undefined, { escape: false }),
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue