Skip to content

Commit

Permalink
Doh
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Dec 27, 2024
1 parent 5755af3 commit 7c8f1bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/UserPermissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ private function _entryPermissions(array &$permissions): void
'label' => StringHelper::upperCaseFirst(Craft::t('app', 'View other users’ {type}', ['type' => $pluralType])),
'nested' => [
"savePeerEntries:$section->uid" => [
'label' => StringHelper::lowercaseFirst(Craft::t('app', 'Save other users’ {type}', ['type' => $pluralType])),
'label' => StringHelper::upperCaseFirst(Craft::t('app', 'Save other users’ {type}', ['type' => $pluralType])),
],
"deletePeerEntries:$section->uid" => [
'label' => Craft::t('app', 'Delete other users’ {type}', ['type' => $pluralType]),
Expand All @@ -545,7 +545,7 @@ private function _entryPermissions(array &$permissions): void
])),
'nested' => [
"savePeerEntryDrafts:$section->uid" => [
'label' => StringHelper::lowercaseFirst(Craft::t('app', 'Save other users’ {type}', [
'label' => StringHelper::upperCaseFirst(Craft::t('app', 'Save other users’ {type}', [
'type' => Craft::t('app', 'drafts'),
])),
],
Expand Down Expand Up @@ -625,7 +625,7 @@ private function _categoryPermissions(array &$permissions): void
])),
'nested' => [
"savePeerCategoryDrafts:$group->uid" => [
'label' => StringHelper::lowercaseFirst(Craft::t('app', 'Save other users’ {type}', [
'label' => StringHelper::upperCaseFirst(Craft::t('app', 'Save other users’ {type}', [
'type' => Craft::t('app', 'drafts'),
])),
],
Expand Down

0 comments on commit 7c8f1bd

Please sign in to comment.