Skip to content

Commit 6d8e7bb

Browse files
Chenjiayuan195Your Name
andauthored
Internationalization support for custom storage path functionality (#1957)
Co-authored-by: Your Name <[email protected]>
1 parent fe4e732 commit 6d8e7bb

File tree

16 files changed

+192
-40
lines changed

16 files changed

+192
-40
lines changed

src/i18n/locales/ca/common.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
"hmr_not_running": "El servidor de desenvolupament local no està executant-se, l'HMR no funcionarà. Si us plau, executa 'npm run dev' abans de llançar l'extensió per habilitar l'HMR.",
4949
"retrieve_current_mode": "Error en recuperar el mode actual de l'estat.",
5050
"failed_delete_repo": "Ha fallat l'eliminació del repositori o branca associada: {{error}}",
51-
"failed_remove_directory": "Ha fallat l'eliminació del directori de tasques: {{error}}"
51+
"failed_remove_directory": "Ha fallat l'eliminació del directori de tasques: {{error}}",
52+
"custom_storage_path_unusable": "La ruta d'emmagatzematge personalitzada \"{{path}}\" no és utilitzable, s'utilitzarà la ruta predeterminada",
53+
"cannot_access_path": "No es pot accedir a la ruta {{path}}: {{error}}"
5254
},
5355
"warnings": {
5456
"no_terminal_content": "No s'ha seleccionat contingut de terminal",
@@ -61,7 +63,9 @@
6163
"mcp_server_restarting": "Reiniciant el servidor MCP {{serverName}}...",
6264
"mcp_server_connected": "Servidor MCP {{serverName}} connectat",
6365
"mcp_server_deleted": "Servidor MCP eliminat: {{serverName}}",
64-
"mcp_server_not_found": "Servidor \"{{serverName}}\" no trobat a la configuració"
66+
"mcp_server_not_found": "Servidor \"{{serverName}}\" no trobat a la configuració",
67+
"custom_storage_path_set": "Ruta d'emmagatzematge personalitzada establerta: {{path}}",
68+
"default_storage_path": "S'ha reprès l'ús de la ruta d'emmagatzematge predeterminada"
6569
},
6670
"answers": {
6771
"yes": "",
@@ -73,5 +77,11 @@
7377
"tasks": {
7478
"canceled": "Error de tasca: Ha estat aturada i cancel·lada per l'usuari.",
7579
"deleted": "Fallada de tasca: Ha estat aturada i eliminada per l'usuari."
80+
},
81+
"storage": {
82+
"prompt_custom_path": "Introdueix una ruta d'emmagatzematge personalitzada per a l'historial de converses o deixa-ho buit per utilitzar la ubicació predeterminada",
83+
"path_placeholder": "D:\\RooCodeStorage",
84+
"enter_absolute_path": "Introdueix una ruta completa (p. ex. D:\\RooCodeStorage o /home/user/storage)",
85+
"enter_valid_path": "Introdueix una ruta vàlida"
7686
}
7787
}

