From 3bbe5538327c102006a0764f11ad8c07e4771650 Mon Sep 17 00:00:00 2001 From: Gleidson Daniel Silva Date: Mon, 28 Aug 2023 17:39:07 -0300 Subject: [PATCH] chore: update channel teams action label (#5183) * update label * Update en.json --- app/i18n/locales/en.json | 6 +++--- app/i18n/locales/pt-BR.json | 3 ++- app/views/RoomActionsView/index.tsx | 2 +- app/views/TeamChannelsView.tsx | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/app/i18n/locales/en.json b/app/i18n/locales/en.json index abb506c05..5ffb7fa25 100644 --- a/app/i18n/locales/en.json +++ b/app/i18n/locales/en.json @@ -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" -} \ No newline at end of file + "Message_has_been_shared":"Message has been shared", + "No_channels_in_team": "No Channels on this team" +} diff --git a/app/i18n/locales/pt-BR.json b/app/i18n/locales/pt-BR.json index 28c5dc888..1da523840 100644 --- a/app/i18n/locales/pt-BR.json +++ b/app/i18n/locales/pt-BR.json @@ -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" } \ No newline at end of file diff --git a/app/views/RoomActionsView/index.tsx b/app/views/RoomActionsView/index.tsx index 85d5eba94..53461183d 100644 --- a/app/views/RoomActionsView/index.tsx +++ b/app/views/RoomActionsView/index.tsx @@ -1109,7 +1109,7 @@ class RoomActionsView extends React.Component { logEvent(events.ROOM_GO_TEAM_CHANNELS); if (isMasterDetail) { diff --git a/app/views/TeamChannelsView.tsx b/app/views/TeamChannelsView.tsx index a3c81943b..68eae9e5a 100644 --- a/app/views/TeamChannelsView.tsx +++ b/app/views/TeamChannelsView.tsx @@ -520,10 +520,10 @@ class TeamChannelsView extends React.Component; } if (isSearching && !search.length) { - return ; + return ; } if (!isSearching && !data.length) { - return ; + return ; } return (