@lobehub/chat 0.162.22 → 0.162.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +52 -0
- package/locales/ar/common.json +28 -1
- package/locales/bg-BG/common.json +28 -1
- package/locales/de-DE/common.json +28 -1
- package/locales/en-US/common.json +28 -1
- package/locales/es-ES/common.json +28 -1
- package/locales/fr-FR/common.json +28 -1
- package/locales/it-IT/common.json +28 -1
- package/locales/ja-JP/common.json +28 -1
- package/locales/ko-KR/common.json +28 -1
- package/locales/nl-NL/common.json +28 -1
- package/locales/pl-PL/common.json +28 -1
- package/locales/pt-BR/common.json +28 -1
- package/locales/ru-RU/common.json +28 -1
- package/locales/tr-TR/common.json +28 -1
- package/locales/vi-VN/common.json +28 -1
- package/locales/zh-CN/common.json +28 -1
- package/locales/zh-TW/common.json +28 -1
- package/package.json +1 -1
- package/src/app/(main)/settings/@category/default.tsx +1 -2
- package/src/app/(main)/settings/_layout/Desktop/index.tsx +4 -1
- package/src/app/(main)/settings/_layout/Mobile/index.tsx +7 -1
- package/src/app/(main)/settings/about/features/AboutList.tsx +13 -120
- package/src/app/(main)/settings/about/features/Analytics.tsx +1 -1
- package/src/app/(main)/settings/about/features/ItemCard.tsx +45 -0
- package/src/app/(main)/settings/about/features/ItemLink.tsx +32 -0
- package/src/app/(main)/settings/about/features/Version.tsx +75 -0
- package/src/app/(main)/settings/about/index.tsx +118 -25
- package/src/app/(main)/settings/features/Footer.tsx +80 -10
- package/src/app/(main)/settings/llm/components/Footer.tsx +14 -5
- package/src/app/(main)/settings/llm/index.tsx +3 -0
- package/src/app/(main)/settings/system-agent/page.tsx +11 -11
- package/src/app/@modal/_layout/SettingModalLayout.tsx +4 -2
- package/src/components/GuideModal/index.tsx +77 -0
- package/src/components/GuideVideo/index.tsx +30 -0
- package/src/config/modelProviders/ollama.ts +33 -7
- package/src/config/modelProviders/qwen.ts +30 -7
- package/src/config/modelProviders/zhipu.ts +36 -9
- package/src/const/url.ts +6 -1
- package/src/features/Conversation/Error/OllamaBizError/SetupGuide.tsx +177 -173
- package/src/features/Conversation/Error/style.tsx +56 -31
- package/src/features/User/UserPanel/useMenu.tsx +2 -2
- package/src/locales/default/common.ts +27 -2
- package/src/services/ollama.ts +2 -2
- package/src/app/(main)/settings/about/features/Item.tsx +0 -50
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"cancel": "Anuluj",
|
|
10
10
|
"changelog": "Dziennik zmian",
|
|
11
11
|
"close": "Zamknij",
|
|
12
|
+
"contact": "Skontaktuj się z nami",
|
|
12
13
|
"copy": "Kopiuj",
|
|
13
14
|
"copyFail": "Nie udało się skopiować",
|
|
14
15
|
"copySuccess": "Skopiowano pomyślnie",
|
|
@@ -35,6 +36,25 @@
|
|
|
35
36
|
},
|
|
36
37
|
"feedback": "Opinie i sugestie",
|
|
37
38
|
"follow": "Zaobserwuj nas na {{name}}",
|
|
39
|
+
"footer": {
|
|
40
|
+
"action": {
|
|
41
|
+
"feedback": "Podziel się swoją cenną opinią",
|
|
42
|
+
"star": "Dodaj gwiazdkę na GitHubie"
|
|
43
|
+
},
|
|
44
|
+
"and": "i",
|
|
45
|
+
"feedback": {
|
|
46
|
+
"action": "Podziel się opinią",
|
|
47
|
+
"desc": "Każdy twój pomysł i sugestia są dla nas bezcenne, nie możemy się doczekać, aby poznać twoją opinię! Skontaktuj się z nami, aby podzielić się opinią na temat funkcji produktu i doświadczeń z jego użytkowania, pomóż nam ulepszyć LobeChat.",
|
|
48
|
+
"title": "Podziel się swoją cenną opinią na GitHubie"
|
|
49
|
+
},
|
|
50
|
+
"later": "Później",
|
|
51
|
+
"star": {
|
|
52
|
+
"action": "Dodaj gwiazdkę",
|
|
53
|
+
"desc": "Jeśli podoba ci się nasz produkt i chcesz nas wesprzeć, czy mógłbyś dodać gwiazdkę na GitHubie? To małe działanie ma ogromne znaczenie dla nas i motywuje nas do ciągłego zapewniania ci wyjątkowego doświadczenia.",
|
|
54
|
+
"title": "Dodaj gwiazdkę na GitHubie"
|
|
55
|
+
},
|
|
56
|
+
"title": "Podoba ci się nasz produkt?"
|
|
57
|
+
},
|
|
38
58
|
"fullscreen": "Tryb pełnoekranowy",
|
|
39
59
|
"historyRange": "Zakres historii",
|
|
40
60
|
"import": "Importuj ustawienia",
|
|
@@ -68,6 +88,7 @@
|
|
|
68
88
|
"speed": "Prędkość wysyłania"
|
|
69
89
|
}
|
|
70
90
|
},
|
|
91
|
+
"information": "Społeczność i informacje",
|
|
71
92
|
"installPWA": "Zainstaluj aplikację przeglądarki",
|
|
72
93
|
"lang": {
|
|
73
94
|
"ar": "arabski",
|
|
@@ -107,6 +128,11 @@
|
|
|
107
128
|
"zh-TW": "Chiński tradycyjny"
|
|
108
129
|
},
|
|
109
130
|
"layoutInitializing": "Inicjowanie układu...",
|
|
131
|
+
"legal": "Oświadczenie prawne",
|
|
132
|
+
"mail": {
|
|
133
|
+
"business": "Współpraca biznesowa",
|
|
134
|
+
"support": "Wsparcie mailowe"
|
|
135
|
+
},
|
|
110
136
|
"noDescription": "Brak opisu",
|
|
111
137
|
"oauth": "Logowanie SSO",
|
|
112
138
|
"officialSite": "Oficjalna strona internetowa",
|
|
@@ -193,5 +219,6 @@
|
|
|
193
219
|
"profile": "Zarządzanie kontem",
|
|
194
220
|
"setting": "Ustawienia aplikacji",
|
|
195
221
|
"usages": "Statystyki użycia"
|
|
196
|
-
}
|
|
222
|
+
},
|
|
223
|
+
"version": "Wersja"
|
|
197
224
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"cancel": "Cancelar",
|
|
10
10
|
"changelog": "Registro de alterações",
|
|
11
11
|
"close": "Fechar",
|
|
12
|
+
"contact": "Entre em contato",
|
|
12
13
|
"copy": "Copiar",
|
|
13
14
|
"copyFail": "Falha ao copiar",
|
|
14
15
|
"copySuccess": "Cópia bem-sucedida",
|
|
@@ -35,6 +36,25 @@
|
|
|
35
36
|
},
|
|
36
37
|
"feedback": "Feedback e sugestões",
|
|
37
38
|
"follow": "Siga-nos no {{name}}",
|
|
39
|
+
"footer": {
|
|
40
|
+
"action": {
|
|
41
|
+
"feedback": "Compartilhe seus valiosos comentários",
|
|
42
|
+
"star": "Dê uma estrela no GitHub"
|
|
43
|
+
},
|
|
44
|
+
"and": "e",
|
|
45
|
+
"feedback": {
|
|
46
|
+
"action": "Compartilhar feedback",
|
|
47
|
+
"desc": "Cada uma de suas ideias e sugestões é extremamente valiosa para nós. Mal podemos esperar para saber o que você pensa! Sinta-se à vontade para entrar em contato conosco para fornecer feedback sobre os recursos do produto e a experiência de uso, ajudando-nos a tornar o LobeChat ainda melhor.",
|
|
48
|
+
"title": "Compartilhe seu valioso feedback no GitHub"
|
|
49
|
+
},
|
|
50
|
+
"later": "Mais tarde",
|
|
51
|
+
"star": {
|
|
52
|
+
"action": "Dar uma estrela",
|
|
53
|
+
"desc": "Se você ama nosso produto e deseja nos apoiar, poderia nos dar uma estrela no GitHub? Esse pequeno gesto é significativo para nós e nos motiva a continuar oferecendo uma experiência de qualidade para você.",
|
|
54
|
+
"title": "Dê uma estrela para nós no GitHub"
|
|
55
|
+
},
|
|
56
|
+
"title": "Está gostando do nosso produto?"
|
|
57
|
+
},
|
|
38
58
|
"fullscreen": "Modo de Tela Cheia",
|
|
39
59
|
"historyRange": "Intervalo de histórico",
|
|
40
60
|
"import": "Importar configuração",
|
|
@@ -68,6 +88,7 @@
|
|
|
68
88
|
"speed": "Velocidade de upload"
|
|
69
89
|
}
|
|
70
90
|
},
|
|
91
|
+
"information": "Comunidade e Informações",
|
|
71
92
|
"installPWA": "Instalar aplicativo de navegador",
|
|
72
93
|
"lang": {
|
|
73
94
|
"ar": "árabe",
|
|
@@ -107,6 +128,11 @@
|
|
|
107
128
|
"zh-TW": "Chinês tradicional"
|
|
108
129
|
},
|
|
109
130
|
"layoutInitializing": "Inicializando layout...",
|
|
131
|
+
"legal": "Aviso Legal",
|
|
132
|
+
"mail": {
|
|
133
|
+
"business": "Parcerias Comerciais",
|
|
134
|
+
"support": "Suporte por E-mail"
|
|
135
|
+
},
|
|
110
136
|
"noDescription": "Sem descrição",
|
|
111
137
|
"oauth": "Login SSO",
|
|
112
138
|
"officialSite": "Site Oficial",
|
|
@@ -193,5 +219,6 @@
|
|
|
193
219
|
"profile": "Gerenciamento de Conta",
|
|
194
220
|
"setting": "Configurações do Aplicativo",
|
|
195
221
|
"usages": "Estatísticas de Uso"
|
|
196
|
-
}
|
|
222
|
+
},
|
|
223
|
+
"version": "Versão"
|
|
197
224
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"cancel": "Отмена",
|
|
10
10
|
"changelog": "История изменений",
|
|
11
11
|
"close": "Закрыть",
|
|
12
|
+
"contact": "Свяжитесь с нами",
|
|
12
13
|
"copy": "Копировать",
|
|
13
14
|
"copyFail": "Не удалось скопировать",
|
|
14
15
|
"copySuccess": "Успешно скопировано",
|
|
@@ -35,6 +36,25 @@
|
|
|
35
36
|
},
|
|
36
37
|
"feedback": "Обратная связь и предложения",
|
|
37
38
|
"follow": "Подпишитесь на нас на {{name}}",
|
|
39
|
+
"footer": {
|
|
40
|
+
"action": {
|
|
41
|
+
"feedback": "Поделитесь своими ценными отзывами",
|
|
42
|
+
"star": "Поставьте звезду на GitHub"
|
|
43
|
+
},
|
|
44
|
+
"and": "и",
|
|
45
|
+
"feedback": {
|
|
46
|
+
"action": "Поделиться отзывом",
|
|
47
|
+
"desc": "Каждая ваша идея и рекомендация очень важны для нас, и мы с нетерпением ждем вашего мнения! Не стесняйтесь связаться с нами, чтобы предоставить отзыв о функциях продукта и опыте использования, чтобы помочь нам сделать LobeChat еще лучше.",
|
|
48
|
+
"title": "Поделитесь своими ценными отзывами на GitHub"
|
|
49
|
+
},
|
|
50
|
+
"later": "позже",
|
|
51
|
+
"star": {
|
|
52
|
+
"action": "Поставьте звезду",
|
|
53
|
+
"desc": "Если вам нравится наш продукт и вы хотите нас поддержать, не могли бы вы поставить нам звезду на GitHub? Это маленькое действие имеет большое значение для нас и мотивирует нас продолжать предоставлять вам лучший опыт использования.",
|
|
54
|
+
"title": "Поставьте звезду на GitHub для нас"
|
|
55
|
+
},
|
|
56
|
+
"title": "Нравится наш продукт?"
|
|
57
|
+
},
|
|
38
58
|
"fullscreen": "Полноэкранный режим",
|
|
39
59
|
"historyRange": "История",
|
|
40
60
|
"import": "Импорт настроек",
|
|
@@ -68,6 +88,7 @@
|
|
|
68
88
|
"speed": "Скорость загрузки"
|
|
69
89
|
}
|
|
70
90
|
},
|
|
91
|
+
"information": "Сообщество и информация",
|
|
71
92
|
"installPWA": "Установить веб-приложение",
|
|
72
93
|
"lang": {
|
|
73
94
|
"ar": "арабский",
|
|
@@ -107,6 +128,11 @@
|
|
|
107
128
|
"zh-TW": "Традиционный китайский"
|
|
108
129
|
},
|
|
109
130
|
"layoutInitializing": "Инициализация макета...",
|
|
131
|
+
"legal": "Юридическое уведомление",
|
|
132
|
+
"mail": {
|
|
133
|
+
"business": "Деловое сотрудничество",
|
|
134
|
+
"support": "Поддержка по электронной почте"
|
|
135
|
+
},
|
|
110
136
|
"noDescription": "Нет описания",
|
|
111
137
|
"oauth": "Вход через единую учетную запись (SSO)",
|
|
112
138
|
"officialSite": "Официальный сайт",
|
|
@@ -193,5 +219,6 @@
|
|
|
193
219
|
"profile": "Управление аккаунтом",
|
|
194
220
|
"setting": "Настройки приложения",
|
|
195
221
|
"usages": "Статистика использования"
|
|
196
|
-
}
|
|
222
|
+
},
|
|
223
|
+
"version": "Версия"
|
|
197
224
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"cancel": "İptal",
|
|
10
10
|
"changelog": "Changelog",
|
|
11
11
|
"close": "Kapat",
|
|
12
|
+
"contact": "Bize Ulaşın",
|
|
12
13
|
"copy": "Kopyala",
|
|
13
14
|
"copyFail": "Kopyalama başarısız oldu",
|
|
14
15
|
"copySuccess": "Kopyalama Başarılı",
|
|
@@ -35,6 +36,25 @@
|
|
|
35
36
|
},
|
|
36
37
|
"feedback": "Feedback",
|
|
37
38
|
"follow": "Bizi {{name}} üzerinde takip edin",
|
|
39
|
+
"footer": {
|
|
40
|
+
"action": {
|
|
41
|
+
"feedback": "Geri Bildirimde Bulun",
|
|
42
|
+
"star": "GitHub'da Yıldız Ekleyin"
|
|
43
|
+
},
|
|
44
|
+
"and": "ve",
|
|
45
|
+
"feedback": {
|
|
46
|
+
"action": "Geri Bildirim Paylaş",
|
|
47
|
+
"desc": "Her fikir ve öneriniz bizim için değerlidir, görüşlerinizi duymak için sabırsızlanıyoruz! LobeChat'in ürün özellikleri ve kullanıcı deneyimi hakkında geri bildirim sağlayarak bize yardımcı olun ve platformumuzu daha da geliştirmemize katkıda bulunun.",
|
|
48
|
+
"title": "GitHub'da Değerli Geri Bildiriminizi Paylaşın"
|
|
49
|
+
},
|
|
50
|
+
"later": "Daha Sonra",
|
|
51
|
+
"star": {
|
|
52
|
+
"action": "Yıldız Ekleyin",
|
|
53
|
+
"desc": "Ürünümüzü beğendiyseniz ve bizi desteklemek istiyorsanız, GitHub'da bize bir yıldız verebilir misiniz? Bu küçük jest bizim için büyük anlam taşır ve sizin için özellikler sunmamızı teşvik eder.",
|
|
54
|
+
"title": "GitHub'da Bize Yıldız Ekleyin"
|
|
55
|
+
},
|
|
56
|
+
"title": "Ürünümüzü Beğendiniz mi?"
|
|
57
|
+
},
|
|
38
58
|
"fullscreen": "Tam Ekran Modu",
|
|
39
59
|
"historyRange": "Geçmiş Aralığı",
|
|
40
60
|
"import": "İçe Aktar",
|
|
@@ -68,6 +88,7 @@
|
|
|
68
88
|
"speed": "Yükleme Hızı"
|
|
69
89
|
}
|
|
70
90
|
},
|
|
91
|
+
"information": "Topluluk ve Bilgi",
|
|
71
92
|
"installPWA": "Tarayıcı Uygulamasını Yükle",
|
|
72
93
|
"lang": {
|
|
73
94
|
"ar": "Arapça",
|
|
@@ -107,6 +128,11 @@
|
|
|
107
128
|
"zh-TW": "Geleneksel Çince"
|
|
108
129
|
},
|
|
109
130
|
"layoutInitializing": "Başlatılıyor...",
|
|
131
|
+
"legal": "Hukuki Bildirim",
|
|
132
|
+
"mail": {
|
|
133
|
+
"business": "İşbirliği",
|
|
134
|
+
"support": "E-posta Desteği"
|
|
135
|
+
},
|
|
110
136
|
"noDescription": "Açıklama yok",
|
|
111
137
|
"oauth": "SSO Girişi",
|
|
112
138
|
"officialSite": "Resmi Site",
|
|
@@ -193,5 +219,6 @@
|
|
|
193
219
|
"profile": "Hesap Yönetimi",
|
|
194
220
|
"setting": "Uygulama Ayarları",
|
|
195
221
|
"usages": "Kullanım İstatistikleri"
|
|
196
|
-
}
|
|
222
|
+
},
|
|
223
|
+
"version": "Sürüm"
|
|
197
224
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"cancel": "Hủy",
|
|
10
10
|
"changelog": "Nhật ký cập nhật",
|
|
11
11
|
"close": "Đóng",
|
|
12
|
+
"contact": "Liên hệ chúng tôi",
|
|
12
13
|
"copy": "Sao chép",
|
|
13
14
|
"copyFail": "Sao chép thất bại",
|
|
14
15
|
"copySuccess": "Sao chép thành công",
|
|
@@ -35,6 +36,25 @@
|
|
|
35
36
|
},
|
|
36
37
|
"feedback": "Phản hồi và đề xuất",
|
|
37
38
|
"follow": "Theo dõi chúng tôi trên {{name}}",
|
|
39
|
+
"footer": {
|
|
40
|
+
"action": {
|
|
41
|
+
"feedback": "Chia sẻ ý kiến quý báu của bạn",
|
|
42
|
+
"star": "Đánh giá sao trên GitHub"
|
|
43
|
+
},
|
|
44
|
+
"and": "và",
|
|
45
|
+
"feedback": {
|
|
46
|
+
"action": "Chia sẻ phản hồi",
|
|
47
|
+
"desc": "Mỗi ý tưởng và đề xuất của bạn đều rất quý giá đối với chúng tôi, chúng tôi rất mong muốn biết ý kiến của bạn! Hãy liên hệ với chúng tôi để cung cấp phản hồi về tính năng và trải nghiệm sử dụng sản phẩm, giúp chúng tôi phát triển LobeChat tốt hơn.",
|
|
48
|
+
"title": "Chia sẻ phản hồi quý báu của bạn trên GitHub"
|
|
49
|
+
},
|
|
50
|
+
"later": "Sau",
|
|
51
|
+
"star": {
|
|
52
|
+
"action": "Đánh giá sao",
|
|
53
|
+
"desc": "Nếu bạn yêu thích sản phẩm của chúng tôi và muốn ủng hộ chúng tôi, hãy đánh giá sao cho chúng tôi trên GitHub nhé? Hành động nhỏ này có ý nghĩa lớn đối với chúng tôi, giúp chúng tôi tiếp tục cung cấp trải nghiệm sản phẩm tốt cho bạn.",
|
|
54
|
+
"title": "Đánh giá sao cho chúng tôi trên GitHub"
|
|
55
|
+
},
|
|
56
|
+
"title": "Yêu thích sản phẩm của chúng tôi?"
|
|
57
|
+
},
|
|
38
58
|
"fullscreen": "Chế độ toàn màn hình",
|
|
39
59
|
"historyRange": "Phạm vi lịch sử",
|
|
40
60
|
"import": "Nhập cấu hình",
|
|
@@ -68,6 +88,7 @@
|
|
|
68
88
|
"speed": "Tốc độ tải lên"
|
|
69
89
|
}
|
|
70
90
|
},
|
|
91
|
+
"information": "Cộng đồng và Thông tin",
|
|
71
92
|
"installPWA": "Cài đặt ứng dụng trình duyệt",
|
|
72
93
|
"lang": {
|
|
73
94
|
"ar": "Tiếng Ả Rập",
|
|
@@ -107,6 +128,11 @@
|
|
|
107
128
|
"zh-TW": "Tiếng Trung (phồn thể)"
|
|
108
129
|
},
|
|
109
130
|
"layoutInitializing": "Đang tải bố cục...",
|
|
131
|
+
"legal": "Tuyên bố về pháp lý",
|
|
132
|
+
"mail": {
|
|
133
|
+
"business": "Hợp tác kinh doanh",
|
|
134
|
+
"support": "Hỗ trợ qua email"
|
|
135
|
+
},
|
|
110
136
|
"noDescription": "Chưa có mô tả",
|
|
111
137
|
"oauth": "Đăng nhập SSO",
|
|
112
138
|
"officialSite": "Trang web chính thức",
|
|
@@ -193,5 +219,6 @@
|
|
|
193
219
|
"profile": "Quản lý tài khoản",
|
|
194
220
|
"setting": "Cài đặt ứng dụng",
|
|
195
221
|
"usages": "Thống kê sử dụng"
|
|
196
|
-
}
|
|
222
|
+
},
|
|
223
|
+
"version": "Phiên bản"
|
|
197
224
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"cancel": "取消",
|
|
10
10
|
"changelog": "更新日志",
|
|
11
11
|
"close": "关闭",
|
|
12
|
+
"contact": "联系我们",
|
|
12
13
|
"copy": "复制",
|
|
13
14
|
"copyFail": "复制失败",
|
|
14
15
|
"copySuccess": "复制成功",
|
|
@@ -35,6 +36,25 @@
|
|
|
35
36
|
},
|
|
36
37
|
"feedback": "反馈与建议",
|
|
37
38
|
"follow": "在 {{name}} 上关注我们",
|
|
39
|
+
"footer": {
|
|
40
|
+
"action": {
|
|
41
|
+
"feedback": "分享您宝贵的建议",
|
|
42
|
+
"star": "在 GitHub 给添加星标"
|
|
43
|
+
},
|
|
44
|
+
"and": "并",
|
|
45
|
+
"feedback": {
|
|
46
|
+
"action": "分享反馈",
|
|
47
|
+
"desc": "您的每一个想法和建议对我们来说都弥足珍贵,我们迫不及待地想知道您的看法!欢迎联系我们提供产品功能和使用体验反馈,帮助我们将 LobeChat 建设得更好。",
|
|
48
|
+
"title": "在 GitHub 分享您宝贵的反馈"
|
|
49
|
+
},
|
|
50
|
+
"later": "稍后",
|
|
51
|
+
"star": {
|
|
52
|
+
"action": "点亮星标",
|
|
53
|
+
"desc": "如果您喜爱我们的产品,并希望支持我们,可以去 GitHub 给我们点一颗星吗?这个小小的动作对我们来说意义重大,能激励我们为您持续提供特性体验。",
|
|
54
|
+
"title": "在 GitHub 为我们点亮星标"
|
|
55
|
+
},
|
|
56
|
+
"title": "喜欢我们的产品?"
|
|
57
|
+
},
|
|
38
58
|
"fullscreen": "全屏模式",
|
|
39
59
|
"historyRange": "历史范围",
|
|
40
60
|
"import": "导入配置",
|
|
@@ -68,6 +88,7 @@
|
|
|
68
88
|
"speed": "上传速度"
|
|
69
89
|
}
|
|
70
90
|
},
|
|
91
|
+
"information": "社区与资讯",
|
|
71
92
|
"installPWA": "安装浏览器应用 (PWA)",
|
|
72
93
|
"lang": {
|
|
73
94
|
"ar": "阿拉伯语",
|
|
@@ -107,6 +128,11 @@
|
|
|
107
128
|
"zh-TW": "繁体中文"
|
|
108
129
|
},
|
|
109
130
|
"layoutInitializing": "正在加载布局...",
|
|
131
|
+
"legal": "法律声明",
|
|
132
|
+
"mail": {
|
|
133
|
+
"business": "商务合作",
|
|
134
|
+
"support": "邮件支持"
|
|
135
|
+
},
|
|
110
136
|
"noDescription": "暂无描述",
|
|
111
137
|
"oauth": "SSO 登录",
|
|
112
138
|
"officialSite": "官方网站",
|
|
@@ -193,5 +219,6 @@
|
|
|
193
219
|
"profile": "账户管理",
|
|
194
220
|
"setting": "应用设置",
|
|
195
221
|
"usages": "用量统计"
|
|
196
|
-
}
|
|
222
|
+
},
|
|
223
|
+
"version": "版本"
|
|
197
224
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"cancel": "取消",
|
|
10
10
|
"changelog": "變更日誌",
|
|
11
11
|
"close": "關閉",
|
|
12
|
+
"contact": "聯繫我們",
|
|
12
13
|
"copy": "複製",
|
|
13
14
|
"copyFail": "複製失敗",
|
|
14
15
|
"copySuccess": "複製成功",
|
|
@@ -35,6 +36,25 @@
|
|
|
35
36
|
},
|
|
36
37
|
"feedback": "回饋與建議",
|
|
37
38
|
"follow": "在 {{name}} 上關注我們",
|
|
39
|
+
"footer": {
|
|
40
|
+
"action": {
|
|
41
|
+
"feedback": "分享您寶貴的建議",
|
|
42
|
+
"star": "在 GitHub 給添加星標"
|
|
43
|
+
},
|
|
44
|
+
"and": "並",
|
|
45
|
+
"feedback": {
|
|
46
|
+
"action": "分享反饋",
|
|
47
|
+
"desc": "您的每一個想法和建議對我們來說都弥足珍貴,我們迫不及待地想知道您的看法!歡迎聯繫我們提供產品功能和使用體驗反饋,幫助我們將 LobeChat 建設得更好。",
|
|
48
|
+
"title": "在 GitHub 分享您寶貴的反饋"
|
|
49
|
+
},
|
|
50
|
+
"later": "稍後",
|
|
51
|
+
"star": {
|
|
52
|
+
"action": "點亮星標",
|
|
53
|
+
"desc": "如果您喜愛我們的產品,並希望支持我們,可以去 GitHub 給我們點一顆星嗎?這個小小的動作對我們來說意義重大,能激勵我們為您持續提供特性體驗。",
|
|
54
|
+
"title": "在 GitHub 為我們點亮星標"
|
|
55
|
+
},
|
|
56
|
+
"title": "喜歡我們的產品?"
|
|
57
|
+
},
|
|
38
58
|
"fullscreen": "全螢幕模式",
|
|
39
59
|
"historyRange": "歷史範圍",
|
|
40
60
|
"import": "匯入設定",
|
|
@@ -68,6 +88,7 @@
|
|
|
68
88
|
"speed": "上傳速度"
|
|
69
89
|
}
|
|
70
90
|
},
|
|
91
|
+
"information": "社群與資訊",
|
|
71
92
|
"installPWA": "安裝瀏覽器應用 (PWA)",
|
|
72
93
|
"lang": {
|
|
73
94
|
"ar": "阿拉伯語",
|
|
@@ -107,6 +128,11 @@
|
|
|
107
128
|
"zh-TW": "繁體中文"
|
|
108
129
|
},
|
|
109
130
|
"layoutInitializing": "正在載入版面配置...",
|
|
131
|
+
"legal": "法律聲明",
|
|
132
|
+
"mail": {
|
|
133
|
+
"business": "商務合作",
|
|
134
|
+
"support": "郵件支持"
|
|
135
|
+
},
|
|
110
136
|
"noDescription": "暫無描述",
|
|
111
137
|
"oauth": "單一登錄(SSO)",
|
|
112
138
|
"officialSite": "官方網站",
|
|
@@ -193,5 +219,6 @@
|
|
|
193
219
|
"profile": "帳戶管理",
|
|
194
220
|
"setting": "應用設定",
|
|
195
221
|
"usages": "用量統計"
|
|
196
|
-
}
|
|
222
|
+
},
|
|
223
|
+
"version": "版本"
|
|
197
224
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.162.
|
|
3
|
+
"version": "0.162.24",
|
|
4
4
|
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"framework",
|
|
@@ -6,6 +6,7 @@ import { memo, useRef } from 'react';
|
|
|
6
6
|
import { useTranslation } from 'react-i18next';
|
|
7
7
|
import { Flexbox } from 'react-layout-kit';
|
|
8
8
|
|
|
9
|
+
import Footer from '@/app/(main)/settings/features/Footer';
|
|
9
10
|
import { useActiveSettingsKey } from '@/hooks/useActiveSettingsKey';
|
|
10
11
|
import { SettingsTabs } from '@/store/global/initialState';
|
|
11
12
|
|
|
@@ -45,19 +46,21 @@ const Layout = memo<LayoutProps>(({ children, category }) => {
|
|
|
45
46
|
<Flexbox
|
|
46
47
|
align={'center'}
|
|
47
48
|
height={'100%'}
|
|
49
|
+
paddingBlock={mobile ? undefined : 32}
|
|
48
50
|
style={{ overflowX: 'hidden', overflowY: 'auto' }}
|
|
49
51
|
width={'100%'}
|
|
50
52
|
>
|
|
51
53
|
<Flexbox
|
|
52
54
|
gap={64}
|
|
55
|
+
paddingInline={mobile ? undefined : 24}
|
|
53
56
|
style={{
|
|
54
57
|
maxWidth: 1024,
|
|
55
|
-
padding: mobile ? undefined : '32px 24px',
|
|
56
58
|
}}
|
|
57
59
|
width={'100%'}
|
|
58
60
|
>
|
|
59
61
|
{children}
|
|
60
62
|
</Flexbox>
|
|
63
|
+
<Footer />
|
|
61
64
|
</Flexbox>
|
|
62
65
|
</Flexbox>
|
|
63
66
|
);
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
import Footer from '@/app/(main)/settings/features/Footer';
|
|
1
2
|
import MobileContentLayout from '@/components/server/MobileNavLayout';
|
|
2
3
|
|
|
3
4
|
import { LayoutProps } from '../type';
|
|
4
5
|
import Header from './Header';
|
|
5
6
|
|
|
6
7
|
const Layout = ({ children }: LayoutProps) => {
|
|
7
|
-
return
|
|
8
|
+
return (
|
|
9
|
+
<MobileContentLayout header={<Header />}>
|
|
10
|
+
{children}
|
|
11
|
+
<Footer />
|
|
12
|
+
</MobileContentLayout>
|
|
13
|
+
);
|
|
8
14
|
};
|
|
9
15
|
|
|
10
16
|
Layout.displayName = 'MobileSettingsLayout';
|
|
@@ -1,132 +1,25 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { Grid
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
Book,
|
|
7
|
-
Feather,
|
|
8
|
-
FileClock,
|
|
9
|
-
Github,
|
|
10
|
-
Heart,
|
|
11
|
-
HeartHandshake,
|
|
12
|
-
Home,
|
|
13
|
-
Lock,
|
|
14
|
-
Rss,
|
|
15
|
-
} from 'lucide-react';
|
|
16
|
-
import Link from 'next/link';
|
|
17
|
-
import { memo } from 'react';
|
|
18
|
-
import { useTranslation } from 'react-i18next';
|
|
3
|
+
import { Grid } from '@lobehub/ui';
|
|
4
|
+
import { FC, memo } from 'react';
|
|
19
5
|
import { Flexbox } from 'react-layout-kit';
|
|
20
6
|
|
|
21
|
-
import {
|
|
22
|
-
ABOUT,
|
|
23
|
-
BLOG,
|
|
24
|
-
CHANGELOG,
|
|
25
|
-
FEEDBACK,
|
|
26
|
-
GITHUB,
|
|
27
|
-
OFFICIAL_SITE,
|
|
28
|
-
PRIVACY_URL,
|
|
29
|
-
TERMS_URL,
|
|
30
|
-
} from '@/const/url';
|
|
7
|
+
import { ItemCardProps } from './ItemCard';
|
|
31
8
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
9
|
+
interface AboutListProps {
|
|
10
|
+
ItemRender: FC<ItemCardProps>;
|
|
11
|
+
grid?: boolean;
|
|
12
|
+
items: ItemCardProps[];
|
|
13
|
+
}
|
|
35
14
|
|
|
36
|
-
|
|
15
|
+
const AboutList = memo<AboutListProps>(({ grid, items, ItemRender }) => {
|
|
16
|
+
const content = items.map((item) => <ItemRender key={item.value} {...item} />);
|
|
37
17
|
|
|
38
|
-
|
|
39
|
-
border: 1px solid ${token.colorFillSecondary};
|
|
40
|
-
border-radius: ${token.borderRadiusLG}px;
|
|
41
|
-
|
|
42
|
-
&:hover {
|
|
43
|
-
background: ${isDarkMode ? token.colorFillSecondary : token.colorBgContainer};
|
|
44
|
-
border: 1px solid ${token.colorFill};
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
${responsive.mobile} {
|
|
48
|
-
padding: 16px;
|
|
49
|
-
}
|
|
50
|
-
`,
|
|
51
|
-
container: css`
|
|
52
|
-
${responsive.mobile} {
|
|
53
|
-
padding-inline: 16px;
|
|
54
|
-
}
|
|
55
|
-
`,
|
|
56
|
-
}));
|
|
57
|
-
|
|
58
|
-
const AboutList = memo(() => {
|
|
59
|
-
const { styles } = useStyles();
|
|
60
|
-
const { t } = useTranslation('common');
|
|
61
|
-
|
|
62
|
-
const items = [
|
|
63
|
-
{
|
|
64
|
-
href: OFFICIAL_SITE,
|
|
65
|
-
icon: Home,
|
|
66
|
-
label: t('officialSite'),
|
|
67
|
-
value: 'officialSite',
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
{
|
|
71
|
-
href: FEEDBACK,
|
|
72
|
-
icon: Book,
|
|
73
|
-
label: t('document'),
|
|
74
|
-
value: 'feedback',
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
href: BLOG,
|
|
78
|
-
icon: Rss,
|
|
79
|
-
label: t('blog'),
|
|
80
|
-
value: 'blog',
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
href: GITHUB,
|
|
84
|
-
icon: Github,
|
|
85
|
-
label: 'GitHub',
|
|
86
|
-
value: 'feedback',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
href: FEEDBACK,
|
|
90
|
-
icon: Feather,
|
|
91
|
-
label: t('feedback'),
|
|
92
|
-
value: 'feedback',
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
href: CHANGELOG,
|
|
96
|
-
icon: FileClock,
|
|
97
|
-
label: t('changelog'),
|
|
98
|
-
value: 'changelog',
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
href: TERMS_URL,
|
|
102
|
-
icon: HeartHandshake,
|
|
103
|
-
label: t('terms'),
|
|
104
|
-
value: 'terms',
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
href: PRIVACY_URL,
|
|
108
|
-
icon: Lock,
|
|
109
|
-
label: t('privacy'),
|
|
110
|
-
value: 'privacy',
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
href: ABOUT,
|
|
114
|
-
icon: Heart,
|
|
115
|
-
label: t('about'),
|
|
116
|
-
value: 'about',
|
|
117
|
-
},
|
|
118
|
-
];
|
|
18
|
+
if (!grid) return <Flexbox gap={8}>{content}</Flexbox>;
|
|
119
19
|
|
|
120
20
|
return (
|
|
121
|
-
<Grid
|
|
122
|
-
{
|
|
123
|
-
<Link href={href} key={value} style={{ color: 'inherit' }} target={'_blank'}>
|
|
124
|
-
<Flexbox className={styles.card} gap={8} horizontal>
|
|
125
|
-
<Icon icon={icon} size={{ fontSize: 20 }} />
|
|
126
|
-
{label}
|
|
127
|
-
</Flexbox>
|
|
128
|
-
</Link>
|
|
129
|
-
))}
|
|
21
|
+
<Grid gap={8} maxItemWidth={160} rows={5} width={'100%'}>
|
|
22
|
+
{content}
|
|
130
23
|
</Grid>
|
|
131
24
|
);
|
|
132
25
|
});
|
|
@@ -36,7 +36,7 @@ const Analytics = memo(() => {
|
|
|
36
36
|
title: t('analytics.title'),
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
return <Form items={[items]} itemsType={'group'} {...FORM_STYLE} />;
|
|
39
|
+
return <Form items={[items]} itemsType={'group'} variant={'pure'} {...FORM_STYLE} />;
|
|
40
40
|
});
|
|
41
41
|
|
|
42
42
|
export default Analytics;
|