From 5ca2a306b76ac05c8f77925cf2b379861c4c3557 Mon Sep 17 00:00:00 2001 From: Rico Kahler Date: Fri, 3 Nov 2023 08:24:01 -0500 Subject: [PATCH] fix(i18n): move quotes to resource string --- .../confirmDeleteDialog/ConfirmDeleteDialogBody.tsx | 2 +- packages/sanity/src/desk/i18n/resources.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/sanity/src/desk/components/confirmDeleteDialog/ConfirmDeleteDialogBody.tsx b/packages/sanity/src/desk/components/confirmDeleteDialog/ConfirmDeleteDialogBody.tsx index d5599376e19..d29a00f50db 100644 --- a/packages/sanity/src/desk/components/confirmDeleteDialog/ConfirmDeleteDialogBody.tsx +++ b/packages/sanity/src/desk/components/confirmDeleteDialog/ConfirmDeleteDialogBody.tsx @@ -75,7 +75,7 @@ export function ConfirmDeleteDialogBody({ “{documentTitle}”}} + components={{DocumentTitle: () => {documentTitle}}} values={{context: action}} /> diff --git a/packages/sanity/src/desk/i18n/resources.ts b/packages/sanity/src/desk/i18n/resources.ts index 1b2386447e4..c571b61dfde 100644 --- a/packages/sanity/src/desk/i18n/resources.ts +++ b/packages/sanity/src/desk/i18n/resources.ts @@ -384,10 +384,10 @@ const deskLocaleStrings = { /** If no referring documents are found, this text appears above the cancel and confirmation buttons */ 'confirm-delete-dialog.confirmation.text_delete': - 'Are you sure you want to delete ?', + 'Are you sure you want to delete “”?', /** If no referring documents are found, this text appears above the cancel and confirmation buttons */ 'confirm-delete-dialog.confirmation.text_unpublish': - 'Are you sure you want to unpublish ?', + 'Are you sure you want to unpublish ““?', /** Tells the user the count of how many other referring documents there are before listing them. (singular) */ 'confirm-delete-dialog.referring-document-count.text_one':