Skip to content

Commit

Permalink
Merge pull request #47808 from nextcloud/rakekniven-patch-2
Browse files Browse the repository at this point in the history
chore(i18n): Spelling of ID
  • Loading branch information
susnux authored Sep 7, 2024
2 parents 68a37b0 + b877481 commit 1c52bd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/private/Share20/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ public function updateShare(IShare $share) {
try {
$originalShare = $this->getShareById($share->getFullId());
} catch (\UnexpectedValueException $e) {
throw new \InvalidArgumentException($this->l->t('Share does not have a full id'));
throw new \InvalidArgumentException($this->l->t('Share does not have a full ID'));
}

// We cannot change the share type!
Expand Down Expand Up @@ -1021,7 +1021,7 @@ public function deleteShare(IShare $share) {
try {
$share->getFullId();
} catch (\UnexpectedValueException $e) {
throw new \InvalidArgumentException($this->l->t('Share does not have a full id'));
throw new \InvalidArgumentException($this->l->t('Share does not have a full ID'));
}

$this->dispatcher->dispatchTyped(new BeforeShareDeletedEvent($share));
Expand Down

0 comments on commit 1c52bd7

Please sign in to comment.