src/i18n/locales/de/common.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
"hmr_not_running": "Der lokale Entwicklungsserver läuft nicht, HMR wird nicht funktionieren. Bitte führen Sie 'npm run dev' vor dem Start der Erweiterung aus, um HMR zu aktivieren.",
4949
"retrieve_current_mode": "Fehler beim Abrufen des aktuellen Modus aus dem Zustand.",
5050
"failed_delete_repo": "Fehler beim Löschen des zugehörigen Shadow-Repositorys oder -Zweigs: {{error}}",
51-
"failed_remove_directory": "Fehler beim Entfernen des Aufgabenverzeichnisses: {{error}}"
51+
"failed_remove_directory": "Fehler beim Entfernen des Aufgabenverzeichnisses: {{error}}",
52+
"custom_storage_path_unusable": "Benutzerdefinierter Speicherpfad \"{{path}}\" ist nicht verwendbar, Standardpfad wird verwendet",
53+
"cannot_access_path": "Zugriff auf Pfad {{path}} nicht möglich: {{error}}"
5254
},
5355
"warnings": {
5456
"no_terminal_content": "Kein Terminal-Inhalt ausgewählt",
@@ -61,7 +63,9 @@
6163
"mcp_server_restarting": "MCP-Server {{serverName}} wird neu gestartet...",
6264
"mcp_server_connected": "MCP-Server {{serverName}} verbunden",
6365
"mcp_server_deleted": "MCP-Server gelöscht: {{serverName}}",
64-
"mcp_server_not_found": "Server \"{{serverName}}\" nicht in der Konfiguration gefunden"
66+
"mcp_server_not_found": "Server \"{{serverName}}\" nicht in der Konfiguration gefunden",
67+
"custom_storage_path_set": "Benutzerdefinierter Speicherpfad festgelegt: {{path}}",
68+
"default_storage_path": "Auf Standardspeicherpfad zurückgesetzt"
6569
},
6670
"answers": {
6771
"yes": "Ja",
@@ -73,5 +77,11 @@
7377
"tasks": {
7478
"canceled": "Aufgabenfehler: Die Aufgabe wurde vom Benutzer gestoppt und abgebrochen.",
7579
"deleted": "Aufgabenfehler: Die Aufgabe wurde vom Benutzer gestoppt und gelöscht."
80+
},
81+
"storage": {
82+
"prompt_custom_path": "Gib den benutzerdefinierten Speicherpfad für den Gesprächsverlauf ein, leer lassen für Standardspeicherort",
83+
"path_placeholder": "D:\\RooCodeStorage",
84+
"enter_absolute_path": "Bitte gib einen absoluten Pfad ein (z.B. D:\\RooCodeStorage oder /home/user/storage)",
85+
"enter_valid_path": "Bitte gib einen gültigen Pfad ein"
7686
}
7787
}

src/i18n/locales/en/common.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
"hmr_not_running": "Local development server is not running, HMR will not work. Please run 'npm run dev' before launching the extension to enable HMR.",
4949
"retrieve_current_mode": "Error: failed to retrieve current mode from state.",
5050
"failed_delete_repo": "Failed to delete associated shadow repository or branch: {{error}}",
51-
"failed_remove_directory": "Failed to remove task directory: {{error}}"
51+
"failed_remove_directory": "Failed to remove task directory: {{error}}",
52+
"custom_storage_path_unusable": "Custom storage path \"{{path}}\" is unusable, will use default path",
53+
"cannot_access_path": "Cannot access path {{path}}: {{error}}"
5254
},
5355
"warnings": {
5456
"no_terminal_content": "No terminal content selected",
@@ -61,7 +63,9 @@
6163
"mcp_server_restarting": "Restarting {{serverName}} MCP server...",
6264
"mcp_server_connected": "{{serverName}} MCP server connected",
6365
"mcp_server_deleted": "Deleted MCP server: {{serverName}}",
64-
"mcp_server_not_found": "Server \"{{serverName}}\" not found in configuration"
66+
"mcp_server_not_found": "Server \"{{serverName}}\" not found in configuration",
67+
"custom_storage_path_set": "Custom storage path set: {{path}}",
68+
"default_storage_path": "Reverted to using default storage path"
6569
},
6670
"answers": {
6771
"yes": "Yes",
@@ -73,5 +77,11 @@
7377
"tasks": {
7478
"canceled": "Task error: It was stopped and canceled by the user.",
7579
"deleted": "Task failure: It was stopped and deleted by the user."
80+
},
81+
"storage": {
82+
"prompt_custom_path": "Enter custom conversation history storage path, leave empty to use default location",
83+
"path_placeholder": "D:\\RooCodeStorage",
84+
"enter_absolute_path": "Please enter an absolute path (e.g. D:\\RooCodeStorage or /home/user/storage)",
85+
"enter_valid_path": "Please enter a valid path"
7686
}
7787
}

