Skip to content

Commit

Permalink
🐛 fix: 修复多语言未加载问题
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmclin2 committed Jul 11, 2024
1 parent 848da10 commit 0ec684b
Show file tree
Hide file tree
Showing 61 changed files with 254 additions and 95 deletions.
3 changes: 2 additions & 1 deletion locales/bg-BG/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"useVideo": "Превключване на видео режим"
},
"agent": {
"create": "Създаване на агент",
"female": "Женски",
"male": "Мъжки",
"other": "Други"
},
"feature": {
"addProxy": "Добавяне на адрес на OpenAI прокси (по избор)",
"closeTip": "Затваряне на съвета",
"comfirmRetry": "Потвърждаване и опит за отново",
"confirmRetry": "Потвърждаване и опит за отново",
"startDesc": "Въведете вашия ключ за OpenAI API, за да започнете сесия. Приложението няма да запазва вашия ключ за API",
"startTitle": "Персонализиран ключ за API"
},
Expand Down
11 changes: 11 additions & 0 deletions locales/bg-BG/role.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"category": {
"animal": "животно",
"anime": "анимация",
"book": "книга",
"game": "игра",
"history": "история",
"movie": "филм",
"realistic": "реалистичен",
"vroid": "Vroid",
"vtuber": "VTuber"
},
"delRole": "Изтриване на роля",
"delRoleDesc": "Наистина ли искате да изтриете ролята {{name}} и свързаните с нея сесии? Действието не може да бъде отменено, моля, бъдете внимателни!",
"header": {
Expand Down
2 changes: 0 additions & 2 deletions locales/bg-BG/welcome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"agent": {
"description": "{{name}} е стандартният герой на Видол, твоят личен асистент",
"greeting": "Здравей, скъпи господарю! Аз съм твоят личен асистент {{name}}, радост е да ти помагам! Има ли нещо с което да ти помогна?",
"hello": "Здравей!",
"meta": {
"description": "Това е персонализиран герой",
Expand Down
3 changes: 2 additions & 1 deletion locales/de-DE/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"useVideo": "Videomodus verwenden"
},
"agent": {
"create": "Rolle erstellen",
"female": "Weiblich",
"male": "Männlich",
"other": "Andere"
},
"feature": {
"addProxy": "OpenAI-Proxy hinzufügen (optional)",
"closeTip": "Tipp schließen",
"comfirmRetry": "Bestätigen und erneut versuchen",
"confirmRetry": "Bestätigen und erneut versuchen",
"startDesc": "Geben Sie Ihren OpenAI-API-Schlüssel ein, um das Gespräch zu beginnen. Die App speichert Ihren API-Schlüssel nicht.",
"startTitle": "Benutzerdefinierter API-Schlüssel"
},
Expand Down
11 changes: 11 additions & 0 deletions locales/de-DE/role.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"category": {
"animal": "Tiere",
"anime": "Anime",
"book": "Buch",
"game": "Spiel",
"history": "Geschichte",
"movie": "Film",
"realistic": "Realistisch",
"vroid": "Vroid",
"vtuber": "VTuber"
},
"delRole": "Rolle löschen",
"delRoleDesc": "Sind Sie sicher, dass Sie die Rolle {{name}} und die zugehörigen Sitzungsnachrichten löschen möchten? Diese Aktion kann nicht rückgängig gemacht werden. Bitte seien Sie vorsichtig!",
"header": {
Expand Down
2 changes: 0 additions & 2 deletions locales/de-DE/welcome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"agent": {
"description": "{{name}} ist die Standardrolle von Vidol und dein exklusiver persönlicher Assistent.",
"greeting": "Hallo, lieber Besitzer! Ich bin dein persönlicher Assistent {{name}}, und ich stehe dir gerne zur Verfügung! Kann ich dir helfen?",
"hello": "Hallo",
"meta": {
"description": "Dies ist eine benutzerdefinierte Rolle",
Expand Down
3 changes: 2 additions & 1 deletion locales/en-US/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"useVideo": "Switch to video mode"
},
"agent": {
"create": "Create Role",
"female": "Female",
"male": "Male",
"other": "Other"
},
"feature": {
"addProxy": "Add OpenAI proxy address (optional)",
"closeTip": "Close tip",
"comfirmRetry": "Confirm and retry",
"confirmRetry": "Confirm and retry",
"startDesc": "Enter your OpenAI API Key to start the session. The application will not record your API Key.",
"startTitle": "Customize API Key"
},
Expand Down
11 changes: 11 additions & 0 deletions locales/en-US/role.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"category": {
"animal": "Animal",
"anime": "Anime",
"book": "Book",
"game": "Game",
"history": "History",
"movie": "Movie",
"realistic": "Realistic",
"vroid": "Vroid",
"vtuber": "VTuber"
},
"delRole": "Delete Role",
"delRoleDesc": "Are you sure you want to delete role {{name}} and its associated session messages? This action cannot be undone, so please proceed with caution!",
"header": {
Expand Down
2 changes: 0 additions & 2 deletions locales/en-US/welcome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"agent": {
"description": "{{name}} is the default character of Vidol, your exclusive personal assistant",
"greeting": "Hello, dear master! I am your personal assistant {{name}}, delighted to serve you! How can I assist you?",
"hello": "Hello there",
"meta": {
"description": "This is a custom character",
Expand Down
3 changes: 2 additions & 1 deletion locales/es-ES/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"useVideo": "Cambiar a modo vídeo"
},
"agent": {
"create": "Crear personaje",
"female": "Mujer",
"male": "Hombre",
"other": "Otro"
},
"feature": {
"addProxy": "Agregar dirección de proxy de OpenAI (opcional)",
"closeTip": "Cerrar consejo",
"comfirmRetry": "Confirmar y reintentar",
"confirmRetry": "Confirmar y reintentar",
"startDesc": "Ingresa tu clave de API de OpenAI para comenzar la sesión. La aplicación no guardará tu clave de API.",
"startTitle": "Clave de API personalizada"
},
Expand Down
11 changes: 11 additions & 0 deletions locales/es-ES/role.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"category": {
"animal": "Animales",
"anime": "Anime",
"book": "Libros",
"game": "Juegos",
"history": "Historia",
"movie": "Películas",
"realistic": "Realista",
"vroid": "Vroid",
"vtuber": "VTuber"
},
"delRole": "Eliminar rol",
"delRoleDesc": "¿Estás seguro de que deseas eliminar el rol {{name}} y los mensajes de sesión relacionados? Esta acción no se puede deshacer, ¡por favor, procede con precaución!",
"header": {
Expand Down
2 changes: 0 additions & 2 deletions locales/es-ES/welcome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"agent": {
"description": "{{name}} es el personaje predeterminado de Vidol, tu asistente personal exclusivo",
"greeting": "¡Hola, querido dueño! Soy tu asistente personal {{name}}, ¡encantado de servirte! ¿En qué puedo ayudarte?",
"hello": "¡Hola!",
"meta": {
"description": "Este es un personaje personalizado",
Expand Down
3 changes: 2 additions & 1 deletion locales/fr-FR/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"useVideo": "Activer le mode vidéo"
},
"agent": {
"create": "Créer un personnage",
"female": "Femme",
"male": "Homme",
"other": "Autre"
},
"feature": {
"addProxy": "Ajouter une adresse proxy OpenAI (facultatif)",
"closeTip": "Fermer l'astuce",
"comfirmRetry": "Confirmer et réessayer",
"confirmRetry": "Confirmer et réessayer",
"startDesc": "Entrez votre clé d'API OpenAI pour commencer la session. L'application ne stockera pas votre clé d'API.",
"startTitle": "Personnaliser la clé d'API"
},
Expand Down
11 changes: 11 additions & 0 deletions locales/fr-FR/role.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"category": {
"animal": "Animaux",
"anime": "Anime",
"book": "Livres",
"game": "Jeux",
"history": "Histoire",
"movie": "Films",
"realistic": "Réaliste",
"vroid": "Vroid",
"vtuber": "VTuber"
},
"delRole": "Supprimer le rôle",
"delRoleDesc": "Êtes-vous sûr de vouloir supprimer le rôle {{name}} ainsi que les messages de session associés ? Cette action est irréversible, veuillez procéder avec prudence !",
"header": {
Expand Down
2 changes: 0 additions & 2 deletions locales/fr-FR/welcome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"agent": {
"description": "{{name}} est le personnage par défaut de Vidol, votre assistant personnel exclusif.",
"greeting": "Bonjour, cher maître ! Je suis votre assistant personnel {{name}}, ravi de vous aider ! Comment puis-je vous assister ?",
"hello": "Bonjour !",
"meta": {
"description": "Ceci est un personnage personnalisé.",
Expand Down
3 changes: 2 additions & 1 deletion locales/it-IT/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"useVideo": "Attiva modalità video"
},
"agent": {
"create": "Creare ruolo",
"female": "Femminile",
"male": "Maschile",
"other": "Altro"
},
"feature": {
"addProxy": "Aggiungi indirizzo proxy OpenAI (opzionale)",
"closeTip": "Chiudi suggerimento",
"comfirmRetry": "Conferma e riprova",
"confirmRetry": "Conferma e riprova",
"startDesc": "Inserisci la tua chiave API di OpenAI per iniziare la sessione. L'applicazione non memorizzerà la tua chiave API",
"startTitle": "Personalizza la chiave API"
},
Expand Down
11 changes: 11 additions & 0 deletions locales/it-IT/role.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"category": {
"animal": "Animali",
"anime": "Anime",
"book": "Libri",
"game": "Giochi",
"history": "Storia",
"movie": "Film",
"realistic": "Realistico",
"vroid": "Vroid",
"vtuber": "VTuber"
},
"delRole": "Elimina ruolo",
"delRoleDesc": "Sei sicuro di voler eliminare il ruolo {{name}} e i messaggi di sessione correlati? L'eliminazione non può essere annullata, procedi con cautela!",
"header": {
Expand Down
2 changes: 0 additions & 2 deletions locales/it-IT/welcome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"agent": {
"description": "{{name}} è il personaggio predefinito di Vidol, il tuo assistente personale esclusivo",
"greeting": "Ciao, caro padrone! Sono il tuo assistente personale {{name}}, felice di servirti! C'è qualcosa in cui posso aiutarti?",
"hello": "Ciao",
"meta": {
"description": "Questo è un ruolo personalizzato",
Expand Down
3 changes: 2 additions & 1 deletion locales/ja-JP/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"useVideo": "ビデオモードに切り替える"
},
"agent": {
"create": "キャラクターを作成する",
"female": "女性",
"male": "男性",
"other": "その他"
},
"feature": {
"addProxy": "OpenAIプロキシアドレスを追加(オプション)",
"closeTip": "ヒントを閉じる",
"comfirmRetry": "確認して再試行する",
"confirmRetry": "確認して再試行する",
"startDesc": "OpenAI APIキーを入力して会話を開始できます。アプリはAPIキーを記録しません",
"startTitle": "APIキーをカスタマイズする"
},
Expand Down
11 changes: 11 additions & 0 deletions locales/ja-JP/role.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"category": {
"animal": "動物",
"anime": "アニメ",
"book": "書籍",
"game": "ゲーム",
"history": "歴史",
"movie": "映画",
"realistic": "現実",
"vroid": "Vroid",
"vtuber": "VTuber"
},
"delRole": "ロールを削除",
"delRoleDesc": "{{name}} と関連するセッションメッセージを削除しますか?一度削除すると元に戻せませんので、慎重に操作してください。",
"header": {
Expand Down
2 changes: 0 additions & 2 deletions locales/ja-JP/welcome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"agent": {
"description": "{{name}}はVidolのデフォルトキャラクターで、あなた専属の個人アシスタントです。",
"greeting": "こんにちは、大切なマスター!私はあなたの専属アシスタント{{name}}です。どうぞよろしくお願いします!何かお手伝いできることはありますか?",
"hello": "こんにちは",
"meta": {
"description": "これはカスタムキャラクターです",
Expand Down
3 changes: 2 additions & 1 deletion locales/ko-KR/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"useVideo": "비디오 모드 전환"
},
"agent": {
"create": "역할 생성",
"female": "여성",
"male": "남성",
"other": "기타"
},
"feature": {
"addProxy": "OpenAI 프록시 주소 추가 (선택 사항)",
"closeTip": "팁 닫기",
"comfirmRetry": "확인 및 다시 시도",
"confirmRetry": "확인 및 다시 시도",
"startDesc": "OpenAI API 키를 입력하여 대화를 시작하세요. 애플리케이션은 API 키를 기록하지 않습니다.",
"startTitle": "사용자 정의 API 키"
},
Expand Down
11 changes: 11 additions & 0 deletions locales/ko-KR/role.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"category": {
"animal": "동물",
"anime": "애니메이션",
"book": "",
"game": "게임",
"history": "역사",
"movie": "영화",
"realistic": "현실적",
"vroid": "Vroid",
"vtuber": "VTuber"
},
"delRole": "역할 삭제",
"delRoleDesc": "{{name}} 및 관련된 대화 메시지를 삭제하시겠습니까? 삭제 후에는 복구할 수 없으므로 신중하게 작업하십시오!",
"header": {
Expand Down
2 changes: 0 additions & 2 deletions locales/ko-KR/welcome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"agent": {
"description": "{{name}}은(는) Vidol의 기본 캐릭터로, 당신만을 위한 개인 비서입니다.",
"greeting": "안녕하세요, 사랑하는 주인님! 저는 당신의 개인 비서, {{name}}입니다. 기쁜 마음으로 도와드리겠습니다! 어떤 것을 도와드릴까요?",
"hello": "안녕하세요",
"meta": {
"description": "이것은 사용자 정의 캐릭터입니다.",
Expand Down
3 changes: 2 additions & 1 deletion locales/nl-NL/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"useVideo": "Overschakelen naar videomodus"
},
"agent": {
"create": "Maak een rol aan",
"female": "Vrouw",
"male": "Man",
"other": "Anders"
},
"feature": {
"addProxy": "Voeg OpenAI proxy-adres toe (optioneel)",
"closeTip": "Tip sluiten",
"comfirmRetry": "Bevestig en opnieuw proberen",
"confirmRetry": "Bevestig en opnieuw proberen",
"startDesc": "Voer je OpenAI API Key in om de sessie te starten. De applicatie zal je API Key niet opslaan",
"startTitle": "Aangepaste API Key"
},
Expand Down
11 changes: 11 additions & 0 deletions locales/nl-NL/role.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{
"category": {
"animal": "Dieren",
"anime": "Anime",
"book": "Boek",
"game": "Spel",
"history": "Geschiedenis",
"movie": "Film",
"realistic": "Realistisch",
"vroid": "Vroid",
"vtuber": "VTuber"
},
"delRole": "Verwijder rol",
"delRoleDesc": "Weet je zeker dat je de rol {{name}} en gerelateerde sessieberichten wilt verwijderen? Deze actie kan niet ongedaan worden gemaakt, wees voorzichtig!",
"header": {
Expand Down
2 changes: 0 additions & 2 deletions locales/nl-NL/welcome.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"agent": {
"description": "{{name}} is de standaardrol van Vidol, en je persoonlijke assistent",
"greeting": "Hallo, lieve meester! Ik ben je persoonlijke assistent {{name}}, ik ben blij je te kunnen bedienen! Is er iets waar ik je bij kan helpen?",
"hello": "Hallo",
"meta": {
"description": "Dit is een aangepaste rol",
Expand Down
3 changes: 2 additions & 1 deletion locales/pl-PL/features.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
"useVideo": "Przełącz na tryb wideo"
},
"agent": {
"create": "Utwórz postać",
"female": "Kobieta",
"male": "Mężczyzna",
"other": "Inne"
},
"feature": {
"addProxy": "Dodaj adres proxy OpenAI (opcjonalnie)",
"closeTip": "Zamknij wskazówkę",
"comfirmRetry": "Potwierdź i spróbuj ponownie",
"confirmRetry": "Potwierdź i spróbuj ponownie",
"startDesc": "Wprowadź swój klucz API OpenAI, aby rozpocząć rozmowę. Aplikacja nie będzie rejestrować Twojego klucza API",
"startTitle": "Niestandardowy klucz API"
},
Expand Down
Loading

0 comments on commit 0ec684b

Please sign in to comment.