mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-18 05:20:50 +01:00
Fix handling of the translation string
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
325f29ffb6
commit
15bfeed023
1 changed files with 6 additions and 3 deletions
|
|
@ -23,9 +23,7 @@
|
|||
<!-- Guest username setting form -->
|
||||
<form class="username-form"
|
||||
@submit.prevent="handleChooseUserName">
|
||||
<h3>
|
||||
{{ t('spreed', 'Display name: ') }} <strong>{{ actorDisplayName ? actorDisplayName : t('spreed', 'Guest') }}</strong>
|
||||
</h3>
|
||||
<h3 v-html="displayNameLabel" />
|
||||
<Button @click.prevent="handleEditUsername">
|
||||
{{ t('spreed', 'Edit') }}
|
||||
<template #icon>
|
||||
|
|
@ -81,6 +79,11 @@ export default {
|
|||
actorDisplayName() {
|
||||
return this.$store.getters.getDisplayName()
|
||||
},
|
||||
displayNameLabel() {
|
||||
return t('spreed', 'Display name: <strong>{name}</strong>', {
|
||||
name: this.actorDisplayName ? this.actorDisplayName : t('spreed', 'Guest'),
|
||||
})
|
||||
},
|
||||
actorId() {
|
||||
return this.$store.getters.getActorId()
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue