Skip to content

Commit

Permalink
Merge branch '4.x' of https://github.com/craftcms/cms into 5.x
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Dec 27, 2024
2 parents 5052a30 + 7c8f1bd commit 8959569
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 @@ -558,7 +558,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 @@ -571,7 +571,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 @@ -651,7 +651,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 8959569

Please sign in to comment.