Skip to content

Commit

Permalink
fix(i18n): add successful document restoration string
Browse files Browse the repository at this point in the history
  • Loading branch information
juice49 committed Feb 23, 2024
1 parent 2dcba15 commit ea63adc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/sanity/src/structure/i18n/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,9 @@ const structureLocaleStrings = defineLocalesResources('structure', {
/** The text when a publish operation succeeded */
'panes.document-operation-results.operation-success_publish':
'<Strong>{{title}}</Strong> was published',
/** The text when a restore operation succeeded */
'panes.document-operation-results.operation-success_restore':
'<Strong>{{title}}</Strong> was restored',
/** The text when an unpublish operation succeeded */
'panes.document-operation-results.operation-success_unpublish':
'<Strong>{{title}}</Strong> was unpublished. A draft has been created from the latest published version.',
Expand Down

0 comments on commit ea63adc

Please sign in to comment.