mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Merge pull request #500 from owncloud/fix-typo
fix plural typo and grammar fix
This commit is contained in:
commit
91745f5278
@ -166,7 +166,7 @@ class Addressbook extends AbstractPIMCollection {
|
||||
//\OCP\Util::writeLog('contacts', __METHOD__.' id: '.$id, \OCP\Util::DEBUG);
|
||||
if (!$this->hasPermission(\OCP\PERMISSION_READ)) {
|
||||
throw new \Exception(
|
||||
self::$l10n->t('You do not have permissions to see this contacts'),
|
||||
self::$l10n->t('You do not have permissions to see this contact'),
|
||||
Http::STATUS_FORBIDDEN
|
||||
);
|
||||
}
|
||||
|
@ -296,7 +296,7 @@ class Contact extends VObject\VCard implements IPIMObject {
|
||||
}
|
||||
} else {
|
||||
if (!$this->getBackend()->hasContactMethodFor(\OCP\PERMISSION_CREATE)) {
|
||||
throw new \Exception(self::$l10n->t('This backend not support adding contacts'), 501);
|
||||
throw new \Exception(self::$l10n->t('This backend does not support adding contacts'), 501);
|
||||
}
|
||||
$this->props['id'] = $this->getBackend()->createContact(
|
||||
$this->getParent()->getId(), $this
|
||||
|
Loading…
x
Reference in New Issue
Block a user