Parcourir la source

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>
tags/v23.0.0beta1
Julien Veyssier il y a 2 ans
Parent
révision
984f3903f5

+ 2
- 2
apps/dashboard/js/dashboard.js
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 1
- 1
apps/dashboard/js/dashboard.js.map
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


+ 4
- 4
apps/dashboard/src/App.vue Voir le fichier

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


Chargement…
Annuler
Enregistrer