Skip to content

Commit

Permalink
Merge pull request #163 from lobehub/chore/add-proxy-link
Browse files Browse the repository at this point in the history
Chore/add proxy link
  • Loading branch information
rdmclin2 authored Nov 12, 2024
2 parents c40eed3 + 46c2601 commit 3569b95
Show file tree
Hide file tree
Showing 36 changed files with 121 additions and 8 deletions.
1 change: 1 addition & 0 deletions locales/bg-BG/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "Добавете адрес на OpenAI прокси (по избор)",
"closeTip": "Затворете提示",
"confirmRetry": "Потвърдете и опитайте отново",
"proxyDocs": "Не сте сигурни как да подадете заявление за API ключ?",
"startDesc": "Въведете вашия OpenAI API ключ, за да започнете сесия. Приложението няма да записва вашия API ключ.",
"startTitle": "Персонализиран API ключ"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/bg-BG/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "API ключ"
},
"callError": "Неуспешно извикване на интерфейса, моля проверете дали API ключът и адресът на интерфейсния прокси са зададени правилно",
"checkError": "Проверката не успя, моля, проверете дали API ключът и адресът на интерфейса са настроени правилно",
"checkOk": "Проверката е успешна",
"fetchOnClient": {
"desc": "Режимът на клиентски заявки ще инициира сесийни заявки директно от браузъра, което може да ускори времето за отговор",
"title": "Извикване от клиента"
},
"proxy": {
"desc": "http(s)://",
"title": "Адрес на интерфейсния прокси"
Expand Down
1 change: 1 addition & 0 deletions locales/de-DE/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "Fügen Sie die OpenAI-Proxy-Adresse hinzu (optional)",
"closeTip": "Hinweis schließen",
"confirmRetry": "Bestätigen und erneut versuchen",
"proxyDocs": "Wie beantrage ich einen API-Schlüssel?",
"startDesc": "Geben Sie Ihren OpenAI API-Schlüssel ein, um das Gespräch zu beginnen. Die Anwendung wird Ihren API-Schlüssel nicht speichern.",
"startTitle": "Benutzerdefinierter API-Schlüssel"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/de-DE/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "API-Schlüssel"
},
"callError": "Fehler beim Aufruf der Schnittstelle. Bitte überprüfen Sie, ob der API-Schlüssel und die Schnittstellen-Proxy-Adresse korrekt eingestellt sind.",
"checkError": "Überprüfung fehlgeschlagen, bitte überprüfen Sie, ob der API-Schlüssel und die Proxy-Adresse korrekt eingestellt sind",
"checkOk": "Überprüfung erfolgreich",
"fetchOnClient": {
"desc": "Der Client-Anforderungsmodus initiiert die Sitzungsanfrage direkt aus dem Browser, was die Reaktionsgeschwindigkeit erhöhen kann",
"title": "Client-Anruf"
},
"proxy": {
"desc": "http(s)://",
"title": "Schnittstellen-Proxy-Adresse"
Expand Down
1 change: 1 addition & 0 deletions locales/en-US/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "Add OpenAI proxy address (optional)",
"closeTip": "Close tip",
"confirmRetry": "Confirm and retry",
"proxyDocs": "Not sure how to apply for an API Key?",
"startDesc": "Enter your OpenAI API Key to start the conversation. The application will not record your API Key.",
"startTitle": "Custom API Key"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/en-US/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "API Key"
},
"callError": "Failed to call the API. Please check if the API Key and proxy address are set correctly.",
"checkError": "Check failed, please verify that the API key and interface proxy address are set correctly",
"checkOk": "Check passed",
"fetchOnClient": {
"desc": "The client request mode will initiate session requests directly from the browser, which can improve response speed",
"title": "Client Call"
},
"proxy": {
"desc": "http(s)://",
"title": "Proxy Address"
Expand Down
1 change: 1 addition & 0 deletions locales/es-ES/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "Añadir dirección del proxy de OpenAI (opcional)",
"closeTip": "Cerrar aviso",
"confirmRetry": "Confirmar y reintentar",
"proxyDocs": "¿No estás seguro de cómo solicitar una clave API?",
"startDesc": "Introduce tu clave API de OpenAI para comenzar la conversación. La aplicación no registrará tu clave API.",
"startTitle": "Clave API personalizada"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/es-ES/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "API Key"
},
"callError": "Error al llamar a la interfaz, por favor verifica que la APIKey y la dirección del proxy estén configuradas correctamente",
"checkError": "Error de verificación, por favor verifica si la APIKey y la dirección del proxy están configuradas correctamente",
"checkOk": "Verificación exitosa",
"fetchOnClient": {
"desc": "El modo de solicitud del cliente iniciará la solicitud de sesión directamente desde el navegador, lo que puede mejorar la velocidad de respuesta",
"title": "Llamada desde el cliente"
},
"proxy": {
"desc": "http(s)://",
"title": "Dirección del Proxy de la Interfaz"
Expand Down
1 change: 1 addition & 0 deletions locales/fr-FR/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "Ajouter une adresse proxy OpenAI (facultatif)",
"closeTip": "Fermer l'astuce",
"confirmRetry": "Confirmer et réessayer",
"proxyDocs": "Comment demander une clé API ?",
"startDesc": "Entrez votre clé API OpenAI pour commencer la conversation. L'application ne conservera pas votre clé API.",
"startTitle": "Clé API personnalisée"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/fr-FR/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "Clé API"
},
"callError": "Échec de l'appel de l'API, veuillez vérifier si la clé API et l'adresse du proxy sont correctement configurées",
"checkError": "Échec de la vérification, veuillez vérifier si la clé API et l'adresse du proxy sont correctement configurées",
"checkOk": "Vérification réussie",
"fetchOnClient": {
"desc": "Le mode de requête côté client lancera la demande de session directement depuis le navigateur, ce qui peut améliorer la vitesse de réponse",
"title": "Appel côté client"
},
"proxy": {
"desc": "http(s)://",
"title": "Adresse du proxy API"
Expand Down
1 change: 1 addition & 0 deletions locales/it-IT/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "Aggiungi indirizzo proxy OpenAI (opzionale)",
"closeTip": "Chiudi il suggerimento",
"confirmRetry": "Conferma e riprova",
"proxyDocs": "Non sei sicuro di come richiedere una chiave API?",
"startDesc": "Inserisci la tua chiave API OpenAI per iniziare la conversazione. L'app non registrerà la tua chiave API.",
"startTitle": "Chiave API personalizzata"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/it-IT/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "API Key"
},
"callError": "Chiamata all'interfaccia fallita, controlla se l'API Key e l'indirizzo del proxy sono impostati correttamente",
"checkError": "Controlla errore, verifica se l'APIKey e l'indirizzo del proxy sono impostati correttamente",
"checkOk": "Controllo superato",
"fetchOnClient": {
"desc": "La modalità di richiesta client avvierà direttamente la richiesta di sessione dal browser, migliorando la velocità di risposta",
"title": "Chiamata client"
},
"proxy": {
"desc": "http(s)://",
"title": "Indirizzo del Proxy"
Expand Down
1 change: 1 addition & 0 deletions locales/ja-JP/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "OpenAI プロキシアドレスを追加(オプション)",
"closeTip": "ヒントを閉じる",
"confirmRetry": "確認して再試行",
"proxyDocs": "APIキーの申請方法がわかりませんか?",
"startDesc": "あなたの OpenAI API キーを入力して会話を開始してください。アプリはあなたの API キーを記録しません。",
"startTitle": "カスタム API キー"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/ja-JP/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "APIキー"
},
"callError": "APIの呼び出しに失敗しました。APIキーとプロキシアドレスが正しく設定されているか確認してください。",
"checkError": "チェックに失敗しました。APIキーとインターフェースプロキシの設定が正しいか確認してください",
"checkOk": "チェック完了",
"fetchOnClient": {
"desc": "クライアントリクエストモードは、ブラウザから直接セッションリクエストを発信し、応答速度を向上させることができます",
"title": "クライアント呼び出し"
},
"proxy": {
"desc": "http(s)://",
"title": "プロキシアドレス"
Expand Down
1 change: 1 addition & 0 deletions locales/ko-KR/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "OpenAI 프록시 주소 추가(선택 사항)",
"closeTip": "팁 닫기",
"confirmRetry": "확인 후 재시도",
"proxyDocs": "API 키를 신청하는 방법이 궁금하신가요?",
"startDesc": "당신의 OpenAI API 키를 입력하면 대화를 시작할 수 있습니다. 애플리케이션은 당신의 API 키를 기록하지 않습니다.",
"startTitle": "사용자 정의 API 키"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/ko-KR/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "API 키"
},
"callError": "API 호출에 실패했습니다. API 키와 프록시 주소가 올바르게 설정되었는지 확인하세요.",
"checkError": "검사 실패, API 키와 인터페이스 프록시 주소가 올바르게 설정되었는지 확인하십시오",
"checkOk": "확인 완료",
"fetchOnClient": {
"desc": "클라이언트 요청 모드는 브라우저에서 직접 세션 요청을 시작하여 응답 속도를 향상시킬 수 있습니다",
"title": "클라이언트 호출"
},
"proxy": {
"desc": "http(s)://",
"title": "프록시 주소"
Expand Down
1 change: 1 addition & 0 deletions locales/nl-NL/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "Voeg een OpenAI proxyadres toe (optioneel)",
"closeTip": "Sluit de tip",
"confirmRetry": "Bevestigen en opnieuw proberen",
"proxyDocs": "Weet je niet hoe je een API-sleutel kunt aanvragen?",
"startDesc": "Voer je OpenAI API-sleutel in om de sessie te starten. De applicatie zal je API-sleutel niet opslaan.",
"startTitle": "Aangepaste API-sleutel"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/nl-NL/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "API-sleutel"
},
"callError": "Fout bij het aanroepen van de interface, controleer of de API-sleutel en het proxyadres correct zijn ingesteld",
"checkError": "Controleer mislukt, controleer of de API-sleutel en de interface proxy-adres correct zijn ingesteld",
"checkOk": "Controle geslaagd",
"fetchOnClient": {
"desc": "De clientaanroepmodus start het sessieverzoek rechtstreeks vanuit de browser, wat de responssnelheid kan verbeteren",
"title": "Clientaanroep"
},
"proxy": {
"desc": "http(s)://",
"title": "Proxyadres"
Expand Down
1 change: 1 addition & 0 deletions locales/pl-PL/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "Dodaj adres proxy OpenAI (opcjonalnie)",
"closeTip": "Zamknij wskazówkę",
"confirmRetry": "Potwierdź i spróbuj ponownie",
"proxyDocs": "Nie wiesz, jak ubiegać się o klucz API?",
"startDesc": "Wprowadź swój klucz API OpenAI, aby rozpocząć rozmowę. Aplikacja nie będzie rejestrować twojego klucza API.",
"startTitle": "Dostosuj klucz API"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/pl-PL/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "Klucz API"
},
"callError": "Nie udało się wywołać interfejsu, sprawdź, czy APIKey i adres proxy są poprawnie ustawione",
"checkError": "Sprawdzenie nie powiodło się, proszę sprawdzić, czy klucz API i adres proxy są poprawnie ustawione",
"checkOk": "Sprawdzenie zakończone pomyślnie",
"fetchOnClient": {
"desc": "Tryb żądania po stronie klienta rozpocznie sesję bezpośrednio z przeglądarki, co może zwiększyć szybkość odpowiedzi",
"title": "Wywołanie po stronie klienta"
},
"proxy": {
"desc": "http(s)://",
"title": "Adres proxy interfejsu"
Expand Down
1 change: 1 addition & 0 deletions locales/pt-BR/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "Adicionar endereço de proxy OpenAI (opcional)",
"closeTip": "Fechar dica",
"confirmRetry": "Confirmar e tentar novamente",
"proxyDocs": "Não sei como solicitar uma chave de API?",
"startDesc": "Insira sua chave de API OpenAI para iniciar a conversa. O aplicativo não registrará sua chave de API.",
"startTitle": "Chave de API personalizada"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/pt-BR/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "Chave da API"
},
"callError": "Falha ao chamar a interface, verifique se a APIKey e o endereço do proxy estão configurados corretamente",
"checkError": "Verificação falhou, por favor, verifique se a APIKey e o endereço do proxy estão configurados corretamente",
"checkOk": "Verificação concluída com sucesso",
"fetchOnClient": {
"desc": "O modo de solicitação do cliente iniciará a solicitação de sessão diretamente do navegador, o que pode aumentar a velocidade de resposta",
"title": "Chamada do Cliente"
},
"proxy": {
"desc": "http(s)://",
"title": "Endereço do Proxy da Interface"
Expand Down
1 change: 1 addition & 0 deletions locales/ru-RU/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "Добавить адрес прокси OpenAI (необязательно)",
"closeTip": "Закрыть подсказку",
"confirmRetry": "Подтвердить и повторить попытку",
"proxyDocs": "Не знаете, как получить API Key?",
"startDesc": "Введите ваш OpenAI API Key, чтобы начать разговор. Приложение не будет записывать ваш API Key.",
"startTitle": "Настроить API Key"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/ru-RU/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "API Key"
},
"callError": "Ошибка вызова интерфейса, пожалуйста, проверьте правильность настройки APIKey и адреса прокси-интерфейса",
"checkError": "Проверка не удалась, пожалуйста, проверьте правильность настройки APIKey и адреса прокси-сервера",
"checkOk": "Проверка пройдена",
"fetchOnClient": {
"desc": "Режим запроса на клиенте инициирует сессии напрямую из браузера, что может повысить скорость ответа",
"title": "Вызов на клиенте"
},
"proxy": {
"desc": "http(s)://",
"title": "Адрес прокси-интерфейса"
Expand Down
1 change: 1 addition & 0 deletions locales/tr-TR/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "OpenAI proxy adresi ekleyin (isteğe bağlı)",
"closeTip": "İpucu'nu kapat",
"confirmRetry": "Onayla ve yeniden dene",
"proxyDocs": "API Anahtarı nasıl alınır?",
"startDesc": "OpenAI API Anahtarınızı girerek sohbete başlayabilirsiniz. Uygulama API Anahtarınızı kaydetmeyecek.",
"startTitle": "Özel API Anahtarı"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/tr-TR/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "API Anahtarı"
},
"callError": "API çağrısı başarısız oldu, lütfen API Anahtarınızı ve arayüz proxy adresinizi doğru ayarladığınızdan emin olun",
"checkError": "Kontrol hatası, lütfen API Anahtarının ve arayüz proxy adresinin doğru ayarlandığını kontrol edin",
"checkOk": "Kontrol başarılı",
"fetchOnClient": {
"desc": "İstemci istek modu, oturum isteklerini doğrudan tarayıcıdan başlatarak yanıt hızını artırabilir",
"title": "İstemci Çağrısı"
},
"proxy": {
"desc": "http(s)://",
"title": "Arayüz Proxy Adresi"
Expand Down
1 change: 1 addition & 0 deletions locales/vi-VN/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "Thêm địa chỉ proxy OpenAI (tùy chọn)",
"closeTip": "Đóng thông báo",
"confirmRetry": "Xác nhận và thử lại",
"proxyDocs": "Không rõ cách xin API Key?",
"startDesc": "Nhập API Key OpenAI của bạn để bắt đầu cuộc trò chuyện. Ứng dụng sẽ không ghi lại API Key của bạn.",
"startTitle": "Tùy chỉnh API Key"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/vi-VN/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "API Key"
},
"callError": "Gọi API thất bại, vui lòng kiểm tra xem API Key và địa chỉ proxy đã được thiết lập đúng chưa",
"checkError": "Kiểm tra thất bại, vui lòng kiểm tra xem APIKey và địa chỉ proxy có được thiết lập đúng không",
"checkOk": "Kiểm tra thành công",
"fetchOnClient": {
"desc": "Chế độ yêu cầu từ khách hàng sẽ khởi động yêu cầu phiên trực tiếp từ trình duyệt, có thể cải thiện tốc độ phản hồi",
"title": "Gọi từ phía khách hàng"
},
"proxy": {
"desc": "http(s)://",
"title": "Địa chỉ proxy API"
Expand Down
3 changes: 2 additions & 1 deletion locales/zh-CN/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
"totalCount": "共 {{total}} 项"
},
"apiKey": {
"startDesc": "输入你的 OpenAI API Key 即可开始会话。应用不会记录你的 API Key",
"startDesc": "输入你的 OpenAI API Key 即可开始会话。",
"startTitle": "自定义 API Key",
"addProxy": "添加 OpenAI 代理地址(可选)",
"proxyDocs": "不清楚如何申请 API Key?",
"confirmRetry": "确认并重试",
"closeTip": "关闭提示"
},
Expand Down
9 changes: 7 additions & 2 deletions locales/zh-CN/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,20 @@
}
},
"llm": {
"title": "大语言模型",
"title": "语言模型",
"openai": {
"callError": "调用接口失败,请检查 APIKey 和接口代理地址是否设置正确",
"checkOk": "检查通过",
"title": "OpenAI 语言模型",
"checkError": "检查失败,请检查 APIKey 和接口代理地址是否设置正确",
"title": "OpenAI",
"apiKey": {
"title": "API Key",
"desc": "请使用自己的 OpenAI Key"
},
"fetchOnClient": {
"title": "客户端调用",
"desc": "客户端请求模式将从浏览器直接发起会话请求,可提升响应速度"
},
"proxy": {
"title": "接口代理地址",
"desc": "http(s)://"
Expand Down
1 change: 1 addition & 0 deletions locales/zh-TW/chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"addProxy": "添加 OpenAI 代理地址(可選)",
"closeTip": "關閉提示",
"confirmRetry": "確認並重試",
"proxyDocs": "不清楚如何申請 API Key?",
"startDesc": "輸入你的 OpenAI API Key 即可開始會話。應用不會記錄你的 API Key",
"startTitle": "自訂 API Key"
},
Expand Down
5 changes: 5 additions & 0 deletions locales/zh-TW/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@
"title": "API 金鑰"
},
"callError": "呼叫介面失敗,請檢查 APIKey 和介面代理地址是否設置正確",
"checkError": "檢查失敗,請確認 APIKey 和接口代理地址是否設置正確",
"checkOk": "檢查通過",
"fetchOnClient": {
"desc": "客戶端請求模式將從瀏覽器直接發起會話請求,可提升響應速度",
"title": "客戶端調用"
},
"proxy": {
"desc": "http(s)://",
"title": "介面代理地址"
Expand Down
2 changes: 1 addition & 1 deletion src/constants/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const AGENTS_INDEX_GITHUB = 'https://github.com/lobehub/lobe-vidol-market
export const AGENTS_INDEX_GITHUB_ISSUE = urlJoin(AGENTS_INDEX_GITHUB, 'issues/new');
export const imageUrl = (filename: string) => `/images/${filename}`;

export const DISCORD = 'https://discord.gg/AYFPHvv2jT';
export const DISCORD = 'https://discord.gg/RbpdWkzw';
export const DOCUMENTS_REFER_URL = 'https://docs.vidol.chat';

/**
Expand Down
Loading

0 comments on commit 3569b95

Please sign in to comment.