src/i18n/locales/es/common.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
"hmr_not_running": "El servidor de desarrollo local no está en ejecución, HMR no funcionará. Por favor, ejecuta 'npm run dev' antes de lanzar la extensión para habilitar HMR.",
4949
"retrieve_current_mode": "Error al recuperar el modo actual del estado.",
5050
"failed_delete_repo": "Error al eliminar el repositorio o rama asociada: {{error}}",
51-
"failed_remove_directory": "Error al eliminar el directorio de tareas: {{error}}"
51+
"failed_remove_directory": "Error al eliminar el directorio de tareas: {{error}}",
52+
"custom_storage_path_unusable": "La ruta de almacenamiento personalizada \"{{path}}\" no es utilizable, se usará la ruta predeterminada",
53+
"cannot_access_path": "No se puede acceder a la ruta {{path}}: {{error}}"
5254
},
5355
"warnings": {
5456
"no_terminal_content": "No hay contenido de terminal seleccionado",
@@ -61,7 +63,9 @@
6163
"mcp_server_restarting": "Reiniciando el servidor MCP {{serverName}}...",
6264
"mcp_server_connected": "Servidor MCP {{serverName}} conectado",
6365
"mcp_server_deleted": "Servidor MCP eliminado: {{serverName}}",
64-
"mcp_server_not_found": "Servidor \"{{serverName}}\" no encontrado en la configuración"
66+
"mcp_server_not_found": "Servidor \"{{serverName}}\" no encontrado en la configuración",
67+
"custom_storage_path_set": "Ruta de almacenamiento personalizada establecida: {{path}}",
68+
"default_storage_path": "Se ha vuelto a usar la ruta de almacenamiento predeterminada"
6569
},
6670
"answers": {
6771
"yes": "",
@@ -73,5 +77,11 @@
7377
"tasks": {
7478
"canceled": "Error de tarea: Fue detenida y cancelada por el usuario.",
7579
"deleted": "Fallo de tarea: Fue detenida y eliminada por el usuario."
80+
},
81+
"storage": {
82+
"prompt_custom_path": "Ingresa la ruta de almacenamiento personalizada para el historial de conversaciones, déjala vacía para usar la ubicación predeterminada",
83+
"path_placeholder": "D:\\RooCodeStorage",
84+
"enter_absolute_path": "Por favor, ingresa una ruta absoluta (por ejemplo, D:\\RooCodeStorage o /home/user/storage)",
85+
"enter_valid_path": "Por favor, ingresa una ruta válida"
7686
}
7787
}

src/i18n/locales/fr/common.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
"hmr_not_running": "Le serveur de développement local n'est pas en cours d'exécution, HMR ne fonctionnera pas. Veuillez exécuter 'npm run dev' avant de lancer l'extension pour activer l'HMR.",
4949
"retrieve_current_mode": "Erreur lors de la récupération du mode actuel à partir du state.",
5050
"failed_delete_repo": "Échec de la suppression du repo fantôme ou de la branche associée : {{error}}",
51-
"failed_remove_directory": "Échec de la suppression du répertoire de tâches : {{error}}"
51+
"failed_remove_directory": "Échec de la suppression du répertoire de tâches : {{error}}",
52+
"custom_storage_path_unusable": "Le chemin de stockage personnalisé \"{{path}}\" est inutilisable, le chemin par défaut sera utilisé",
53+
"cannot_access_path": "Impossible d'accéder au chemin {{path}} : {{error}}"
5254
},
5355
"warnings": {
5456
"no_terminal_content": "Aucun contenu de terminal sélectionné",
@@ -61,7 +63,9 @@
6163
"mcp_server_restarting": "Redémarrage du serveur MCP {{serverName}}...",
6264
"mcp_server_connected": "Serveur MCP {{serverName}} connecté",
6365
"mcp_server_deleted": "Serveur MCP supprimé : {{serverName}}",
64-
"mcp_server_not_found": "Serveur \"{{serverName}}\" introuvable dans la configuration"
66+
"mcp_server_not_found": "Serveur \"{{serverName}}\" introuvable dans la configuration",
67+
"custom_storage_path_set": "Chemin de stockage personnalisé défini : {{path}}",
68+
"default_storage_path": "Retour au chemin de stockage par défaut"
6569
},
6670
"answers": {
6771
"yes": "Oui",
@@ -73,5 +77,11 @@
7377
"tasks": {
7478
"canceled": "Erreur de tâche : Elle a été arrêtée et annulée par l'utilisateur.",
7579
"deleted": "Échec de la tâche : Elle a été arrêtée et supprimée par l'utilisateur."
80+
},
81+
"storage": {
82+
"prompt_custom_path": "Entrez le chemin de stockage personnalisé pour l'historique des conversations, laissez vide pour utiliser l'emplacement par défaut",
83+
"path_placeholder": "D:\\RooCodeStorage",
84+
"enter_absolute_path": "Veuillez entrer un chemin absolu (ex. D:\\RooCodeStorage ou /home/user/storage)",
85+
"enter_valid_path": "Veuillez entrer un chemin valide"
7686
}
7787
}

