Fix wording

This commit is contained in:
Lucas Bartholemy 2020-10-15 17:39:55 +02:00
parent 404a79b300
commit a8c60d591e

View File

@ -41,12 +41,12 @@ class CanLike extends \humhub\libs\BasePermission
/**
* @inheritdoc
*/
protected $title = 'Add Like';
protected $title;
/**
* @inheritdoc
*/
protected $description = 'Allows the user to add likes';
protected $description;
/**
* @inheritdoc
@ -57,8 +57,8 @@ class CanLike extends \humhub\libs\BasePermission
{
parent::__construct($config);
$this->title = \Yii::t('LikeModule.permissions', 'Add Like');
$this->description = \Yii::t('LikeModule.permissions', 'Allows the user to add likes');
$this->title = \Yii::t('LikeModule.permissions', 'Can like');
$this->description = \Yii::t('LikeModule.permissions', 'Allows user to like content');
}
}