Skip to content

Commit

Permalink
♻️ refactor: Refactor Setting Layout (lobehub#2336)
Browse files Browse the repository at this point in the history
* ♻️ refactor: Refactor Setting Layout

* ✨ feat: Add Setting Modal

* ♻️ refactor: Refactor Setting Layout

* 💄 style: Update Modal style

* 🐛 fix: Fix router query
  • Loading branch information
canisminor1990 authored May 1, 2024
1 parent 8bdc4e2 commit 282082e
Show file tree
Hide file tree
Showing 210 changed files with 3,214 additions and 1,570 deletions.
14 changes: 14 additions & 0 deletions locales/ar/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"tab": {
"chat": "الدردشة",
"market": "الاكتشاف",
"me": "أنا",
"setting": "الإعدادات"
},
"telemetry": {
Expand All @@ -156,5 +157,18 @@
"action": "ترقية",
"hasNew": "يوجد تحديث متاح",
"newVersion": "هناك إصدار جديد متاح: {{version}}"
},
"userPanel": {
"billing": "إدارة الفواتير",
"discord": "الدعم المجتمعي",
"docs": "وثائق الاستخدام",
"email": "الدعم عبر البريد الإلكتروني",
"feedback": "التغذية الراجعة والاقتراحات",
"help": "مركز المساعدة",
"plans": "الخطط الاشتراكية",
"profile": "إدارة الحساب",
"setting": "إعدادات التطبيق",
"usages": "إحصاءات الاستخدام",
"warn": "هذا الدخول سيتم إيقافه قريبًا، يرجى استدعاء هذه القائمة من زاوية الصورة الرمزية في الزاوية اليسرى العلوية"
}
}
5 changes: 4 additions & 1 deletion locales/ar/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
}
},
"header": {
"desc": "إعدادات التفضيلات والنماذج.",
"global": "إعدادات عامة",
"session": "إعدادات الجلسة",
"sessionWithName": "إعدادات الجلسة · {{name}}"
"sessionDesc": "إعداد الشخصية وتفضيلات الجلسة.",
"sessionWithName": "إعدادات الجلسة · {{name}}",
"title": "إعدادات"
},
"llm": {
"checker": {
Expand Down
14 changes: 14 additions & 0 deletions locales/bg-BG/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"tab": {
"chat": "Чат",
"market": "Открий",
"me": "",
"setting": "Настройки"
},
"telemetry": {
Expand All @@ -156,5 +157,18 @@
"action": "Надстрой",
"hasNew": "Налична е нова актуализация",
"newVersion": "Налична е нова версия: {{version}}"
},
"userPanel": {
"billing": "Сметки",
"discord": "Общностна поддръжка",
"docs": "Документация",
"email": "Имейл поддръжка",
"feedback": "Обратна връзка и предложения",
"help": "Център за помощ",
"plans": "Планове за абонамент",
"profile": "Управление на профила",
"setting": "Настройки на приложението",
"usages": "Статистика за използване",
"warn": "Този вход скоро ще бъде премахнат, моля използвайте менюто в горния ляв ъгъл, за да достъпите тази информация"
}
}
5 changes: 4 additions & 1 deletion locales/bg-BG/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
}
},
"header": {
"desc": "Предпочитания и настройки на модела.",
"global": "Глобални настройки",
"session": "Настройки на сесията",
"sessionWithName": "Настройки на сесията · {{name}}"
"sessionDesc": "Задаване на роля и предпочитания за сесия.",
"sessionWithName": "Настройки на сесията · {{name}}",
"title": "Настройки"
},
"llm": {
"checker": {
Expand Down
14 changes: 14 additions & 0 deletions locales/de-DE/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"tab": {
"chat": "Chat",
"market": "Entdecken",
"me": "Ich",
"setting": "Einstellung"
},
"telemetry": {
Expand All @@ -156,5 +157,18 @@
"action": "Aktualisieren",
"hasNew": "Neue Version verfügbar",
"newVersion": "Neue Version verfügbar: {{version}}"
},
"userPanel": {
"billing": "Abrechnung",
"discord": "Community-Support",
"docs": "Dokumentation",
"email": "E-Mail-Support",
"feedback": "Feedback und Vorschläge",
"help": "Hilfezentrum",
"plans": "Pläne",
"profile": "Profil",
"setting": "Einstellungen",
"usages": "Nutzung",
"warn": "Dieser Zugang wird bald entfernt. Bitte rufen Sie das Menü über das Profilbild oben links auf."
}
}
5 changes: 4 additions & 1 deletion locales/de-DE/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
}
},
"header": {
"desc": "Präferenzen und Modellkonfigurationen.",
"global": "Global Einstellungen",
"session": "Sitzungseinstellungen",
"sessionWithName": "Sitzungseinstellungen · {{name}}"
"sessionDesc": "Rollenkonfiguration und Sitzungspräferenzen.",
"sessionWithName": "Sitzungseinstellungen · {{name}}",
"title": "Einstellungen"
},
"llm": {
"checker": {
Expand Down
14 changes: 14 additions & 0 deletions locales/en-US/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"tab": {
"chat": "Chat",
"market": "Discover",
"me": "Me",
"setting": "Settings"
},
"telemetry": {
Expand All @@ -156,5 +157,18 @@
"action": "Upgrade",
"hasNew": "New update available",
"newVersion": "New version available: {{version}}"
},
"userPanel": {
"billing": "Billing",
"discord": "Community Support",
"docs": "Documentation",
"email": "Email Support",
"feedback": "Feedback & Suggestions",
"help": "Help Center",
"plans": "Subscription Plans",
"profile": "Account Management",
"setting": "App Settings",
"usages": "Usage Statistics",
"warn": "This entry will be deprecated soon. Please access this menu from the profile icon on the top left corner."
}
}
5 changes: 4 additions & 1 deletion locales/en-US/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
}
},
"header": {
"desc": "Preferences and model settings.",
"global": "Global Settings",
"session": "Session Settings",
"sessionWithName": "Session Settings · {{name}}"
"sessionDesc": "Role settings and session preferences.",
"sessionWithName": "Session Settings · {{name}}",
"title": "Settings"
},
"llm": {
"checker": {
Expand Down
14 changes: 14 additions & 0 deletions locales/es-ES/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"tab": {
"chat": "Chat",
"market": "Descubrir",
"me": "Yo",
"setting": "Configuración"
},
"telemetry": {
Expand All @@ -156,5 +157,18 @@
"action": "Actualizar",
"hasNew": "Hay una nueva actualización disponible",
"newVersion": "Nueva versión disponible: {{version}}"
},
"userPanel": {
"billing": "Gestión de facturación",
"discord": "Soporte comunitario",
"docs": "Documentación de uso",
"email": "Soporte por correo electrónico",
"feedback": "Comentarios y sugerencias",
"help": "Centro de ayuda",
"plans": "Planes de suscripción",
"profile": "Gestión de cuenta",
"setting": "Configuración de la aplicación",
"usages": "Estadísticas de uso",
"warn": "Esta entrada pronto se eliminará, por favor, acceda a este menú desde la imagen de perfil en la esquina superior izquierda"
}
}
5 changes: 4 additions & 1 deletion locales/es-ES/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
}
},
"header": {
"desc": "Preferencias y configuración del modelo.",
"global": "Configuración global",
"session": "Configuración de la sesión",
"sessionWithName": "Configuración de la sesión · {{name}}"
"sessionDesc": "Configuración de roles y preferencias de sesión.",
"sessionWithName": "Configuración de la sesión · {{name}}",
"title": "Configuración"
},
"llm": {
"checker": {
Expand Down
14 changes: 14 additions & 0 deletions locales/fr-FR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"tab": {
"chat": "Conversation",
"market": "Découvrir",
"me": "",
"setting": "Paramètre"
},
"telemetry": {
Expand All @@ -156,5 +157,18 @@
"action": "Mettre à jour",
"hasNew": "Nouvelle mise à jour disponible",
"newVersion": "Nouvelle version disponible : {{version}}"
},
"userPanel": {
"billing": "Gestion de la facturation",
"discord": "Support communautaire",
"docs": "Documentation d'utilisation",
"email": "Support par e-mail",
"feedback": "Retours et suggestions",
"help": "Centre d'aide",
"plans": "Forfaits d'abonnement",
"profile": "Gestion du compte",
"setting": "Paramètres de l'application",
"usages": "Statistiques d'utilisation",
"warn": "Cette entrée sera bientôt supprimée. Veuillez accéder à ce menu en cliquant sur l'avatar en haut à gauche."
}
}
5 changes: 4 additions & 1 deletion locales/fr-FR/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
}
},
"header": {
"desc": "Préférences et paramètres du modèle.",
"global": "Paramètres globaux",
"session": "Paramètres de session",
"sessionWithName": "Paramètres de session · {{name}}"
"sessionDesc": "Paramètres de personnage et préférences de session.",
"sessionWithName": "Paramètres de session · {{name}}",
"title": "Paramètres"
},
"llm": {
"checker": {
Expand Down
14 changes: 14 additions & 0 deletions locales/it-IT/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"tab": {
"chat": "Chat",
"market": "Scopri",
"me": "io",
"setting": "Impostazioni"
},
"telemetry": {
Expand All @@ -156,5 +157,18 @@
"action": "Aggiorna",
"hasNew": "Nuovo aggiornamento disponibile",
"newVersion": "Nuova versione disponibile: {{version}}"
},
"userPanel": {
"billing": "Gestione fatturazione",
"discord": "Supporto comunità",
"docs": "Documentazione",
"email": "Supporto email",
"feedback": "Feedback e suggerimenti",
"help": "Centro assistenza",
"plans": "Piani di abbonamento",
"profile": "Gestione account",
"setting": "Impostazioni app",
"usages": "Statistiche utilizzo",
"warn": "Questa voce verrà presto rimossa, successivamente accedi a questo menu dall'icona in alto a sinistra"
}
}
5 changes: 4 additions & 1 deletion locales/it-IT/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
}
},
"header": {
"desc": "Preferenze e impostazioni del modello.",
"global": "Impostazioni globali",
"session": "Impostazioni della sessione",
"sessionWithName": "Impostazioni della sessione · {{name}}"
"sessionDesc": "Impostazioni del personaggio e preferenze di sessione.",
"sessionWithName": "Impostazioni della sessione · {{name}}",
"title": "Impostazioni"
},
"llm": {
"checker": {
Expand Down
14 changes: 14 additions & 0 deletions locales/ja-JP/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"tab": {
"chat": "チャット",
"market": "探す",
"me": "",
"setting": "設定"
},
"telemetry": {
Expand All @@ -156,5 +157,18 @@
"action": "アップグレード",
"hasNew": "利用可能な更新があります",
"newVersion": "新しいバージョンが利用可能です:{{version}}"
},
"userPanel": {
"billing": "請求管理",
"discord": "コミュニティサポート",
"docs": "ドキュメント",
"email": "メールサポート",
"feedback": "フィードバック",
"help": "ヘルプセンター",
"plans": "プラン",
"profile": "アカウント管理",
"setting": "アプリ設定",
"usages": "利用状況",
"warn": "このエントリは近日廃止予定です。今後は左上のアイコンからこのメニューを呼び出してください"
}
}
5 changes: 4 additions & 1 deletion locales/ja-JP/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
}
},
"header": {
"desc": "設定優先順位和模型設置。",
"global": "グローバル設定",
"session": "セッション設定",
"sessionWithName": "セッション設定 · {{name}}"
"sessionDesc": "キャラクター設定とセッションの好み。",
"sessionWithName": "セッション設定 · {{name}}",
"title": "設定"
},
"llm": {
"checker": {
Expand Down
14 changes: 14 additions & 0 deletions locales/ko-KR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"tab": {
"chat": "채팅",
"market": "발견",
"me": "",
"setting": "설정"
},
"telemetry": {
Expand All @@ -156,5 +157,18 @@
"action": "업그레이드",
"hasNew": "사용 가능한 업데이트가 있습니다",
"newVersion": "새 버전 사용 가능: {{version}}"
},
"userPanel": {
"billing": "청구서 관리",
"discord": "커뮤니티 지원",
"docs": "사용 설명서",
"email": "이메일 지원",
"feedback": "피드백 및 제안",
"help": "도움말 센터",
"plans": "요금제",
"profile": "계정 관리",
"setting": "앱 설정",
"usages": "사용량 통계",
"warn": "이 항목은 곧 제거될 예정이며, 향후에는 왼쪽 상단의 프로필 아이콘을 클릭하여 이 메뉴를 열어주세요"
}
}
5 changes: 4 additions & 1 deletion locales/ko-KR/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
}
},
"header": {
"desc": "설정 및 모델 설정.",
"global": "전역 설정",
"session": "세션 설정",
"sessionWithName": "세션 설정 · {{name}}"
"sessionDesc": "캐릭터 설정 및 세션 환경 설정.",
"sessionWithName": "세션 설정 · {{name}}",
"title": "설정"
},
"llm": {
"checker": {
Expand Down
14 changes: 14 additions & 0 deletions locales/nl-NL/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"tab": {
"chat": "会话",
"market": "发现",
"me": "",
"setting": "设置"
},
"telemetry": {
Expand All @@ -156,5 +157,18 @@
"action": "升级",
"hasNew": "有可用更新",
"newVersion": "有新版本可用:{{version}}"
},
"userPanel": {
"billing": "账单管理",
"discord": "社区支持",
"docs": "使用文档",
"email": "邮件支持",
"feedback": "反馈与建议",
"help": "帮助中心",
"plans": "订阅方案",
"profile": "账户管理",
"setting": "应用设置",
"usages": "用量统计",
"warn": "此入口即将下线,后续请从左上角头像唤起本菜单"
}
}
Loading

0 comments on commit 282082e

Please sign in to comment.