Skip to content

Commit df109b5

Browse files
authored
[UK-997] String set update (#39)
1 parent c6d83ea commit df109b5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/smart-components/ChannelSettings/components/MembersAccordion.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const UserListItem = ({ member = {}, currentUser = '' }) => {
7272
{member.nickname || stringSet.NO_NAME}
7373
{
7474
(currentUser === member.userId) && (
75-
stringSet.YOU
75+
stringSet.CHANNEL_SETTING__MEMBERS__YOU
7676
)
7777
}
7878
</Label>

src/smart-components/OpenChannelSettings/components/ParticipantsAccordion.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const UserListItem = ({
8585
{member.nickname || stringSet.NO_NAME}
8686
{
8787
(currentUser === member.userId) && (
88-
stringSet.YOU
88+
stringSet.CHANNEL_SETTING__MEMBERS__YOU
8989
)
9090
}
9191
</Label>

src/ui/Label/stringSet.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const getStringSet = (lang = 'en') => {
3333
CHANNEL_SETTING__MEMBERS__TITLE: 'Members',
3434
CHANNEL_SETTING__MEMBERS__SEE_ALL_MEMBERS: 'All members',
3535
CHANNEL_SETTING__MEMBERS__INVITE_MEMBER: 'Invite users',
36+
CHANNEL_SETTING__MEMBERS__YOU: ' (You)',
3637
CHANNEL_SETTING__LEAVE_CHANNEL__TITLE: 'Leave channel',
3738
CHANNEL_SETTING__OPERATORS__TITLE: 'Operators',
3839
CHANNEL_SETTING__OPERATORS__TITLE_ALL: 'All operators',
@@ -74,7 +75,6 @@ const getStringSet = (lang = 'en') => {
7475
NO_MEMBERS: '(No members)',
7576
TOOLTIP__AND_YOU: ', and you',
7677
TOOLTIP__YOU: 'you',
77-
YOU: ' (You)',
7878
TOOLTIP__UNKNOWN_USER: '(no name)',
7979
UNKNOWN__UNKNOWN_MESSAGE_TYPE: '(Unknown message type)',
8080
UNKNOWN__CANNOT_READ_MESSAGE: 'Cannot read this message.',

0 commit comments

Comments
 (0)