src/i18n/locales/hi/common.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
"hmr_not_running": "स्थानीय विकास सर्वर चल नहीं रहा है, HMR काम नहीं करेगा। कृपया HMR सक्षम करने के लिए एक्सटेंशन लॉन्च करने से पहले 'npm run dev' चलाएँ।",
4949
"retrieve_current_mode": "स्टेट से वर्तमान मोड प्राप्त करने में त्रुटि।",
5050
"failed_delete_repo": "संबंधित शैडो रिपॉजिटरी या ब्रांच हटाने में विफल: {{error}}",
51-
"failed_remove_directory": "टास्क डायरेक्टरी हटाने में विफल: {{error}}"
51+
"failed_remove_directory": "टास्क डायरेक्टरी हटाने में विफल: {{error}}",
52+
"custom_storage_path_unusable": "कस्टम स्टोरेज पाथ \"{{path}}\" उपयोग योग्य नहीं है, डिफ़ॉल्ट पाथ का उपयोग किया जाएगा",
53+
"cannot_access_path": "पाथ {{path}} तक पहुंच नहीं पा रहे हैं: {{error}}"
5254
},
5355
"warnings": {
5456
"no_terminal_content": "कोई टर्मिनल सामग्री चयनित नहीं",
@@ -61,7 +63,9 @@
6163
"mcp_server_restarting": "{{serverName}} MCP सर्वर पुनः प्रारंभ हो रहा है...",
6264
"mcp_server_connected": "{{serverName}} MCP सर्वर कनेक्टेड",
6365
"mcp_server_deleted": "MCP सर्वर हटाया गया: {{serverName}}",
64-
"mcp_server_not_found": "सर्वर \"{{serverName}}\" कॉन्फ़िगरेशन में नहीं मिला"
66+
"mcp_server_not_found": "सर्वर \"{{serverName}}\" कॉन्फ़िगरेशन में नहीं मिला",
67+
"custom_storage_path_set": "कस्टम स्टोरेज पाथ सेट किया गया: {{path}}",
68+
"default_storage_path": "डिफ़ॉल्ट स्टोरेज पाथ का उपयोग पुनः शुरू किया गया"
6569
},
6670
"answers": {
6771
"yes": "हां",
@@ -73,5 +77,11 @@
7377
"tasks": {
7478
"canceled": "टास्क त्रुटि: इसे उपयोगकर्ता द्वारा रोका और रद्द किया गया था।",
7579
"deleted": "टास्क विफलता: इसे उपयोगकर्ता द्वारा रोका और हटाया गया था।"
80+
},
81+
"storage": {
82+
"prompt_custom_path": "वार्तालाप इतिहास के लिए कस्टम स्टोरेज पाथ दर्ज करें, डिफ़ॉल्ट स्थान का उपयोग करने के लिए खाली छोड़ दें",
83+
"path_placeholder": "D:\\RooCodeStorage",
84+
"enter_absolute_path": "कृपया एक पूर्ण पाथ दर्ज करें (उदाहरण: D:\\RooCodeStorage या /home/user/storage)",
85+
"enter_valid_path": "कृपया एक वैध पाथ दर्ज करें"
7686
}
7787
}

