Skip to content

Commit

Permalink
fix: bring back old Roles copy
Browse files Browse the repository at this point in the history
  • Loading branch information
drewlyton committed Sep 27, 2024
1 parent f09b0dc commit 01f08a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/sanity/src/structure/i18n/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,16 +104,16 @@ const structureLocaleStrings = defineLocalesResources('structure', {
'The type <strong>{{schemaType}}</strong> has <code>liveEdit</code> enabled, but a draft version of this document exists. Publish or discard the draft in order to continue live editing it.',
/** The text for the permission check banner if the user only has one role, and it does not allow updating this document */
'banners.permission-check-banner.missing-permission_create_one':
"You don't have permission to publish this document.",
'Your role <Roles/> does not have permissions to publish this document.',
/** The text for the permission check banner if the user only has multiple roles, but they do not allow updating this document */
'banners.permission-check-banner.missing-permission_create_other':
"You don't have permission to publish this document.",
'Your roles <Roles/> do not have permissions to publish this document.',
/** The text for the permission check banner if the user only has one role, and it does not allow updating this document */
'banners.permission-check-banner.missing-permission_update_one':
"You don't have permission to edit this document.",
'Your role <Roles/> does not have permissions to edit this document.',
/** The text for the permission check banner if the user only has multiple roles, but they do not allow updating this document */
'banners.permission-check-banner.missing-permission_update_other':
"You don't have permission to edit this document.",
'Your roles <Roles/> do not have permissions to publish this document.',
/** The text for the request permission button that appears for viewer roles */
'banners.permission-check-banner.request-permission-button.text': 'Ask to edit',
/** The text for the reload button */
Expand Down

0 comments on commit 01f08a3

Please sign in to comment.