chore: update channel teams action label (#5183)

* update label

* Update en.json
This commit is contained in:
Gleidson Daniel Silva 2023-08-28 17:39:07 -03:00 committed by GitHub
parent 25c3f46750
commit 3bbe553832
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 7 deletions

View File

@ -555,7 +555,6 @@
"Enabled_E2E_Encryption_for_this_room": "enabled E2E encryption for this room",
"Disabled_E2E_Encryption_for_this_room": "disabled E2E encryption for this room",
"Teams": "Teams",
"No_team_channels_found": "No channels found",
"Team_not_found": "Team not found",
"Create_Team": "Create team",
"Team_Name": "Team name",
@ -744,5 +743,6 @@
"accept": "Accept",
"Incoming_call_from": "Incoming call from",
"Call_started": "Call started",
"Message_has_been_shared":"Message has been shared"
}
"Message_has_been_shared":"Message has been shared",
"No_channels_in_team": "No Channels on this team"
}

View File

@ -731,5 +731,6 @@
"Select": "Selecionar",
"Nickname": "Apelido",
"Bio": "Biografia",
"Message_has_been_shared":"Menssagem foi compartilhada"
"Message_has_been_shared":"Menssagem foi compartilhada",
"No_channels_in_team": "Nenhum canal nesta equipe"
}

View File

@ -1109,7 +1109,7 @@ class RoomActionsView extends React.Component<IRoomActionsViewProps, IRoomAction
{teamId && isTeamRoom({ teamId, joined }) ? (
<>
<List.Item
title='Teams'
title='Channels'
onPress={() => {
logEvent(events.ROOM_GO_TEAM_CHANNELS);
if (isMasterDetail) {

View File

@ -520,10 +520,10 @@ class TeamChannelsView extends React.Component<ITeamChannelsViewProps, ITeamChan
return <BackgroundContainer loading />;
}
if (isSearching && !search.length) {
return <BackgroundContainer text={searchText ? I18n.t('No_team_channels_found') : ''} />;
return <BackgroundContainer text={searchText ? I18n.t('No_channels_in_team') : ''} />;
}
if (!isSearching && !data.length) {
return <BackgroundContainer text={I18n.t('No_team_channels_found')} />;
return <BackgroundContainer text={I18n.t('No_channels_in_team')} />;
}
return (