Merge pull request #26784 from nextcloud/Valdnet-patch-8
l10n: Change to a capital letter
This commit is contained in:
commit
48f05158e5
|
@ -477,7 +477,7 @@ class ShareAPIController extends OCSController {
|
|||
}
|
||||
|
||||
if ($permissions < 0 || $permissions > Constants::PERMISSION_ALL) {
|
||||
throw new OCSNotFoundException($this->l->t('invalid permissions'));
|
||||
throw new OCSNotFoundException($this->l->t('Invalid permissions'));
|
||||
}
|
||||
|
||||
// Shares always require read permissions
|
||||
|
|
|
@ -1602,7 +1602,7 @@ class ShareAPIControllerTest extends TestCase {
|
|||
|
||||
public function testCreateShareInvalidPermissions() {
|
||||
$this->expectException(\OCP\AppFramework\OCS\OCSNotFoundException::class);
|
||||
$this->expectExceptionMessage('invalid permissions');
|
||||
$this->expectExceptionMessage('Invalid permissions');
|
||||
|
||||
$share = $this->newShare();
|
||||
$this->shareManager->method('newShare')->willReturn($share);
|
||||
|
|
Loading…
Reference in New Issue