Skip to content

Commit

Permalink
Update TransferGuestDialog.vue
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Herbinet <[email protected]>
  • Loading branch information
Jerome-Herbinet authored Aug 19, 2024
1 parent 153fb85 commit 352721e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/TransferGuestDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
-->

<template>
<NcDialog :name="t('guests', 'Transfer guest to new account')"
<NcDialog :name="t('guests', 'Convert guest to regular account')"
:out-transition="true"
size="small"
@closing="cancel">
Expand Down Expand Up @@ -40,9 +40,9 @@
:disabled="loading || message"
native-type="submit">
<template v-if="loading" #icon>
<NcLoadingIcon :name="t('guests', 'Transferring guest…')" />
<NcLoadingIcon :name="t('guests', 'Converting guest…')" />
</template>
{{ t('guests', 'Transfer') }}
{{ t('guests', 'Convert') }}
</NcButton>
</template>
</NcDialog>
Expand All @@ -68,14 +68,14 @@ import { logger } from '../services/logger.ts'

const generateMessage = ({ source, target, status }: { source: string, target: string, status: 'waiting' | 'started' }) => {
const matchStatus = {
waiting: t('guests', 'Transfer of guest {strongStart}{guest}{strongEnd} to {strongStart}{user}{strongEnd} is pending', {
waiting: t('guests', 'Conversion of guest "{strongStart}{guest}{strongEnd}" account to "{strongStart}{user}{strongEnd}" regular account is pending', {
guest: source,
user: target,
strongStart: '<strong>',
strongEnd: '</strong>',
}, undefined, { escape: false, sanitize: false }),

started: t('guests', 'Transfer of guest {strongStart}{guest}{strongEnd} to {strongStart}{user}{strongEnd} has started', {
started: t('guests', 'Conversion of guest "{strongStart}{guest}{strongEnd}" account to "{strongStart}{user}{strongEnd}" regular account has started', {
guest: source,
user: target,
strongStart: '<strong>',
Expand Down

0 comments on commit 352721e

Please sign in to comment.