Changes after rebase
This commit is contained in:
parent
067d72ec85
commit
b4e332ccdc
3 changed files with 10 additions and 7 deletions
|
@ -33,6 +33,7 @@ General
|
||||||
--------
|
--------
|
||||||
* y - for you
|
* y - for you
|
||||||
* f - followers
|
* f - followers
|
||||||
|
* r - sharers of sharers
|
||||||
* h - what's hot
|
* h - what's hot
|
||||||
* i - Images
|
* i - Images
|
||||||
* v - Videos
|
* v - Videos
|
||||||
|
|
|
@ -29,13 +29,14 @@ namespace Friendica\Content\Conversation\Entity;
|
||||||
*/
|
*/
|
||||||
final class Channel extends \Friendica\BaseEntity
|
final class Channel extends \Friendica\BaseEntity
|
||||||
{
|
{
|
||||||
const WHATSHOT = 'whatshot';
|
const WHATSHOT = 'whatshot';
|
||||||
const FORYOU = 'foryou';
|
const FORYOU = 'foryou';
|
||||||
const FOLLOWERS = 'followers';
|
const FOLLOWERS = 'followers';
|
||||||
const IMAGE = 'image';
|
const SHARERSOFSHARERS = 'sharersofsharers';
|
||||||
const VIDEO = 'video';
|
const IMAGE = 'image';
|
||||||
const AUDIO = 'audio';
|
const VIDEO = 'video';
|
||||||
const LANGUAGE = 'language';
|
const AUDIO = 'audio';
|
||||||
|
const LANGUAGE = 'language';
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
protected $code;
|
protected $code;
|
||||||
|
|
|
@ -55,6 +55,7 @@ final class Channel extends \Friendica\BaseModel
|
||||||
new ChannelEntity(ChannelEntity::WHATSHOT, $this->l10n->t('What\'s Hot'), $this->l10n->t('Posts with a lot of interactions'), 'h'),
|
new ChannelEntity(ChannelEntity::WHATSHOT, $this->l10n->t('What\'s Hot'), $this->l10n->t('Posts with a lot of interactions'), 'h'),
|
||||||
new ChannelEntity(ChannelEntity::LANGUAGE, $languages[$language], $this->l10n->t('Posts in %s', $languages[$language]), 'g'),
|
new ChannelEntity(ChannelEntity::LANGUAGE, $languages[$language], $this->l10n->t('Posts in %s', $languages[$language]), 'g'),
|
||||||
new ChannelEntity(ChannelEntity::FOLLOWERS, $this->l10n->t('Followers'), $this->l10n->t('Posts from your followers that you don\'t follow'), 'f'),
|
new ChannelEntity(ChannelEntity::FOLLOWERS, $this->l10n->t('Followers'), $this->l10n->t('Posts from your followers that you don\'t follow'), 'f'),
|
||||||
|
new ChannelEntity(ChannelEntity::SHARERSOFSHARERS, $this->l10n->t('Sharers of sharers'), $this->l10n->t('Posts from accounts that are followed by accounts that you follow'), 'r'),
|
||||||
new ChannelEntity(ChannelEntity::IMAGE, $this->l10n->t('Images'), $this->l10n->t('Posts with images'), 'i'),
|
new ChannelEntity(ChannelEntity::IMAGE, $this->l10n->t('Images'), $this->l10n->t('Posts with images'), 'i'),
|
||||||
new ChannelEntity(ChannelEntity::AUDIO, $this->l10n->t('Audio'), $this->l10n->t('Posts with audio'), 'd'),
|
new ChannelEntity(ChannelEntity::AUDIO, $this->l10n->t('Audio'), $this->l10n->t('Posts with audio'), 'd'),
|
||||||
new ChannelEntity(ChannelEntity::VIDEO, $this->l10n->t('Videos'), $this->l10n->t('Posts with videos'), 'v'),
|
new ChannelEntity(ChannelEntity::VIDEO, $this->l10n->t('Videos'), $this->l10n->t('Posts with videos'), 'v'),
|
||||||
|
|
Loading…
Reference in a new issue