src/i18n/locales/it/common.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
"hmr_not_running": "Il server di sviluppo locale non è in esecuzione, l'HMR non funzionerà. Esegui 'npm run dev' prima di avviare l'estensione per abilitare l'HMR.",
4949
"retrieve_current_mode": "Errore durante il recupero della modalità corrente dallo stato.",
5050
"failed_delete_repo": "Impossibile eliminare il repository o il ramo associato: {{error}}",
51-
"failed_remove_directory": "Impossibile rimuovere la directory delle attività: {{error}}"
51+
"failed_remove_directory": "Impossibile rimuovere la directory delle attività: {{error}}",
52+
"custom_storage_path_unusable": "Il percorso di archiviazione personalizzato \"{{path}}\" non è utilizzabile, verrà utilizzato il percorso predefinito",
53+
"cannot_access_path": "Impossibile accedere al percorso {{path}}: {{error}}"
5254
},
5355
"warnings": {
5456
"no_terminal_content": "Nessun contenuto del terminale selezionato",
@@ -61,7 +63,9 @@
6163
"mcp_server_restarting": "Riavvio del server MCP {{serverName}}...",
6264
"mcp_server_connected": "Server MCP {{serverName}} connesso",
6365
"mcp_server_deleted": "Server MCP eliminato: {{serverName}}",
64-
"mcp_server_not_found": "Server \"{{serverName}}\" non trovato nella configurazione"
66+
"mcp_server_not_found": "Server \"{{serverName}}\" non trovato nella configurazione",
67+
"custom_storage_path_set": "Percorso di archiviazione personalizzato impostato: {{path}}",
68+
"default_storage_path": "Tornato al percorso di archiviazione predefinito"
6569
},
6670
"answers": {
6771
"yes": "",
@@ -73,5 +77,11 @@
7377
"tasks": {
7478
"canceled": "Errore attività: È stata interrotta e annullata dall'utente.",
7579
"deleted": "Fallimento attività: È stata interrotta ed eliminata dall'utente."
80+
},
81+
"storage": {
82+
"prompt_custom_path": "Inserisci il percorso di archiviazione personalizzato per la cronologia delle conversazioni, lascia vuoto per utilizzare la posizione predefinita",
83+
"path_placeholder": "D:\\RooCodeStorage",
84+
"enter_absolute_path": "Inserisci un percorso assoluto (ad esempio D:\\RooCodeStorage o /home/user/storage)",
85+
"enter_valid_path": "Inserisci un percorso valido"
7686
}
7787
}

