diff --git a/packages/widgets/src/SharingDialog/SharingDialog.js b/packages/widgets/src/SharingDialog/SharingDialog.js index 3daaa5e468..607320bd53 100644 --- a/packages/widgets/src/SharingDialog/SharingDialog.js +++ b/packages/widgets/src/SharingDialog/SharingDialog.js @@ -250,8 +250,9 @@ export const SharingDialog = ({ return ( - {i18n.t('Sharing & Access') + - (sharingSettings.name ? `: ${sharingSettings.name}` : '')} + {sharingSettings.name + ? i18n.t('Sharing & Access: {{name}}', sharingSettings) + : i18n.t('Sharing & Access')}