Skip to content

Commit

Permalink
fix: updates to translations after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrobonamin committed Feb 6, 2024
1 parent 4ef1370 commit 83f6506
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion packages/sanity/src/structure/comments/i18n/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const commentsLocaleStrings = defineLocalesResources('comments', {
/** When composing a reply, the placeholder text shown when the input is empty */
'compose.reply-placeholder': 'Reply',
/** When composing a reply, the placeholder text shown when the input is empty and the mode is upsell */
'compose.reply-placeholder-upsell': 'Reply',
'compose.reply-placeholder-upsell': 'Upgrade to reply',
/** When composing a comment, the aria label for the button to send a comment */
'compose.send-comment-aria-label': 'Send comment',
/** When composing a comment, the tooltip text for the button to send a comment */
Expand Down Expand Up @@ -181,6 +181,8 @@ const commentsLocaleStrings = defineLocalesResources('comments', {
'status-filter.status-resolved': 'Resolved',
/** Status filter: The full text for describing filtering on resolved comments */
'status-filter.status-resolved-full': 'Resolved comments',
/** Status filter: The full text for describing filtering on resolved comments and is upsell mode */
'status-filter.status-resolved-full-upsell': 'Upgrade to see resolved comments',
})

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ export const CommentsInspectorHeader = forwardRef(function CommentsInspectorHead
onClick={handleSetResolvedView}
text={t('status-filter.status-resolved-full')}
tooltipProps={
mode === 'upsell' ? {content: 'Upgrade to see resolved comments'} : undefined
mode === 'upsell'
? {content: t('status-filter.status-resolved-full-upsell')}
: undefined
}
disabled={mode === 'upsell'}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export function CommentsListItemContextMenu(props: CommentsListItemContextMenuPr
onClick={onEditStart}
text={t('list-item.edit-comment')}
tooltipProps={
mode === 'upsell' ? {content: t('list-item-edit-comment-upsell')} : undefined
mode === 'upsell' ? {content: t('list-item.edit-comment-upsell')} : undefined
}
disabled={mode === 'upsell'}
/>
Expand Down

0 comments on commit 83f6506

Please sign in to comment.