src/i18n/locales/ja/common.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
"hmr_not_running": "ローカル開発サーバーが実行されていないため、HMRは機能しません。HMRを有効にするには、拡張機能を起動する前に'npm run dev'を実行してください。",
4949
"retrieve_current_mode": "現在のモードを状態から取得する際にエラーが発生しました。",
5050
"failed_delete_repo": "関連するシャドウリポジトリまたはブランチの削除に失敗しました:{{error}}",
51-
"failed_remove_directory": "タスクディレクトリの削除に失敗しました:{{error}}"
51+
"failed_remove_directory": "タスクディレクトリの削除に失敗しました:{{error}}",
52+
"custom_storage_path_unusable": "カスタムストレージパス \"{{path}}\" が使用できないため、デフォルトパスを使用します",
53+
"cannot_access_path": "パス {{path}} にアクセスできません:{{error}}"
5254
},
5355
"warnings": {
5456
"no_terminal_content": "選択されたターミナルコンテンツがありません",
@@ -61,7 +63,9 @@
6163
"mcp_server_restarting": "MCPサーバー{{serverName}}を再起動中...",
6264
"mcp_server_connected": "MCPサーバー{{serverName}}が接続されました",
6365
"mcp_server_deleted": "MCPサーバーが削除されました:{{serverName}}",
64-
"mcp_server_not_found": "サーバー\"{{serverName}}\"が設定内に見つかりません"
66+
"mcp_server_not_found": "サーバー\"{{serverName}}\"が設定内に見つかりません",
67+
"custom_storage_path_set": "カスタムストレージパスが設定されました:{{path}}",
68+
"default_storage_path": "デフォルトのストレージパスに戻りました"
6569
},
6670
"answers": {
6771
"yes": "はい",
@@ -73,5 +77,11 @@
7377
"tasks": {
7478
"canceled": "タスクエラー:ユーザーによって停止およびキャンセルされました。",
7579
"deleted": "タスク失敗:ユーザーによって停止および削除されました。"
80+
},
81+
"storage": {
82+
"prompt_custom_path": "会話履歴のカスタムストレージパスを入力してください。デフォルトの場所を使用する場合は空のままにしてください",
83+
"path_placeholder": "D:\\RooCodeStorage",
84+
"enter_absolute_path": "絶対パスを入力してください(例:D:\\RooCodeStorage または /home/user/storage)",
85+
"enter_valid_path": "有効なパスを入力してください"
7686
}
7787
}

src/i18n/locales/ko/common.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@
4848
"hmr_not_running": "로컬 개발 서버가 실행되고 있지 않아 HMR이 작동하지 않습니다. HMR을 활성화하려면 확장 프로그램을 실행하기 전에 'npm run dev'를 실행하세요.",
4949
"retrieve_current_mode": "상태에서 현재 모드를 검색하는 데 오류가 발생했습니다.",
5050
"failed_delete_repo": "관련 shadow 저장소 또는 브랜치 삭제 실패: {{error}}",
51-
"failed_remove_directory": "작업 디렉토리 제거 실패: {{error}}"
51+
"failed_remove_directory": "작업 디렉토리 제거 실패: {{error}}",
52+
"custom_storage_path_unusable": "사용자 지정 저장 경로 \"{{path}}\"를 사용할 수 없어 기본 경로를 사용합니다",
53+
"cannot_access_path": "경로 {{path}}에 접근할 수 없습니다: {{error}}"
5254
},
5355
"warnings": {
5456
"no_terminal_content": "선택된 터미널 내용이 없습니다",
@@ -61,7 +63,9 @@
6163
"mcp_server_restarting": "{{serverName}} MCP 서버를 재시작하는 중...",
6264
"mcp_server_connected": "{{serverName}} MCP 서버 연결됨",
6365
"mcp_server_deleted": "MCP 서버 삭제됨: {{serverName}}",
64-
"mcp_server_not_found": "구성에서 서버 \"{{serverName}}\"을(를) 찾을 수 없습니다"
66+
"mcp_server_not_found": "구성에서 서버 \"{{serverName}}\"을(를) 찾을 수 없습니다",
67+
"custom_storage_path_set": "사용자 지정 저장 경로 설정됨: {{path}}",
68+
"default_storage_path": "기본 저장 경로로 되돌아갔습니다"
6569
},
6670
"answers": {
6771
"yes": "",
@@ -73,5 +77,11 @@
7377
"tasks": {
7478
"canceled": "작업 오류: 사용자에 의해 중지 및 취소되었습니다.",
7579
"deleted": "작업 실패: 사용자에 의해 중지 및 삭제되었습니다."
80+
},
81+
"storage": {
82+
"prompt_custom_path": "대화 내역을 위한 사용자 지정 저장 경로를 입력하세요. 기본 위치를 사용하려면 비워두세요",
83+
"path_placeholder": "D:\\RooCodeStorage",
84+
"enter_absolute_path": "절대 경로를 입력하세요 (예: D:\\RooCodeStorage 또는 /home/user/storage)",
85+
"enter_valid_path": "유효한 경로를 입력하세요"
7686
}
7787
}

0 commit comments

Comments
 (0)