Skip to content

Commit

Permalink
fix(i18n): move quotes to resource string
Browse files Browse the repository at this point in the history
  • Loading branch information
ricokahler authored and rexxars committed Nov 3, 2023
1 parent b6f880e commit 5ca2a30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function ConfirmDeleteDialogBody({
<Translate
t={t}
i18nKey="confirm-delete-dialog.confirmation.text"
components={{DocumentTitle: () => <strong>{documentTitle}</strong>}}
components={{DocumentTitle: () => <strong>{documentTitle}</strong>}}
values={{context: action}}
/>
</Text>
Expand Down
4 changes: 2 additions & 2 deletions packages/sanity/src/desk/i18n/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 <DocumentTitle/>?',
'Are you sure you want to delete <DocumentTitle/>?',
/** 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 <DocumentTitle/>?',
'Are you sure you want to unpublish <DocumentTitle/>?',

/** 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':
Expand Down

0 comments on commit 5ca2a30

Please sign in to comment.