Skip to content

Commit 9e12453

Browse files
Merge pull request #2121 from nextcloud/backport/2120/stable31
[stable31] fix: adjust source names to "Team" instead of cicles
2 parents 7625587 + 761ae7b commit 9e12453

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/AppInfo/Capabilities.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ private function getCapabilitiesCircleConstants(): array {
116116
Member::TYPE_GROUP => $this->l10n->t('Nextcloud Group'),
117117
Member::TYPE_MAIL => $this->l10n->t('Email address'),
118118
Member::TYPE_CONTACT => $this->l10n->t('Contact'),
119-
Member::TYPE_CIRCLE => $this->l10n->t('Circle'),
119+
Member::TYPE_CIRCLE => $this->l10n->t('Team'),
120120
Member::TYPE_APP => $this->l10n->t('Nextcloud App')
121121
],
122122
'extra' => [
123-
Member::APP_CIRCLES => 'Circles App',
124-
Member::APP_OCC => 'Admin Command Line'
123+
Member::APP_CIRCLES => $this->l10n->t('Teams App'),
124+
Member::APP_OCC => $this->l10n->t('Admin Command Line'),
125125
]
126126
]
127127
];

lib/Model/Circle.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class Circle extends ManagedModel implements IEntity, IDeserializable, IQueryRow
123123

124124

125125
/**
126-
* Note: When editing those values, update lib/Application/Capabilities.php
126+
* Note: When editing those values, update lib/AppInfo/Capabilities.php
127127
*
128128
* @see Capabilities::getCapabilitiesCircleConstants()
129129
* @var array
@@ -133,9 +133,9 @@ class Circle extends ManagedModel implements IEntity, IDeserializable, IQueryRow
133133
2 => 'Nextcloud Group',
134134
4 => 'Email Address',
135135
8 => 'Contact',
136-
16 => 'Circle',
136+
16 => 'Team',
137137
10000 => 'Nextcloud App',
138-
10001 => 'Circles App',
138+
10001 => 'Teams App',
139139
10002 => 'Admin Command Line',
140140
11000 => '3rd party app',
141141
11010 => 'Collectives App'

0 commit comments

Comments
 (0)