Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable4.2] fix: apostrophe issue #10636

Merged
merged 1 commit into from
Jan 30, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions src/components/NoMessageSelected.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@

<template>
<AppContentDetails class="app-content">
<NcEmptyContent class="app-content__empty">
<NcEmptyContent class="app-content__empty"
:name="t('mail', 'Welcome to {productName} Mail', { productName }, null, {escape: false})"
:description="t('mail', 'Start writing a message by clicking below or select an existing message to display its contents')">
<template #icon>
<IconMail :size="65" />
</template>
<template #name>
<h1 class="empty-content__name">
{{ welcomeMessage }}
</h1>
</template>
<template #action>
<NewMessageButtonHeader />
</template>
Expand All @@ -36,8 +33,8 @@ export default {
},

computed: {
welcomeMessage() {
return t('mail', 'Welcome to {cloudName} Mail', { cloudName: window?.OC?.theme?.name ?? 'Nextcloud' })
productName() {
return window?.OC?.theme?.name ?? 'Nextcloud'
},
},
}
Expand Down
Loading