Skip to content

Commit

Permalink
Merge pull request #37175 from nextcloud/rakekniven-patch-1
Browse files Browse the repository at this point in the history
fix(l10n): Fixed grammar
  • Loading branch information
szaimen committed Apr 18, 2023
2 parents 1a25537 + 07f9546 commit 885d7e2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apps/admin_audit/lib/Actions/Sharing.php
Expand Up @@ -162,7 +162,7 @@ public function shared(array $params): void {
);
} elseif ($params['shareType'] === IShare::TYPE_SCIENCEMESH) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the sciencemesh user "%s" with permissions "%s" (Share ID: %s)',
'The %s "%s" with ID "%s" has been shared to the ScienceMesh user "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
Expand Down Expand Up @@ -291,7 +291,7 @@ public function unshare(array $params): void {
);
} elseif ($params['shareType'] === IShare::TYPE_SCIENCEMESH) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the sciencemesh user "%s" (Share ID: %s)',
'The %s "%s" with ID "%s" has been unshared from the ScienceMesh user "%s" (Share ID: %s)',
$params,
[
'itemType',
Expand Down
2 changes: 1 addition & 1 deletion apps/files_sharing/lib/Controller/ShareAPIController.php
Expand Up @@ -704,7 +704,7 @@ public function createShare(
try {
$this->getSciencemeshShareHelper()->createShare($share, $shareWith, $permissions, $expireDate);
} catch (QueryException $e) {
throw new OCSForbiddenException($this->l->t('Sharing %s failed because the back end does not support sciencemesh shares', [$node->getPath()]));
throw new OCSForbiddenException($this->l->t('Sharing %s failed because the back end does not support ScienceMesh shares', [$node->getPath()]));
}
} else {
throw new OCSBadRequestException($this->l->t('Unknown share type'));
Expand Down
2 changes: 1 addition & 1 deletion apps/files_sharing/src/components/SharingInput.vue
Expand Up @@ -424,7 +424,7 @@ export default {
case this.SHARE_TYPES.SHARE_TYPE_SCIENCEMESH:
return {
icon: 'icon-sciencemesh',
iconTitle: t('files_sharing', 'Science Mesh'),
iconTitle: t('files_sharing', 'ScienceMesh'),
}
default:
return {}
Expand Down
4 changes: 2 additions & 2 deletions dist/files_sharing-files_sharing_tab.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/files_sharing-files_sharing_tab.js.map

Large diffs are not rendered by default.

0 comments on commit 885d7e2

Please sign in to comment.