设置界面支持版本控制和github账号管理

This commit is contained in:
itpkcn@gmail.com
2026-03-21 11:33:48 +08:00
parent e801f041a0
commit 62fab2c3f2
22 changed files with 1595 additions and 4 deletions

View File

@@ -66,6 +66,7 @@
"mcp": "MCP",
"skills": "Skills",
"shortcuts": "الاختصارات",
"version_control": "التحكم بالإصدارات",
"system": "النظام"
}
},
@@ -128,6 +129,55 @@
"unknown": "فشل التحديث. يرجى المحاولة مرة أخرى لاحقًا."
}
},
"VersionControlSettings": {
"loading": "جارٍ التحميل...",
"sectionTitle": "التحكم بالإصدارات",
"sectionDescription": "تكوين ملف Git التنفيذي وإدارة حسابات GitHub.",
"gitTitle": "إعدادات Git",
"gitDescription": "تكوين ملف Git التنفيذي المستخدم بواسطة التطبيق.",
"gitDetected": "تم اكتشاف Git",
"gitNotFound": "لم يتم العثور على Git في النظام",
"gitVersion": "الإصدار",
"gitPath": "المسار",
"customGitPath": "مسار Git مخصص",
"customGitPathPlaceholder": "/usr/bin/git",
"customGitPathHint": "اتركه فارغًا لاستخدام المسار المكتشف تلقائيًا.",
"test": "اختبار",
"testing": "جارٍ الاختبار...",
"testSuccess": "ملف Git التنفيذي صالح.",
"testFailed": "فشل اختبار Git: {message}",
"save": "حفظ",
"saving": "جارٍ الحفظ...",
"saveSuccess": "تم حفظ إعدادات Git.",
"saveFailed": "فشل الحفظ: {message}",
"githubTitle": "حسابات GitHub",
"githubDescription": "إدارة حسابات GitHub للمصادقة. يتم تخزين الرموز محليًا.",
"noAccounts": "لا توجد حسابات GitHub مكوّنة.",
"addAccount": "إضافة حساب",
"serverUrl": "عنوان الخادم",
"serverUrlPlaceholder": "https://github.com",
"token": "رمز الوصول الشخصي",
"tokenPlaceholder": "ghp_xxxxxxxxxxxx",
"tokenHint": "أنشئ رمزًا في GitHub → Settings → Developer settings → Personal access tokens.",
"validateAndAdd": "التحقق والإضافة",
"validating": "جارٍ التحقق...",
"addSuccess": "تمت إضافة الحساب {username} بنجاح.",
"addFailed": "فشل إضافة الحساب: {message}",
"testConnection": "اختبار",
"connectionSuccess": "نجح الاتصال.",
"connectionFailed": "فشل الاتصال: {message}",
"setDefault": "تعيين كافتراضي",
"defaultLabel": "افتراضي",
"defaultSet": "تم تحديث الحساب الافتراضي.",
"removeAccount": "إزالة",
"removeConfirmTitle": "إزالة الحساب",
"removeConfirmMessage": "هل أنت متأكد من إزالة الحساب \"{username}\"؟",
"removeConfirm": "إزالة",
"removeCancel": "إلغاء",
"removeSuccess": "تمت إزالة الحساب.",
"scopes": "النطاقات",
"loadFailed": "فشل تحميل الإعدادات: {message}"
},
"ShortcutSettings": {
"sectionTitle": "الاختصارات",
"resetDefault": "استعادة الإعدادات الافتراضية",

View File

@@ -66,6 +66,7 @@
"mcp": "MCP",
"skills": "Skills",
"shortcuts": "Kurzbefehle",
"version_control": "Versionskontrolle",
"system": "Systemeinstellungen"
}
},
@@ -128,6 +129,55 @@
"unknown": "Update fehlgeschlagen. Bitte später erneut versuchen."
}
},
"VersionControlSettings": {
"loading": "Laden...",
"sectionTitle": "Versionskontrolle",
"sectionDescription": "Git-Programm konfigurieren und GitHub-Konten verwalten.",
"gitTitle": "Git-Konfiguration",
"gitDescription": "Konfigurieren Sie das von der Anwendung verwendete Git-Programm.",
"gitDetected": "Git erkannt",
"gitNotFound": "Git wurde nicht gefunden",
"gitVersion": "Version",
"gitPath": "Pfad",
"customGitPath": "Benutzerdefinierter Git-Pfad",
"customGitPathPlaceholder": "/usr/bin/git",
"customGitPathHint": "Leer lassen, um den automatisch erkannten Pfad zu verwenden.",
"test": "Testen",
"testing": "Teste...",
"testSuccess": "Git-Programm ist gültig.",
"testFailed": "Git-Test fehlgeschlagen: {message}",
"save": "Speichern",
"saving": "Speichern...",
"saveSuccess": "Git-Einstellungen gespeichert.",
"saveFailed": "Speichern fehlgeschlagen: {message}",
"githubTitle": "GitHub-Konten",
"githubDescription": "GitHub-Konten für die Authentifizierung verwalten. Token werden lokal gespeichert.",
"noAccounts": "Keine GitHub-Konten konfiguriert.",
"addAccount": "Konto hinzufügen",
"serverUrl": "Server-URL",
"serverUrlPlaceholder": "https://github.com",
"token": "Persönlicher Zugriffstoken",
"tokenPlaceholder": "ghp_xxxxxxxxxxxx",
"tokenHint": "Erstellen Sie einen Token unter GitHub → Settings → Developer settings → Personal access tokens.",
"validateAndAdd": "Validieren & hinzufügen",
"validating": "Validiere...",
"addSuccess": "Konto {username} erfolgreich hinzugefügt.",
"addFailed": "Konto konnte nicht hinzugefügt werden: {message}",
"testConnection": "Testen",
"connectionSuccess": "Verbindung erfolgreich.",
"connectionFailed": "Verbindung fehlgeschlagen: {message}",
"setDefault": "Als Standard festlegen",
"defaultLabel": "Standard",
"defaultSet": "Standardkonto aktualisiert.",
"removeAccount": "Entfernen",
"removeConfirmTitle": "Konto entfernen",
"removeConfirmMessage": "Möchten Sie das Konto \"{username}\" wirklich entfernen?",
"removeConfirm": "Entfernen",
"removeCancel": "Abbrechen",
"removeSuccess": "Konto entfernt.",
"scopes": "Berechtigungen",
"loadFailed": "Einstellungen konnten nicht geladen werden: {message}"
},
"ShortcutSettings": {
"sectionTitle": "Kurzbefehle",
"resetDefault": "Standardwerte zurücksetzen",

View File

@@ -66,6 +66,7 @@
"mcp": "MCP",
"skills": "Skills",
"shortcuts": "Shortcuts",
"version_control": "Version Control",
"system": "System"
}
},
@@ -128,6 +129,55 @@
"unknown": "Update failed. Please try again later."
}
},
"VersionControlSettings": {
"loading": "Loading...",
"sectionTitle": "Version Control",
"sectionDescription": "Configure Git executable and manage GitHub accounts.",
"gitTitle": "Git Configuration",
"gitDescription": "Configure the Git executable used by the application.",
"gitDetected": "Git detected",
"gitNotFound": "Git not found on this system",
"gitVersion": "Version",
"gitPath": "Path",
"customGitPath": "Custom Git Path",
"customGitPathPlaceholder": "/usr/bin/git",
"customGitPathHint": "Leave empty to use the auto-detected path.",
"test": "Test",
"testing": "Testing...",
"testSuccess": "Git executable is valid.",
"testFailed": "Git test failed: {message}",
"save": "Save",
"saving": "Saving...",
"saveSuccess": "Git settings saved.",
"saveFailed": "Failed to save: {message}",
"githubTitle": "GitHub Accounts",
"githubDescription": "Manage GitHub accounts for authentication. Tokens are stored locally.",
"noAccounts": "No GitHub accounts configured.",
"addAccount": "Add Account",
"serverUrl": "Server URL",
"serverUrlPlaceholder": "https://github.com",
"token": "Personal Access Token",
"tokenPlaceholder": "ghp_xxxxxxxxxxxx",
"tokenHint": "Generate a token at GitHub → Settings → Developer settings → Personal access tokens.",
"validateAndAdd": "Validate & Add",
"validating": "Validating...",
"addSuccess": "Account {username} added successfully.",
"addFailed": "Failed to add account: {message}",
"testConnection": "Test",
"connectionSuccess": "Connection successful.",
"connectionFailed": "Connection failed: {message}",
"setDefault": "Set Default",
"defaultLabel": "Default",
"defaultSet": "Default account updated.",
"removeAccount": "Remove",
"removeConfirmTitle": "Remove Account",
"removeConfirmMessage": "Are you sure you want to remove the account \"{username}\"?",
"removeConfirm": "Remove",
"removeCancel": "Cancel",
"removeSuccess": "Account removed.",
"scopes": "Scopes",
"loadFailed": "Failed to load settings: {message}"
},
"ShortcutSettings": {
"sectionTitle": "Shortcuts",
"resetDefault": "Reset defaults",

View File

@@ -66,6 +66,7 @@
"mcp": "MCP",
"skills": "Skills",
"shortcuts": "Atajos",
"version_control": "Control de versiones",
"system": "Sistema"
}
},
@@ -128,6 +129,55 @@
"unknown": "La actualización falló. Inténtalo más tarde."
}
},
"VersionControlSettings": {
"loading": "Cargando...",
"sectionTitle": "Control de versiones",
"sectionDescription": "Configura el ejecutable de Git y gestiona las cuentas de GitHub.",
"gitTitle": "Configuración de Git",
"gitDescription": "Configura el ejecutable de Git utilizado por la aplicación.",
"gitDetected": "Git detectado",
"gitNotFound": "Git no encontrado en el sistema",
"gitVersion": "Versión",
"gitPath": "Ruta",
"customGitPath": "Ruta personalizada de Git",
"customGitPathPlaceholder": "/usr/bin/git",
"customGitPathHint": "Dejar vacío para usar la ruta detectada automáticamente.",
"test": "Probar",
"testing": "Probando...",
"testSuccess": "El ejecutable de Git es válido.",
"testFailed": "Prueba de Git fallida: {message}",
"save": "Guardar",
"saving": "Guardando...",
"saveSuccess": "Configuración de Git guardada.",
"saveFailed": "Error al guardar: {message}",
"githubTitle": "Cuentas de GitHub",
"githubDescription": "Gestiona las cuentas de GitHub para autenticación. Los tokens se almacenan localmente.",
"noAccounts": "No hay cuentas de GitHub configuradas.",
"addAccount": "Añadir cuenta",
"serverUrl": "URL del servidor",
"serverUrlPlaceholder": "https://github.com",
"token": "Token de acceso personal",
"tokenPlaceholder": "ghp_xxxxxxxxxxxx",
"tokenHint": "Genera un token en GitHub → Settings → Developer settings → Personal access tokens.",
"validateAndAdd": "Validar y añadir",
"validating": "Validando...",
"addSuccess": "Cuenta {username} añadida correctamente.",
"addFailed": "Error al añadir cuenta: {message}",
"testConnection": "Probar",
"connectionSuccess": "Conexión exitosa.",
"connectionFailed": "Conexión fallida: {message}",
"setDefault": "Establecer como predeterminada",
"defaultLabel": "Predeterminada",
"defaultSet": "Cuenta predeterminada actualizada.",
"removeAccount": "Eliminar",
"removeConfirmTitle": "Eliminar cuenta",
"removeConfirmMessage": "¿Estás seguro de que deseas eliminar la cuenta \"{username}\"?",
"removeConfirm": "Eliminar",
"removeCancel": "Cancelar",
"removeSuccess": "Cuenta eliminada.",
"scopes": "Alcances",
"loadFailed": "Error al cargar configuración: {message}"
},
"ShortcutSettings": {
"sectionTitle": "Atajos",
"resetDefault": "Restablecer valores predeterminados",

View File

@@ -66,6 +66,7 @@
"mcp": "MCP",
"skills": "Skills",
"shortcuts": "Raccourcis",
"version_control": "Contrôle de version",
"system": "Système"
}
},
@@ -128,6 +129,55 @@
"unknown": "La mise à jour a échoué. Veuillez réessayer plus tard."
}
},
"VersionControlSettings": {
"loading": "Chargement...",
"sectionTitle": "Contrôle de version",
"sectionDescription": "Configurez l'exécutable Git et gérez les comptes GitHub.",
"gitTitle": "Configuration Git",
"gitDescription": "Configurez l'exécutable Git utilisé par l'application.",
"gitDetected": "Git détecté",
"gitNotFound": "Git introuvable sur le système",
"gitVersion": "Version",
"gitPath": "Chemin",
"customGitPath": "Chemin Git personnalisé",
"customGitPathPlaceholder": "/usr/bin/git",
"customGitPathHint": "Laissez vide pour utiliser le chemin détecté automatiquement.",
"test": "Tester",
"testing": "Test en cours...",
"testSuccess": "L'exécutable Git est valide.",
"testFailed": "Test Git échoué : {message}",
"save": "Enregistrer",
"saving": "Enregistrement...",
"saveSuccess": "Paramètres Git enregistrés.",
"saveFailed": "Échec de l'enregistrement : {message}",
"githubTitle": "Comptes GitHub",
"githubDescription": "Gérez les comptes GitHub pour l'authentification. Les jetons sont stockés localement.",
"noAccounts": "Aucun compte GitHub configuré.",
"addAccount": "Ajouter un compte",
"serverUrl": "URL du serveur",
"serverUrlPlaceholder": "https://github.com",
"token": "Jeton d'accès personnel",
"tokenPlaceholder": "ghp_xxxxxxxxxxxx",
"tokenHint": "Générez un jeton dans GitHub → Settings → Developer settings → Personal access tokens.",
"validateAndAdd": "Valider et ajouter",
"validating": "Validation...",
"addSuccess": "Compte {username} ajouté avec succès.",
"addFailed": "Échec de l'ajout du compte : {message}",
"testConnection": "Tester",
"connectionSuccess": "Connexion réussie.",
"connectionFailed": "Échec de la connexion : {message}",
"setDefault": "Définir par défaut",
"defaultLabel": "Par défaut",
"defaultSet": "Compte par défaut mis à jour.",
"removeAccount": "Supprimer",
"removeConfirmTitle": "Supprimer le compte",
"removeConfirmMessage": "Êtes-vous sûr de vouloir supprimer le compte « {username} » ?",
"removeConfirm": "Supprimer",
"removeCancel": "Annuler",
"removeSuccess": "Compte supprimé.",
"scopes": "Portées",
"loadFailed": "Échec du chargement des paramètres : {message}"
},
"ShortcutSettings": {
"sectionTitle": "Raccourcis",
"resetDefault": "Rétablir les valeurs par défaut",

View File

@@ -66,6 +66,7 @@
"mcp": "MCP",
"skills": "Skills",
"shortcuts": "ショートカット",
"version_control": "バージョン管理",
"system": "システム"
}
},
@@ -128,6 +129,55 @@
"unknown": "更新に失敗しました。しばらくしてから再試行してください。"
}
},
"VersionControlSettings": {
"loading": "読み込み中...",
"sectionTitle": "バージョン管理",
"sectionDescription": "Git 実行ファイルの設定と GitHub アカウントの管理。",
"gitTitle": "Git 設定",
"gitDescription": "アプリケーションで使用する Git 実行ファイルを設定します。",
"gitDetected": "Git が検出されました",
"gitNotFound": "システムに Git が見つかりません",
"gitVersion": "バージョン",
"gitPath": "パス",
"customGitPath": "カスタム Git パス",
"customGitPathPlaceholder": "/usr/bin/git",
"customGitPathHint": "空欄の場合、自動検出されたパスを使用します。",
"test": "テスト",
"testing": "テスト中...",
"testSuccess": "Git 実行ファイルは有効です。",
"testFailed": "Git テスト失敗:{message}",
"save": "保存",
"saving": "保存中...",
"saveSuccess": "Git 設定を保存しました。",
"saveFailed": "保存に失敗しました:{message}",
"githubTitle": "GitHub アカウント",
"githubDescription": "認証用の GitHub アカウントを管理します。トークンはローカルに保存されます。",
"noAccounts": "GitHub アカウントが設定されていません。",
"addAccount": "アカウントを追加",
"serverUrl": "サーバー URL",
"serverUrlPlaceholder": "https://github.com",
"token": "個人アクセストークン",
"tokenPlaceholder": "ghp_xxxxxxxxxxxx",
"tokenHint": "GitHub → Settings → Developer settings → Personal access tokens でトークンを生成してください。",
"validateAndAdd": "検証して追加",
"validating": "検証中...",
"addSuccess": "アカウント {username} を追加しました。",
"addFailed": "アカウントの追加に失敗しました:{message}",
"testConnection": "テスト",
"connectionSuccess": "接続成功。",
"connectionFailed": "接続失敗:{message}",
"setDefault": "デフォルトに設定",
"defaultLabel": "デフォルト",
"defaultSet": "デフォルトアカウントを更新しました。",
"removeAccount": "削除",
"removeConfirmTitle": "アカウントを削除",
"removeConfirmMessage": "アカウント「{username}」を削除してもよろしいですか?",
"removeConfirm": "削除",
"removeCancel": "キャンセル",
"removeSuccess": "アカウントを削除しました。",
"scopes": "スコープ",
"loadFailed": "設定の読み込みに失敗しました:{message}"
},
"ShortcutSettings": {
"sectionTitle": "ショートカット",
"resetDefault": "デフォルトに戻す",

View File

@@ -66,6 +66,7 @@
"mcp": "MCP",
"skills": "Skills",
"shortcuts": "단축키",
"version_control": "버전 관리",
"system": "시스템"
}
},
@@ -128,6 +129,55 @@
"unknown": "업데이트에 실패했습니다. 잠시 후 다시 시도하세요."
}
},
"VersionControlSettings": {
"loading": "로딩 중...",
"sectionTitle": "버전 관리",
"sectionDescription": "Git 실행 파일을 설정하고 GitHub 계정을 관리합니다.",
"gitTitle": "Git 설정",
"gitDescription": "애플리케이션에서 사용할 Git 실행 파일을 설정합니다.",
"gitDetected": "Git이 감지되었습니다",
"gitNotFound": "시스템에서 Git을 찾을 수 없습니다",
"gitVersion": "버전",
"gitPath": "경로",
"customGitPath": "사용자 지정 Git 경로",
"customGitPathPlaceholder": "/usr/bin/git",
"customGitPathHint": "비워두면 자동 감지된 경로를 사용합니다.",
"test": "테스트",
"testing": "테스트 중...",
"testSuccess": "Git 실행 파일이 유효합니다.",
"testFailed": "Git 테스트 실패: {message}",
"save": "저장",
"saving": "저장 중...",
"saveSuccess": "Git 설정이 저장되었습니다.",
"saveFailed": "저장 실패: {message}",
"githubTitle": "GitHub 계정",
"githubDescription": "인증용 GitHub 계정을 관리합니다. 토큰은 로컬에 저장됩니다.",
"noAccounts": "설정된 GitHub 계정이 없습니다.",
"addAccount": "계정 추가",
"serverUrl": "서버 URL",
"serverUrlPlaceholder": "https://github.com",
"token": "개인 액세스 토큰",
"tokenPlaceholder": "ghp_xxxxxxxxxxxx",
"tokenHint": "GitHub → Settings → Developer settings → Personal access tokens에서 토큰을 생성하세요.",
"validateAndAdd": "검증 및 추가",
"validating": "검증 중...",
"addSuccess": "계정 {username}이(가) 추가되었습니다.",
"addFailed": "계정 추가 실패: {message}",
"testConnection": "테스트",
"connectionSuccess": "연결 성공.",
"connectionFailed": "연결 실패: {message}",
"setDefault": "기본값으로 설정",
"defaultLabel": "기본",
"defaultSet": "기본 계정이 업데이트되었습니다.",
"removeAccount": "삭제",
"removeConfirmTitle": "계정 삭제",
"removeConfirmMessage": "계정 \"{username}\"을(를) 삭제하시겠습니까?",
"removeConfirm": "삭제",
"removeCancel": "취소",
"removeSuccess": "계정이 삭제되었습니다.",
"scopes": "범위",
"loadFailed": "설정 로드 실패: {message}"
},
"ShortcutSettings": {
"sectionTitle": "단축키",
"resetDefault": "기본값으로 재설정",

View File

@@ -66,6 +66,7 @@
"mcp": "MCP",
"skills": "Skills",
"shortcuts": "Atalhos",
"version_control": "Controle de versão",
"system": "Sistema"
}
},
@@ -128,6 +129,55 @@
"unknown": "Falha na atualização. Tente novamente mais tarde."
}
},
"VersionControlSettings": {
"loading": "Carregando...",
"sectionTitle": "Controle de versão",
"sectionDescription": "Configure o executável Git e gerencie contas do GitHub.",
"gitTitle": "Configuração do Git",
"gitDescription": "Configure o executável Git usado pelo aplicativo.",
"gitDetected": "Git detectado",
"gitNotFound": "Git não encontrado no sistema",
"gitVersion": "Versão",
"gitPath": "Caminho",
"customGitPath": "Caminho personalizado do Git",
"customGitPathPlaceholder": "/usr/bin/git",
"customGitPathHint": "Deixe vazio para usar o caminho detectado automaticamente.",
"test": "Testar",
"testing": "Testando...",
"testSuccess": "Executável Git é válido.",
"testFailed": "Teste do Git falhou: {message}",
"save": "Salvar",
"saving": "Salvando...",
"saveSuccess": "Configurações do Git salvas.",
"saveFailed": "Falha ao salvar: {message}",
"githubTitle": "Contas do GitHub",
"githubDescription": "Gerencie contas do GitHub para autenticação. Os tokens são armazenados localmente.",
"noAccounts": "Nenhuma conta do GitHub configurada.",
"addAccount": "Adicionar conta",
"serverUrl": "URL do servidor",
"serverUrlPlaceholder": "https://github.com",
"token": "Token de acesso pessoal",
"tokenPlaceholder": "ghp_xxxxxxxxxxxx",
"tokenHint": "Gere um token em GitHub → Settings → Developer settings → Personal access tokens.",
"validateAndAdd": "Validar e adicionar",
"validating": "Validando...",
"addSuccess": "Conta {username} adicionada com sucesso.",
"addFailed": "Falha ao adicionar conta: {message}",
"testConnection": "Testar",
"connectionSuccess": "Conexão bem-sucedida.",
"connectionFailed": "Falha na conexão: {message}",
"setDefault": "Definir como padrão",
"defaultLabel": "Padrão",
"defaultSet": "Conta padrão atualizada.",
"removeAccount": "Remover",
"removeConfirmTitle": "Remover conta",
"removeConfirmMessage": "Tem certeza de que deseja remover a conta \"{username}\"?",
"removeConfirm": "Remover",
"removeCancel": "Cancelar",
"removeSuccess": "Conta removida.",
"scopes": "Escopos",
"loadFailed": "Falha ao carregar configurações: {message}"
},
"ShortcutSettings": {
"sectionTitle": "Atalhos",
"resetDefault": "Restaurar padrões",

View File

@@ -66,6 +66,7 @@
"mcp": "MCP",
"skills": "Skills",
"shortcuts": "快捷键",
"version_control": "版本控制",
"system": "系统"
}
},
@@ -128,6 +129,55 @@
"unknown": "更新失败,请稍后重试。"
}
},
"VersionControlSettings": {
"loading": "加载中...",
"sectionTitle": "版本控制",
"sectionDescription": "配置 Git 可执行文件并管理 GitHub 账号。",
"gitTitle": "Git 配置",
"gitDescription": "配置应用使用的 Git 可执行文件。",
"gitDetected": "已检测到 Git",
"gitNotFound": "未在系统中找到 Git",
"gitVersion": "版本",
"gitPath": "路径",
"customGitPath": "自定义 Git 路径",
"customGitPathPlaceholder": "/usr/bin/git",
"customGitPathHint": "留空则使用自动检测的路径。",
"test": "测试",
"testing": "测试中...",
"testSuccess": "Git 可执行文件有效。",
"testFailed": "Git 测试失败:{message}",
"save": "保存",
"saving": "保存中...",
"saveSuccess": "Git 设置已保存。",
"saveFailed": "保存失败:{message}",
"githubTitle": "GitHub 账号",
"githubDescription": "管理用于身份验证的 GitHub 账号。令牌存储在本地。",
"noAccounts": "暂无 GitHub 账号。",
"addAccount": "添加账号",
"serverUrl": "服务器地址",
"serverUrlPlaceholder": "https://github.com",
"token": "个人访问令牌",
"tokenPlaceholder": "ghp_xxxxxxxxxxxx",
"tokenHint": "在 GitHub → Settings → Developer settings → Personal access tokens 中生成令牌。",
"validateAndAdd": "验证并添加",
"validating": "验证中...",
"addSuccess": "账号 {username} 添加成功。",
"addFailed": "添加账号失败:{message}",
"testConnection": "测试",
"connectionSuccess": "连接成功。",
"connectionFailed": "连接失败:{message}",
"setDefault": "设为默认",
"defaultLabel": "默认",
"defaultSet": "默认账号已更新。",
"removeAccount": "删除",
"removeConfirmTitle": "删除账号",
"removeConfirmMessage": "确定要删除账号「{username}」吗?",
"removeConfirm": "删除",
"removeCancel": "取消",
"removeSuccess": "账号已删除。",
"scopes": "权限范围",
"loadFailed": "加载设置失败:{message}"
},
"ShortcutSettings": {
"sectionTitle": "快捷键",
"resetDefault": "恢复默认",

View File

@@ -66,6 +66,7 @@
"mcp": "MCP",
"skills": "Skills",
"shortcuts": "快捷鍵",
"version_control": "版本控制",
"system": "系統"
}
},
@@ -128,6 +129,55 @@
"unknown": "更新失敗,請稍後再試。"
}
},
"VersionControlSettings": {
"loading": "載入中...",
"sectionTitle": "版本控制",
"sectionDescription": "設定 Git 執行檔並管理 GitHub 帳號。",
"gitTitle": "Git 設定",
"gitDescription": "設定應用程式使用的 Git 執行檔。",
"gitDetected": "已偵測到 Git",
"gitNotFound": "未在系統中找到 Git",
"gitVersion": "版本",
"gitPath": "路徑",
"customGitPath": "自訂 Git 路徑",
"customGitPathPlaceholder": "/usr/bin/git",
"customGitPathHint": "留空則使用自動偵測的路徑。",
"test": "測試",
"testing": "測試中...",
"testSuccess": "Git 執行檔有效。",
"testFailed": "Git 測試失敗:{message}",
"save": "儲存",
"saving": "儲存中...",
"saveSuccess": "Git 設定已儲存。",
"saveFailed": "儲存失敗:{message}",
"githubTitle": "GitHub 帳號",
"githubDescription": "管理用於身份驗證的 GitHub 帳號。權杖儲存在本機。",
"noAccounts": "尚未設定 GitHub 帳號。",
"addAccount": "新增帳號",
"serverUrl": "伺服器網址",
"serverUrlPlaceholder": "https://github.com",
"token": "個人存取權杖",
"tokenPlaceholder": "ghp_xxxxxxxxxxxx",
"tokenHint": "在 GitHub → Settings → Developer settings → Personal access tokens 中產生權杖。",
"validateAndAdd": "驗證並新增",
"validating": "驗證中...",
"addSuccess": "帳號 {username} 新增成功。",
"addFailed": "新增帳號失敗:{message}",
"testConnection": "測試",
"connectionSuccess": "連線成功。",
"connectionFailed": "連線失敗:{message}",
"setDefault": "設為預設",
"defaultLabel": "預設",
"defaultSet": "預設帳號已更新。",
"removeAccount": "刪除",
"removeConfirmTitle": "刪除帳號",
"removeConfirmMessage": "確定要刪除帳號「{username}」嗎?",
"removeConfirm": "刪除",
"removeCancel": "取消",
"removeSuccess": "帳號已刪除。",
"scopes": "權限範圍",
"loadFailed": "載入設定失敗:{message}"
},
"ShortcutSettings": {
"sectionTitle": "快捷鍵",
"resetDefault": "恢復預設",