Skip to content

Commit

Permalink
chore(comments): improve i18n resource for comment contexts (#5731)
Browse files Browse the repository at this point in the history
  • Loading branch information
rdunk authored and rexxars committed Feb 14, 2024
1 parent 12fb96b commit ce560b0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/sanity/src/structure/comments/i18n/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ const commentsLocaleStrings = defineLocalesResources('comments', {
'list-item.edit-comment-upsell': 'Upgrade to edit comment',
/** Aria label for the button that takes you to the field, which wraps a thread/comment */
'list-item.go-to-field-button.aria-label': 'Go to field',
/** The text showing the comment context */
/**
* The text shown below the author and timestamp of a comment including a link back to the context in which the comment was made.
* Consists of a document title wrapped in a link, and a word or phrase to indicate that the link refers to a location:
* eg "on Home", "on Coffee Machine | Products", "on Pricing – Sanity"
*/
'list-item.layout-context': 'on <IntentLink>{{title}}</IntentLink>',
/** The marker to indicate that a comment has been edited in brackets */
'list-item.layout-edited': 'edited',
Expand Down

0 comments on commit ce560b0

Please sign in to comment.