Skip to content

Commit

Permalink
💄 style: refactor setting layout and improve setting design (lobehub#…
Browse files Browse the repository at this point in the history
…2344)

* ♻️ refactor: Refactor Setting Layout

* ♻️ refactor: Update useQueryRoute and add test

* ✅ test: Update test

* 🐛 fix: Fix i18n

* 💄 style: Fix style

* 🐛 fix: Fix review problem

* 💄 style: Update styles and i18n

* 💄 style: Update style

* 📝 docs: Update i18n
  • Loading branch information
canisminor1990 authored May 2, 2024
1 parent 012eb15 commit fa16721
Show file tree
Hide file tree
Showing 182 changed files with 2,266 additions and 1,392 deletions.
1 change: 1 addition & 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 Down
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
1 change: 1 addition & 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 Down
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
1 change: 1 addition & 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 Down
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
1 change: 1 addition & 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 Down
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
1 change: 1 addition & 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 Down
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
1 change: 1 addition & 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": "moi",
"setting": "Paramètre"
},
"telemetry": {
Expand Down
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
1 change: 1 addition & 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 Down
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
1 change: 1 addition & 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 Down
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
1 change: 1 addition & 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 Down
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
1 change: 1 addition & 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 Down
5 changes: 4 additions & 1 deletion locales/nl-NL/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
}
},
"header": {
"desc": "Voorkeuren en modelinstellingen.",
"global": "Algemene instellingen",
"session": "Sessie-instellingen",
"sessionWithName": "Sessie-instellingen · {{name}}"
"sessionDesc": "Rolinstellingen en sessievoorkeuren.",
"sessionWithName": "Sessie-instellingen · {{name}}",
"title": "Instellingen"
},
"llm": {
"checker": {
Expand Down
1 change: 1 addition & 0 deletions locales/pl-PL/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"tab": {
"chat": "Czat",
"market": "Odkrywaj",
"me": "ja",
"setting": "Ustawienia"
},
"telemetry": {
Expand Down
5 changes: 4 additions & 1 deletion locales/pl-PL/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
}
},
"header": {
"desc": "Preferencje i ustawienia modelu.",
"global": "Ustawienia globalne",
"session": "Ustawienia sesji",
"sessionWithName": "Ustawienia sesji · {{name}}"
"sessionDesc": "Ustawienia postaci i preferencje sesji.",
"sessionWithName": "Ustawienia sesji · {{name}}",
"title": "Ustawienia"
},
"llm": {
"checker": {
Expand Down
1 change: 1 addition & 0 deletions locales/pt-BR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"tab": {
"chat": "Chat",
"market": "Descobrir",
"me": "eu",
"setting": "Configuração"
},
"telemetry": {
Expand Down
5 changes: 4 additions & 1 deletion locales/pt-BR/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
}
},
"header": {
"desc": "Preferências e configurações do modelo.",
"global": "Configurações Globais",
"session": "Configurações de Sessão",
"sessionWithName": "Configurações de Sessão · {{name}}"
"sessionDesc": "Configurações de personagem e preferências de sessão.",
"sessionWithName": "Configurações de Sessão · {{name}}",
"title": "Configurações"
},
"llm": {
"checker": {
Expand Down
1 change: 1 addition & 0 deletions locales/ru-RU/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 Down
5 changes: 4 additions & 1 deletion locales/ru-RU/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
1 change: 1 addition & 0 deletions locales/tr-TR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"tab": {
"chat": "Chat",
"market": "Keşfet",
"me": "ben",
"setting": "Ayarlar"
},
"telemetry": {
Expand Down
5 changes: 4 additions & 1 deletion locales/tr-TR/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
}
},
"header": {
"desc": "Tercihler ve model ayarları.",
"global": "Genel Ayarlar",
"session": "Oturum Ayarları",
"sessionWithName": "Oturum Ayarları · {{name}}"
"sessionDesc": "Karakter ayarları ve oturum tercihleri.",
"sessionWithName": "Oturum Ayarları · {{name}}",
"title": "Ayarlar"
},
"llm": {
"checker": {
Expand Down
1 change: 1 addition & 0 deletions locales/vi-VN/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
"tab": {
"chat": "Trò chuyện",
"market": "Thị trường",
"me": "Tôi",
"setting": "Cài đặt"
},
"telemetry": {
Expand Down
5 changes: 4 additions & 1 deletion locales/vi-VN/setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@
}
},
"header": {
"desc": "Thiết lập Ưu tiên và Mô hình.",
"global": "Cài đặt toàn cầu",
"session": "Cài đặt cuộc trò chuyện",
"sessionWithName": "Cài đặt cuộc trò chuyện · {{name}}"
"sessionDesc": "Thiết lập nhân vật và ưu tiên phiên hội thoại.",
"sessionWithName": "Cài đặt cuộc trò chuyện · {{name}}",
"title": "Cài đặt"
},
"llm": {
"checker": {
Expand Down
1 change: 1 addition & 0 deletions locales/zh-CN/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 Down
5 changes: 4 additions & 1 deletion locales/zh-CN/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
1 change: 1 addition & 0 deletions locales/zh-TW/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 Down
5 changes: 4 additions & 1 deletion locales/zh-TW/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
Loading

0 comments on commit fa16721

Please sign in to comment.