style: update graphics (#1138)

* style: update new icon and NavLinks scale

* style: new username update

* refactor(Dropdown); style: general settings

* style(Dropdown); adjust theme

* style: dropdown and settings text

* fix(Dropdown) system theme not working

* style: topbar sticky; fix: general's menu settings transparent with light theme

* fix(SubmitButton) stop generate button

* fix: user_provided dialog for new dropdown

* fix: TS error 'display'

* fix(EditPresetDialog): for new dropdown

* style: added green send button

* converted textchat in tsx

* style(SubmitButton): tooltip

* test: fixed ThemeSelector and LangSelector

* removed transition-opacity

* fix all tests

* removed empty cn call

* chore: Update General.tsx to add Arabic option

---------

Co-authored-by: Danny Avila <110412045+danny-avila@users.noreply.github.com>
This commit is contained in:
Marco Beretta 2023-11-16 14:42:03 +01:00 committed by GitHub
parent 8b28fdf240
commit 9ad47b6660
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 442 additions and 318 deletions

View file

@ -249,6 +249,7 @@ export default {
com_nav_confirm_clear: 'Confirmar Limpeza',
com_nav_close_sidebar: 'Fechar barra lateral',
com_nav_open_sidebar: 'Abrir barra lateral',
com_nav_send_message: 'Enviar mensagem',
com_nav_log_out: 'Sair',
com_nav_user: 'USUÁRIO',
com_nav_clear_conversation: 'Limpar conversas',
@ -259,6 +260,5 @@ export default {
com_nav_search_placeholder: 'Procurar mensagens',
com_nav_setting_general: 'Geral',
com_nav_setting_data: 'Controle de Dados',
com_nav_lang_auto: 'Auto detectar',
com_nav_lang_brazilian_portuguese: 'Português Brasileiro',
};

View file

@ -191,6 +191,7 @@ export default {
com_nav_confirm_clear: 'Bestätige Löschung aller Chats',
com_nav_close_sidebar: 'Schließe Seitenleiste',
com_nav_open_sidebar: 'Öffne Seitenleiste',
com_nav_send_message: 'Sende Nachricht',
com_nav_log_out: 'Ausloggen',
com_nav_user: 'USER',
com_nav_clear_conversation: 'Lösche Konversation',

View file

@ -252,6 +252,7 @@ export default {
com_nav_confirm_clear: 'Confirm Clear',
com_nav_close_sidebar: 'Close sidebar',
com_nav_open_sidebar: 'Open sidebar',
com_nav_send_message: 'Send message',
com_nav_log_out: 'Log out',
com_nav_user: 'USER',
com_nav_clear_conversation: 'Clear conversations',

View file

@ -253,6 +253,7 @@ export default {
com_nav_confirm_clear: 'Confirmar Limpieza',
com_nav_close_sidebar: 'Cerrar barra lateral',
com_nav_open_sidebar: 'Abrir barra lateral',
com_nav_send_message: 'Enviar mensaje',
com_nav_log_out: 'Cerrar sesión',
com_nav_user: 'USUARIO',
com_nav_clear_conversation: 'Limpiar conversaciones',

View file

@ -252,6 +252,7 @@ export default {
com_nav_confirm_clear: 'Confirmer l\'effacement',
com_nav_close_sidebar: 'Fermer la barre latérale',
com_nav_open_sidebar: 'Ouvrir la barre latérale',
com_nav_send_message: 'Envoyer un message',
com_nav_log_out: 'Se déconnecter',
com_nav_user: 'UTILISATEUR',
com_nav_clear_conversation: 'Effacer les conversations',

View file

@ -253,6 +253,7 @@ export default {
com_nav_confirm_clear: 'Conferma la cancellazione',
com_nav_close_sidebar: 'Chiudi la barra laterale',
com_nav_open_sidebar: 'Apri la barra laterale',
com_nav_send_message: 'Invia messaggio',
com_nav_log_out: 'Esci',
com_nav_user: 'UTENTE',
com_nav_clear_conversation: 'Cancella conversazioni',

View file

@ -245,6 +245,7 @@ export default {
com_nav_confirm_clear: 'Confirm Clear',
com_nav_close_sidebar: 'サイドバーを閉じる',
com_nav_open_sidebar: 'サイドバーを開く',
com_nav_send_message: 'メッセージを送信する',
com_nav_log_out: 'ログアウト',
com_nav_user: 'ユーザ',
com_nav_clear_conversation: '会話を削除する',

View file

@ -231,6 +231,7 @@ export default {
com_nav_confirm_clear: '지우기 확인',
com_nav_close_sidebar: '사이드바 닫기',
com_nav_open_sidebar: '사이드바 열기',
com_nav_send_message: '메시지 보내기',
com_nav_log_out: '로그아웃',
com_nav_user: '사용자',
com_nav_clear_conversation: '대화 지우기',

View file

@ -194,6 +194,7 @@ export default {
com_nav_confirm_clear: 'Potwierdź usunięcie',
com_nav_close_sidebar: 'Zamknij pasek boczny',
com_nav_open_sidebar: 'Otwórz pasek boczny',
com_nav_send_message: 'Wyślij wiadomość',
com_nav_log_out: 'Wyloguj',
com_nav_user: 'Użytkownik',
com_nav_clear_conversation: 'Wyczyść rozmowę',

View file

@ -206,6 +206,7 @@ export default {
com_nav_auto_scroll: 'Автоматическая прокрутка к новым сообщениям в режиме открытия',
com_nav_close_sidebar: 'Закрыть боковую панель',
com_nav_open_sidebar: 'Открыть боковую панель',
com_nav_send_message: 'Отправить сообщение',
com_nav_log_out: 'Выйти',
com_nav_user: 'ПОЛЬЗОВАТЕЛЬ',
com_nav_clear_conversation: 'Очистить разговоры',

View file

@ -246,6 +246,7 @@ export default {
com_nav_confirm_clear: 'Bekräfta rensning', // Confirm Clear
com_nav_close_sidebar: 'Stäng sidofält', // Close sidebar
com_nav_open_sidebar: 'Öppna sidofält', // Open sidebar
com_nav_send_message: 'Skicka meddelande', // Send message
com_nav_log_out: 'Logga ut', // Log out
com_nav_user: 'ANVÄNDARE', // USER
com_nav_clear_conversation: 'Rensa konversationer', // Clear conversations

View file

@ -253,6 +253,7 @@ export default {
com_nav_confirm_clear: 'Xác nhận xóa',
com_nav_close_sidebar: 'Đóng thanh bên',
com_nav_open_sidebar: 'Mở thanh bên',
com_nav_send_message: 'Gửi tin nhắn',
com_nav_log_out: 'Đăng xuất',
com_nav_user: 'NGƯỜI DÙNG',
com_nav_clear_conversation: 'Xóa cuộc trò chuyện',

View file

@ -252,6 +252,7 @@ export default {
com_nav_confirm_clear: '确认清空',
com_nav_close_sidebar: '关闭侧边栏',
com_nav_open_sidebar: '打开侧边栏',
com_nav_send_message: '发送消息',
com_nav_log_out: '注销',
com_nav_user: '默认用户',
com_nav_clear_conversation: '清空对话',

View file

@ -12,8 +12,7 @@ export default {
com_ui_capability_decline_requests: '訓練有素以拒絕不適當的請求',
com_ui_limitations: '限制',
com_ui_limitation_incorrect_info: '有時可能會產生不正確的資訊',
com_ui_limitation_harmful_biased:
'有時可能會產生有害的指示或帶有偏見的內容',
com_ui_limitation_harmful_biased: '有時可能會產生有害的指示或帶有偏見的內容',
com_ui_limitation_limited_2021: '對於 2021 年後的世界和事件的知識有限',
com_ui_input: '輸入',
com_ui_close: '關閉',
@ -49,14 +48,10 @@ export default {
com_ui_delete: '刪除',
com_ui_delete_conversation: '刪除對話?',
com_ui_delete_conversation_confirm: '這將刪除',
com_auth_error_login:
'無法使用提供的資訊登入。請檢查您的登入資訊後重試。',
com_auth_error_login_rl:
'短時間內嘗試登入的次數過多。請稍後再試。',
com_auth_error_login_ban:
'由於違反我們的服務條款,您的帳號已被暫時停用。',
com_auth_error_login_server:
'發生內部伺服器錯誤。請稍候片刻,然後重試。',
com_auth_error_login: '無法使用提供的資訊登入。請檢查您的登入資訊後重試。',
com_auth_error_login_rl: '短時間內嘗試登入的次數過多。請稍後再試。',
com_auth_error_login_ban: '由於違反我們的服務條款,您的帳號已被暫時停用。',
com_auth_error_login_server: '發生內部伺服器錯誤。請稍候片刻,然後重試。',
com_auth_no_account: '還沒有帳號?',
com_auth_sign_up: '註冊',
com_auth_sign_in: '登入',
@ -79,9 +74,8 @@ export default {
com_auth_password_not_match: '密碼不符',
com_auth_continue: '繼續',
com_auth_create_account: '建立您的帳號',
com_nav_auto_scroll:'開啟時自動捲動至最新內容',
com_auth_error_create:
'嘗試註冊您的帳號時發生錯誤。請重試。',
com_nav_auto_scroll: '開啟時自動捲動至最新內容',
com_auth_error_create: '嘗試註冊您的帳號時發生錯誤。請重試。',
com_auth_full_name: '全名',
com_auth_name_required: '名稱必填',
com_auth_name_min_length: '名稱長度必須至少有 3 個字元',
@ -97,8 +91,7 @@ export default {
com_auth_here: '這裡',
com_auth_to_reset_your_password: '重設您的密碼。',
com_auth_reset_password_link_sent: '電子郵件已傳送',
com_auth_reset_password_email_sent:
'已向您傳送電子郵件,其中包含進一步重設密碼的操作說明。',
com_auth_reset_password_email_sent: '已向您傳送電子郵件,其中包含進一步重設密碼的操作說明。',
com_auth_error_reset_password:
'重設密碼時出現問題。找不到使用提供的電子郵件地址的使用者。請重試。',
com_auth_reset_password_success: '密碼重設成功',
@ -154,8 +147,7 @@ export default {
com_endpoint_openai_pres:
'數值範圍介於 -2.0 和 2.0 之間。正值會根據該 token 是否在目前的文字中出現來進行懲罰,增加模型談及新主題的可能性。',
com_endpoint_openai_custom_name_placeholder: '為 ChatGPT 設定自定義名稱',
com_endpoint_openai_prompt_prefix_placeholder:
'在系統訊息中設定自定義提示。',
com_endpoint_openai_prompt_prefix_placeholder: '在系統訊息中設定自定義提示。',
com_endpoint_anthropic_temp:
'範圍從 0 到 1。對於分析/多選題,使用接近 0 的溫度,對於創意和生成式任務,使用接近 1 的溫度。我們建議修改這個或 Top P但不建議兩者都修改。',
com_endpoint_anthropic_topp:
@ -171,8 +163,7 @@ export default {
com_endpoint_plug_skip_completion: '跳過完成步驟',
com_endpoint_disabled_with_tools: '與工具一起停用',
com_endpoint_disabled_with_tools_placeholder: '選擇工具時停用',
com_endpoint_plug_set_custom_instructions_for_gpt_placeholder:
'在系統訊息中新增自定義提示。',
com_endpoint_plug_set_custom_instructions_for_gpt_placeholder: '在系統訊息中新增自定義提示。',
com_endpoint_import: '匯入',
com_endpoint_set_custom_name: '設定自定義名稱,以便您找到此預設設定',
com_endpoint_preset: '預設設定',
@ -189,8 +180,7 @@ export default {
com_endpoint_save: '儲存',
com_endpoint_export: '匯出',
com_endpoint_save_as_preset: '另存為預設設定',
com_endpoint_presets_clear_warning:
'您確定要清除所有預設設定嗎?此操作無法復原。',
com_endpoint_presets_clear_warning: '您確定要清除所有預設設定嗎?此操作無法復原。',
com_endpoint_not_implemented: '尚未實做',
com_endpoint_no_presets: '尚無預設設定',
com_endpoint_not_available: '無可用選項',
@ -228,8 +218,7 @@ export default {
'確保點選「建立並繼續」並至少給予「Vertex AI 使用者」角色。最後,建立一個 JSON 金鑰以在此處匯入。',
com_nav_plugin_store: '外掛商店',
com_nav_plugin_search: '搜尋外掛',
com_nav_plugin_auth_error:
'嘗試驗證此外掛時發生錯誤。請重試。',
com_nav_plugin_auth_error: '嘗試驗證此外掛時發生錯誤。請重試。',
com_nav_close_menu: '關閉側邊選單',
com_nav_open_menu: '開啟側邊選單',
com_nav_export_filename: '檔名',
@ -250,11 +239,11 @@ export default {
com_nav_confirm_clear: '確認清除',
com_nav_close_sidebar: '關閉側邊選單',
com_nav_open_sidebar: '開啟側邊選單',
com_nav_send_message: '傳送訊息',
com_nav_log_out: '登出',
com_nav_user: '使用者',
com_nav_clear_conversation: '清除對話',
com_nav_clear_conversation_confirm_message:
'您確定要清除所有對話嗎?此操作無法復原。',
com_nav_clear_conversation_confirm_message: '您確定要清除所有對話嗎?此操作無法復原。',
com_nav_help_faq: '說明與常見問題',
com_nav_settings: '設定',
com_nav_search_placeholder: '搜尋訊息',