diff --git a/web/app/components/explore/sidebar/index.tsx b/web/app/components/explore/sidebar/index.tsx index c5866c31d4..6e908edf66 100644 --- a/web/app/components/explore/sidebar/index.tsx +++ b/web/app/components/explore/sidebar/index.tsx @@ -13,30 +13,7 @@ import Confirm from '@/app/components/base/confirm' import Divider from '@/app/components/base/divider' import useBreakpoints, { MediaType } from '@/hooks/use-breakpoints' import { useGetInstalledApps, useUninstallApp, useUpdateAppPinStatus } from '@/service/use-explore' - -const SelectedDiscoveryIcon = () => ( - - - -) - -const DiscoveryIcon = () => ( - - - -) - -const SelectedChatIcon = () => ( - - - -) - -const ChatIcon = () => ( - - - -) +import { RiAppsFill } from '@remixicon/react' export type IExploreSideBarProps = { controlUpdateInstalledApps: number @@ -96,17 +73,16 @@ const SideBar: FC = ({ const pinnedAppsCount = installedApps.filter(({ is_pinned }) => is_pinned).length return (
-
- - {isDiscoverySelected ? : } - {!isMobile &&
{t('explore.sidebar.discovery')}
} - -
+ +
+ +
+ {!isMobile &&
{t('explore.sidebar.title')}
} + {installedApps.length > 0 && (

{t('explore.sidebar.workspace')}

diff --git a/web/i18n/de-DE/explore.ts b/web/i18n/de-DE/explore.ts index 0578c100a0..ffae683c51 100644 --- a/web/i18n/de-DE/explore.ts +++ b/web/i18n/de-DE/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'Entdecken', sidebar: { - discovery: 'Entdeckung', chat: 'Chat', workspace: 'Arbeitsbereich', action: { diff --git a/web/i18n/en-US/explore.ts b/web/i18n/en-US/explore.ts index 6e30f1d50a..891456cb27 100644 --- a/web/i18n/en-US/explore.ts +++ b/web/i18n/en-US/explore.ts @@ -1,7 +1,7 @@ const translation = { title: 'Explore', sidebar: { - discovery: 'Discovery', + title: 'App gallery', chat: 'Chat', workspace: 'Workspace', action: { diff --git a/web/i18n/es-ES/explore.ts b/web/i18n/es-ES/explore.ts index 19cfe9ad79..5be64d982f 100644 --- a/web/i18n/es-ES/explore.ts +++ b/web/i18n/es-ES/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'Explorar', sidebar: { - discovery: 'Descubrimiento', chat: 'Chat', workspace: 'Espacio de trabajo', action: { diff --git a/web/i18n/fa-IR/explore.ts b/web/i18n/fa-IR/explore.ts index fe4bb2af57..c8c7263a59 100644 --- a/web/i18n/fa-IR/explore.ts +++ b/web/i18n/fa-IR/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'کاوش', sidebar: { - discovery: 'کشف', chat: 'چت', workspace: 'فضای کاری', action: { diff --git a/web/i18n/fr-FR/explore.ts b/web/i18n/fr-FR/explore.ts index e16e709451..9b5c120b23 100644 --- a/web/i18n/fr-FR/explore.ts +++ b/web/i18n/fr-FR/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'Explorer', sidebar: { - discovery: 'Découverte', chat: 'Discussion', workspace: 'Espace de travail', action: { diff --git a/web/i18n/hi-IN/explore.ts b/web/i18n/hi-IN/explore.ts index f3b7a550a4..5ece08c7f7 100644 --- a/web/i18n/hi-IN/explore.ts +++ b/web/i18n/hi-IN/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'अन्वेषण करें', sidebar: { - discovery: 'खोज', chat: 'चैट', workspace: 'कार्यक्षेत्र', action: { diff --git a/web/i18n/id-ID/explore.ts b/web/i18n/id-ID/explore.ts index 21f3ecff3b..075964c64b 100644 --- a/web/i18n/id-ID/explore.ts +++ b/web/i18n/id-ID/explore.ts @@ -11,7 +11,6 @@ const translation = { title: 'Hapus aplikasi', }, workspace: 'Workspace', - discovery: 'Penemuan', chat: 'Mengobrol', }, apps: { diff --git a/web/i18n/it-IT/explore.ts b/web/i18n/it-IT/explore.ts index 683fa86847..709c9b1f65 100644 --- a/web/i18n/it-IT/explore.ts +++ b/web/i18n/it-IT/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'Esplora', sidebar: { - discovery: 'Scoperta', chat: 'Chat', workspace: 'Workspace', action: { diff --git a/web/i18n/ja-JP/explore.ts b/web/i18n/ja-JP/explore.ts index d9aa8f44b1..56b84f9457 100644 --- a/web/i18n/ja-JP/explore.ts +++ b/web/i18n/ja-JP/explore.ts @@ -1,7 +1,7 @@ const translation = { title: '探索', sidebar: { - discovery: '探索', + title: 'アプリギャラリー', chat: 'チャット', workspace: 'ワークスペース', action: { diff --git a/web/i18n/ko-KR/explore.ts b/web/i18n/ko-KR/explore.ts index 1d88002019..78a4b705ca 100644 --- a/web/i18n/ko-KR/explore.ts +++ b/web/i18n/ko-KR/explore.ts @@ -1,7 +1,6 @@ const translation = { title: '탐색', sidebar: { - discovery: '탐색', chat: '채팅', workspace: '작업 공간', action: { diff --git a/web/i18n/pl-PL/explore.ts b/web/i18n/pl-PL/explore.ts index 028709950f..8fea8f76d6 100644 --- a/web/i18n/pl-PL/explore.ts +++ b/web/i18n/pl-PL/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'Odkryj', sidebar: { - discovery: 'Odkrywanie', chat: 'Czat', workspace: 'Przestrzeń robocza', action: { diff --git a/web/i18n/pt-BR/explore.ts b/web/i18n/pt-BR/explore.ts index e9bb02602f..bd80d0144c 100644 --- a/web/i18n/pt-BR/explore.ts +++ b/web/i18n/pt-BR/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'Badać', sidebar: { - discovery: 'Descoberta', chat: 'Chat', workspace: 'Espaço de Trabalho', action: { diff --git a/web/i18n/ro-RO/explore.ts b/web/i18n/ro-RO/explore.ts index f6d2794f77..40f7b1bd7a 100644 --- a/web/i18n/ro-RO/explore.ts +++ b/web/i18n/ro-RO/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'Explorați', sidebar: { - discovery: 'Descoperire', chat: 'Chat', workspace: 'Spațiu de lucru', action: { diff --git a/web/i18n/ru-RU/explore.ts b/web/i18n/ru-RU/explore.ts index f74c33577c..2278e65a31 100644 --- a/web/i18n/ru-RU/explore.ts +++ b/web/i18n/ru-RU/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'Обзор', sidebar: { - discovery: 'Открытия', chat: 'Чат', workspace: 'Рабочее пространство', action: { diff --git a/web/i18n/sl-SI/explore.ts b/web/i18n/sl-SI/explore.ts index 75a47ec6e7..4b68de7965 100644 --- a/web/i18n/sl-SI/explore.ts +++ b/web/i18n/sl-SI/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'Razišči', sidebar: { - discovery: 'Odkritja', chat: 'Klepet', workspace: 'Delovni prostor', action: { diff --git a/web/i18n/th-TH/explore.ts b/web/i18n/th-TH/explore.ts index f18e38c091..d3c8a6f3c8 100644 --- a/web/i18n/th-TH/explore.ts +++ b/web/i18n/th-TH/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'สํารวจ', sidebar: { - discovery: 'การค้นพบ', chat: 'สนทนา', workspace: 'พื้นที่', action: { diff --git a/web/i18n/tr-TR/explore.ts b/web/i18n/tr-TR/explore.ts index ab7b9ed7ef..2f06baafee 100644 --- a/web/i18n/tr-TR/explore.ts +++ b/web/i18n/tr-TR/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'Keşfet', sidebar: { - discovery: 'Keşif', chat: 'Sohbet', workspace: 'Çalışma Alanı', action: { diff --git a/web/i18n/uk-UA/explore.ts b/web/i18n/uk-UA/explore.ts index 0030c554f7..c0d5ea0d36 100644 --- a/web/i18n/uk-UA/explore.ts +++ b/web/i18n/uk-UA/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'Досліджувати', sidebar: { - discovery: 'Відкриття', chat: 'Чат', workspace: 'Робочий простір', action: { diff --git a/web/i18n/vi-VN/explore.ts b/web/i18n/vi-VN/explore.ts index 9f7770742e..2902227eca 100644 --- a/web/i18n/vi-VN/explore.ts +++ b/web/i18n/vi-VN/explore.ts @@ -1,7 +1,6 @@ const translation = { title: 'Khám phá', sidebar: { - discovery: 'Khám phá', chat: 'Trò chuyện', workspace: 'Không gian làm việc', action: { diff --git a/web/i18n/zh-Hans/explore.ts b/web/i18n/zh-Hans/explore.ts index 7b4c60298a..02f2ee9a30 100644 --- a/web/i18n/zh-Hans/explore.ts +++ b/web/i18n/zh-Hans/explore.ts @@ -1,7 +1,7 @@ const translation = { title: '探索', sidebar: { - discovery: '发现', + title: '应用库', chat: '智聊', workspace: '工作区', action: { diff --git a/web/i18n/zh-Hant/explore.ts b/web/i18n/zh-Hant/explore.ts index cdcd6afe4a..7cd5138785 100644 --- a/web/i18n/zh-Hant/explore.ts +++ b/web/i18n/zh-Hant/explore.ts @@ -1,7 +1,6 @@ const translation = { title: '探索', sidebar: { - discovery: '發現', chat: '智聊', workspace: '工作區', action: {