refactor(channels): make built-in channels self-contained (#4908)
* refactor(channels): own setup and instance contracts * refactor(channels): isolate management contracts * refactor(channels): normalize activation contracts * fix(channels): enforce management contracts * refactor(channels): finish setup ownership migration * fix(channels): harden management contracts * fix(channels): enforce lazy loading and runtime ownership * fix(feishu): make multi-instance startup idempotent * fix(webui): render channel setup contracts cleanly * fix(feishu): stop websocket clients cleanly * fix(channels): enforce persistence and activation gates * fix(channels): preserve global feature action scope * fix(channels): apply defaults for single plugins * fix(channels): enforce management contract boundaries * refactor(feishu): remove identity helper indirection * fix(channels): preserve management setup contracts * refactor(channels): generalize instance settings UI * refactor(channels): package channel plugins with web UI metadata * refactor(channels): make built-ins self-contained packages * test(channels): colocate tests with channel packages * fix(dingtalk): use official brand icon * feat(channels): colocate webui translations * docs(channels): clarify plugin ownership * test(exec): remove output wait race * refactor(channels): unify plugin descriptors * fix(channels): enforce descriptor-owned contracts * refactor(channels): finish package-owned plugin setup * refactor(channels): use repository-owned packages only * fix(channels): self-describe dependencies and runtime state * fix(channels): warn about legacy entry points
This commit is contained in:
+16
-11
@@ -1,6 +1,11 @@
|
||||
import i18n from "i18next";
|
||||
import { initReactI18next } from "react-i18next";
|
||||
|
||||
import {
|
||||
channelLocaleNamespaces,
|
||||
channelLocaleResources,
|
||||
} from "@/channel-plugins/locale-registry";
|
||||
|
||||
import {
|
||||
applyDocumentLocale,
|
||||
defaultLocale,
|
||||
@@ -24,16 +29,16 @@ import viCommon from "./locales/vi/common.json";
|
||||
import idCommon from "./locales/id/common.json";
|
||||
|
||||
export const resources = {
|
||||
en: { common: enCommon },
|
||||
"zh-CN": { common: zhCNCommon },
|
||||
"zh-TW": { common: zhTWCommon },
|
||||
fr: { common: frCommon },
|
||||
ja: { common: jaCommon },
|
||||
ko: { common: koCommon },
|
||||
es: { common: esCommon },
|
||||
"pt-BR": { common: ptBRCommon },
|
||||
vi: { common: viCommon },
|
||||
id: { common: idCommon },
|
||||
en: { common: enCommon, ...channelLocaleResources("en") },
|
||||
"zh-CN": { common: zhCNCommon, ...channelLocaleResources("zh-CN") },
|
||||
"zh-TW": { common: zhTWCommon, ...channelLocaleResources("zh-TW") },
|
||||
fr: { common: frCommon, ...channelLocaleResources("fr") },
|
||||
ja: { common: jaCommon, ...channelLocaleResources("ja") },
|
||||
ko: { common: koCommon, ...channelLocaleResources("ko") },
|
||||
es: { common: esCommon, ...channelLocaleResources("es") },
|
||||
"pt-BR": { common: ptBRCommon, ...channelLocaleResources("pt-BR") },
|
||||
vi: { common: viCommon, ...channelLocaleResources("vi") },
|
||||
id: { common: idCommon, ...channelLocaleResources("id") },
|
||||
} as const;
|
||||
|
||||
export function currentLocale(): SupportedLocale {
|
||||
@@ -52,7 +57,7 @@ if (!i18n.isInitialized) {
|
||||
lng: resolveInitialLocale(),
|
||||
fallbackLng: fallbackLocale,
|
||||
defaultNS: "common",
|
||||
ns: ["common"],
|
||||
ns: ["common", ...channelLocaleNamespaces()],
|
||||
interpolation: {
|
||||
escapeValue: false,
|
||||
},
|
||||
|
||||
@@ -510,7 +510,7 @@
|
||||
},
|
||||
"channels": {
|
||||
"description": "Connect chat apps, email, and WebUI to nanobot.",
|
||||
"caption": "{{enabled}} enabled · {{total}} channels",
|
||||
"caption": "{{enabled}} running · {{total}} channels",
|
||||
"searchPlaceholder": "Search channels",
|
||||
"backToChannels": "All channels",
|
||||
"catalog": "Channels",
|
||||
@@ -527,13 +527,51 @@
|
||||
"needsConfig": "Needs setup",
|
||||
"connect": "Connect",
|
||||
"reconnect": "Reconnect",
|
||||
"feishuQrAlt": "Feishu connection QR code",
|
||||
"feishuScanTitle": "Scan with Feishu",
|
||||
"feishuScanDescription": "Use Feishu or Lark on your phone to scan this code. nanobot will finish setup automatically after authorization.",
|
||||
"feishuWaiting": "Waiting for authorization...",
|
||||
"feishuConnected": "Feishu is connected.",
|
||||
"feishuConnectStopped": "Connection stopped.",
|
||||
"feishuConnecting": "Connecting..."
|
||||
"advanced": "Advanced",
|
||||
"checkAndEnable": "Check and enable",
|
||||
"checkConnection": "Check connection",
|
||||
"checkedAndEnabled": "Checked and enabled.",
|
||||
"checking": "Checking...",
|
||||
"checkOnly": "Check only",
|
||||
"commandCopied": "Command copied.",
|
||||
"commandCopyFailed": "Could not copy command.",
|
||||
"configuredInstances": "{{count}} instances configured",
|
||||
"connectPreview": "The in-browser connect flow is next. For now, run the command below.",
|
||||
"copyCommand": "Copy command",
|
||||
"filterAll": "All",
|
||||
"filterOff": "Not running",
|
||||
"filterOn": "Running",
|
||||
"helperCopied": "{{name}} copied.",
|
||||
"helperCopyFailed": "Could not copy {{name}}.",
|
||||
"hideSecret": "Hide secret",
|
||||
"instanceConfigured": "Configured",
|
||||
"instanceNeedsSetup": "Needs setup",
|
||||
"runtimeFailed": "Failed",
|
||||
"runtimeStarting": "Starting",
|
||||
"runtimeStopped": "Not running",
|
||||
"managedByWebui": "Managed by WebUI",
|
||||
"officialGuide": "Official guide",
|
||||
"optional": "Optional",
|
||||
"providerPreset": "Provider",
|
||||
"requiredSetup": "Required setup",
|
||||
"savedSecret": "Saved",
|
||||
"savedSecretPlaceholder": "Saved secret",
|
||||
"savedSettings": "Saved settings.",
|
||||
"saveSettings": "Save settings",
|
||||
"selectChannel": "View {{name}} settings",
|
||||
"setupSteps": "Next steps",
|
||||
"showSecret": "Show secret",
|
||||
"toggleChannel": "{{name}} channel",
|
||||
"toggleInstance": "{{name}} instance",
|
||||
"tryIt": "Try it",
|
||||
"validationFailed": "Check the required setup before enabling.",
|
||||
"validation": {
|
||||
"connected": "Connected",
|
||||
"configured": "Configured manually",
|
||||
"needs_setup": "Needs setup",
|
||||
"invalid": "Invalid",
|
||||
"unsupported": "Manual setup"
|
||||
}
|
||||
},
|
||||
"nanobotFeatures": {
|
||||
"enabled": "Enabled",
|
||||
|
||||
@@ -514,13 +514,51 @@
|
||||
"needsConfig": "Necesita configuración",
|
||||
"connect": "Conectar",
|
||||
"reconnect": "Reconectar",
|
||||
"feishuQrAlt": "Código QR de conexión de Feishu",
|
||||
"feishuScanTitle": "Escanea con Feishu",
|
||||
"feishuScanDescription": "Usa Feishu o Lark en tu teléfono para escanear este código. nanobot terminará la configuración automáticamente después de la autorización.",
|
||||
"feishuWaiting": "Esperando autorización...",
|
||||
"feishuConnected": "Feishu está conectado.",
|
||||
"feishuConnectStopped": "Conexión detenida.",
|
||||
"feishuConnecting": "Conectando..."
|
||||
"advanced": "Avanzado",
|
||||
"checkAndEnable": "Comprobar y activar",
|
||||
"checkConnection": "Comprobar conexión",
|
||||
"checkedAndEnabled": "Comprobado y activado.",
|
||||
"checking": "Comprobando...",
|
||||
"checkOnly": "Solo comprobar",
|
||||
"commandCopied": "Comando copiado.",
|
||||
"commandCopyFailed": "No se pudo copiar el comando.",
|
||||
"configuredInstances": "{{count}} instancias configuradas",
|
||||
"connectPreview": "El siguiente paso es la conexión en el navegador. Por ahora, ejecuta el comando siguiente.",
|
||||
"copyCommand": "Copiar comando",
|
||||
"filterAll": "Todos",
|
||||
"filterOff": "Desactivados",
|
||||
"filterOn": "Activados",
|
||||
"helperCopied": "{{name}} copiado.",
|
||||
"helperCopyFailed": "No se pudo copiar {{name}}.",
|
||||
"hideSecret": "Ocultar secreto",
|
||||
"instanceConfigured": "Configurada",
|
||||
"instanceNeedsSetup": "Requiere configuración",
|
||||
"runtimeFailed": "Error al iniciar",
|
||||
"runtimeStarting": "Iniciando",
|
||||
"runtimeStopped": "No está en ejecución",
|
||||
"managedByWebui": "Gestionado por WebUI",
|
||||
"officialGuide": "Guía oficial",
|
||||
"optional": "Opcional",
|
||||
"providerPreset": "Proveedor",
|
||||
"requiredSetup": "Configuración requerida",
|
||||
"savedSecret": "Guardado",
|
||||
"savedSecretPlaceholder": "Secreto guardado",
|
||||
"savedSettings": "Configuración guardada.",
|
||||
"saveSettings": "Guardar configuración",
|
||||
"selectChannel": "Ver la configuración de {{name}}",
|
||||
"setupSteps": "Siguientes pasos",
|
||||
"showSecret": "Mostrar secreto",
|
||||
"toggleChannel": "Canal {{name}}",
|
||||
"toggleInstance": "Instancia {{name}}",
|
||||
"tryIt": "Pruébalo",
|
||||
"validationFailed": "Comprueba la configuración requerida antes de activar.",
|
||||
"validation": {
|
||||
"connected": "Conectado",
|
||||
"configured": "Configurado manualmente",
|
||||
"needs_setup": "Requiere configuración",
|
||||
"invalid": "No válido",
|
||||
"unsupported": "Configuración manual"
|
||||
}
|
||||
},
|
||||
"nanobotFeatures": {
|
||||
"enabled": "Activado",
|
||||
|
||||
@@ -513,13 +513,51 @@
|
||||
"needsConfig": "Configuration requise",
|
||||
"connect": "Connecter",
|
||||
"reconnect": "Reconnecter",
|
||||
"feishuQrAlt": "QR code de connexion Feishu",
|
||||
"feishuScanTitle": "Scanner avec Feishu",
|
||||
"feishuScanDescription": "Utilisez Feishu ou Lark sur votre téléphone pour scanner ce code. nanobot terminera la configuration automatiquement après l'autorisation.",
|
||||
"feishuWaiting": "En attente d'autorisation...",
|
||||
"feishuConnected": "Feishu est connecté.",
|
||||
"feishuConnectStopped": "Connexion arrêtée.",
|
||||
"feishuConnecting": "Connexion..."
|
||||
"advanced": "Avancé",
|
||||
"checkAndEnable": "Vérifier et activer",
|
||||
"checkConnection": "Vérifier la connexion",
|
||||
"checkedAndEnabled": "Vérifié et activé.",
|
||||
"checking": "Vérification...",
|
||||
"checkOnly": "Vérifier uniquement",
|
||||
"commandCopied": "Commande copiée.",
|
||||
"commandCopyFailed": "Impossible de copier la commande.",
|
||||
"configuredInstances": "{{count}} instances configurées",
|
||||
"connectPreview": "La connexion dans le navigateur est la prochaine étape. Pour l'instant, exécutez la commande ci-dessous.",
|
||||
"copyCommand": "Copier la commande",
|
||||
"filterAll": "Tous",
|
||||
"filterOff": "Désactivés",
|
||||
"filterOn": "Activés",
|
||||
"helperCopied": "{{name}} copié.",
|
||||
"helperCopyFailed": "Impossible de copier {{name}}.",
|
||||
"hideSecret": "Masquer le secret",
|
||||
"instanceConfigured": "Configurée",
|
||||
"instanceNeedsSetup": "Configuration requise",
|
||||
"runtimeFailed": "Échec du démarrage",
|
||||
"runtimeStarting": "Démarrage",
|
||||
"runtimeStopped": "À l'arrêt",
|
||||
"managedByWebui": "Géré par la WebUI",
|
||||
"officialGuide": "Guide officiel",
|
||||
"optional": "Facultatif",
|
||||
"providerPreset": "Fournisseur",
|
||||
"requiredSetup": "Configuration requise",
|
||||
"savedSecret": "Enregistré",
|
||||
"savedSecretPlaceholder": "Secret enregistré",
|
||||
"savedSettings": "Paramètres enregistrés.",
|
||||
"saveSettings": "Enregistrer les paramètres",
|
||||
"selectChannel": "Afficher les paramètres de {{name}}",
|
||||
"setupSteps": "Étapes suivantes",
|
||||
"showSecret": "Afficher le secret",
|
||||
"toggleChannel": "Canal {{name}}",
|
||||
"toggleInstance": "Instance {{name}}",
|
||||
"tryIt": "Essayer",
|
||||
"validationFailed": "Vérifiez la configuration requise avant l'activation.",
|
||||
"validation": {
|
||||
"connected": "Connecté",
|
||||
"configured": "Configuré manuellement",
|
||||
"needs_setup": "Configuration requise",
|
||||
"invalid": "Non valide",
|
||||
"unsupported": "Configuration manuelle"
|
||||
}
|
||||
},
|
||||
"nanobotFeatures": {
|
||||
"enabled": "Activé",
|
||||
|
||||
@@ -513,13 +513,51 @@
|
||||
"needsConfig": "Perlu konfigurasi",
|
||||
"connect": "Hubungkan",
|
||||
"reconnect": "Hubungkan ulang",
|
||||
"feishuQrAlt": "Kode QR koneksi Feishu",
|
||||
"feishuScanTitle": "Pindai dengan Feishu",
|
||||
"feishuScanDescription": "Gunakan Feishu atau Lark di ponsel untuk memindai kode ini. nanobot akan menyelesaikan setup secara otomatis setelah otorisasi.",
|
||||
"feishuWaiting": "Menunggu otorisasi...",
|
||||
"feishuConnected": "Feishu sudah terhubung.",
|
||||
"feishuConnectStopped": "Koneksi dihentikan.",
|
||||
"feishuConnecting": "Menghubungkan..."
|
||||
"advanced": "Lanjutan",
|
||||
"checkAndEnable": "Periksa dan aktifkan",
|
||||
"checkConnection": "Periksa koneksi",
|
||||
"checkedAndEnabled": "Sudah diperiksa dan diaktifkan.",
|
||||
"checking": "Memeriksa...",
|
||||
"checkOnly": "Periksa saja",
|
||||
"commandCopied": "Perintah disalin.",
|
||||
"commandCopyFailed": "Tidak dapat menyalin perintah.",
|
||||
"configuredInstances": "{{count}} instans dikonfigurasi",
|
||||
"connectPreview": "Langkah berikutnya adalah koneksi di browser. Untuk saat ini, jalankan perintah di bawah.",
|
||||
"copyCommand": "Salin perintah",
|
||||
"filterAll": "Semua",
|
||||
"filterOff": "Nonaktif",
|
||||
"filterOn": "Aktif",
|
||||
"helperCopied": "{{name}} disalin.",
|
||||
"helperCopyFailed": "Tidak dapat menyalin {{name}}.",
|
||||
"hideSecret": "Sembunyikan rahasia",
|
||||
"instanceConfigured": "Dikonfigurasi",
|
||||
"instanceNeedsSetup": "Perlu penyiapan",
|
||||
"runtimeFailed": "Gagal dimulai",
|
||||
"runtimeStarting": "Memulai",
|
||||
"runtimeStopped": "Tidak berjalan",
|
||||
"managedByWebui": "Dikelola oleh WebUI",
|
||||
"officialGuide": "Panduan resmi",
|
||||
"optional": "Opsional",
|
||||
"providerPreset": "Penyedia",
|
||||
"requiredSetup": "Penyiapan wajib",
|
||||
"savedSecret": "Tersimpan",
|
||||
"savedSecretPlaceholder": "Rahasia tersimpan",
|
||||
"savedSettings": "Pengaturan disimpan.",
|
||||
"saveSettings": "Simpan pengaturan",
|
||||
"selectChannel": "Lihat pengaturan {{name}}",
|
||||
"setupSteps": "Langkah berikutnya",
|
||||
"showSecret": "Tampilkan rahasia",
|
||||
"toggleChannel": "Kanal {{name}}",
|
||||
"toggleInstance": "Instans {{name}}",
|
||||
"tryIt": "Coba",
|
||||
"validationFailed": "Periksa penyiapan wajib sebelum mengaktifkan.",
|
||||
"validation": {
|
||||
"connected": "Terhubung",
|
||||
"configured": "Dikonfigurasi manual",
|
||||
"needs_setup": "Perlu penyiapan",
|
||||
"invalid": "Tidak valid",
|
||||
"unsupported": "Penyiapan manual"
|
||||
}
|
||||
},
|
||||
"nanobotFeatures": {
|
||||
"enabled": "Aktif",
|
||||
|
||||
@@ -513,13 +513,51 @@
|
||||
"needsConfig": "設定が必要",
|
||||
"connect": "接続",
|
||||
"reconnect": "再接続",
|
||||
"feishuQrAlt": "Feishu 接続 QR コード",
|
||||
"feishuScanTitle": "Feishu でスキャン",
|
||||
"feishuScanDescription": "スマートフォンの Feishu または Lark でこのコードをスキャンしてください。認可後、nanobot が自動で設定を完了します。",
|
||||
"feishuWaiting": "認可を待っています...",
|
||||
"feishuConnected": "Feishu に接続しました。",
|
||||
"feishuConnectStopped": "接続を停止しました。",
|
||||
"feishuConnecting": "接続中..."
|
||||
"advanced": "詳細設定",
|
||||
"checkAndEnable": "確認して有効化",
|
||||
"checkConnection": "接続を確認",
|
||||
"checkedAndEnabled": "確認して有効化しました。",
|
||||
"checking": "確認中...",
|
||||
"checkOnly": "確認のみ",
|
||||
"commandCopied": "コマンドをコピーしました。",
|
||||
"commandCopyFailed": "コマンドをコピーできませんでした。",
|
||||
"configuredInstances": "{{count}} 個のインスタンスを設定済み",
|
||||
"connectPreview": "次の手順でブラウザー内接続を行います。今は下のコマンドを実行してください。",
|
||||
"copyCommand": "コマンドをコピー",
|
||||
"filterAll": "すべて",
|
||||
"filterOff": "オフ",
|
||||
"filterOn": "オン",
|
||||
"helperCopied": "{{name}} をコピーしました。",
|
||||
"helperCopyFailed": "{{name}} をコピーできませんでした。",
|
||||
"hideSecret": "シークレットを隠す",
|
||||
"instanceConfigured": "設定済み",
|
||||
"instanceNeedsSetup": "設定が必要",
|
||||
"runtimeFailed": "起動失敗",
|
||||
"runtimeStarting": "起動中",
|
||||
"runtimeStopped": "未実行",
|
||||
"managedByWebui": "WebUI で管理",
|
||||
"officialGuide": "公式ガイド",
|
||||
"optional": "任意",
|
||||
"providerPreset": "プロバイダー",
|
||||
"requiredSetup": "必要な設定",
|
||||
"savedSecret": "保存済み",
|
||||
"savedSecretPlaceholder": "保存済みのシークレット",
|
||||
"savedSettings": "設定を保存しました。",
|
||||
"saveSettings": "設定を保存",
|
||||
"selectChannel": "{{name}} の設定を表示",
|
||||
"setupSteps": "次の手順",
|
||||
"showSecret": "シークレットを表示",
|
||||
"toggleChannel": "{{name}} チャンネル",
|
||||
"toggleInstance": "{{name}} インスタンス",
|
||||
"tryIt": "試してみる",
|
||||
"validationFailed": "有効化する前に必要な設定を確認してください。",
|
||||
"validation": {
|
||||
"connected": "接続済み",
|
||||
"configured": "手動設定済み",
|
||||
"needs_setup": "設定が必要",
|
||||
"invalid": "無効",
|
||||
"unsupported": "手動設定"
|
||||
}
|
||||
},
|
||||
"nanobotFeatures": {
|
||||
"enabled": "有効",
|
||||
|
||||
@@ -513,13 +513,51 @@
|
||||
"needsConfig": "설정 필요",
|
||||
"connect": "연결",
|
||||
"reconnect": "다시 연결",
|
||||
"feishuQrAlt": "Feishu 연결 QR 코드",
|
||||
"feishuScanTitle": "Feishu로 스캔",
|
||||
"feishuScanDescription": "휴대폰의 Feishu 또는 Lark로 이 코드를 스캔하세요. 승인 후 nanobot이 자동으로 설정을 완료합니다.",
|
||||
"feishuWaiting": "승인을 기다리는 중...",
|
||||
"feishuConnected": "Feishu가 연결되었습니다.",
|
||||
"feishuConnectStopped": "연결이 중지되었습니다.",
|
||||
"feishuConnecting": "연결 중..."
|
||||
"advanced": "고급",
|
||||
"checkAndEnable": "확인 후 활성화",
|
||||
"checkConnection": "연결 확인",
|
||||
"checkedAndEnabled": "확인 후 활성화했습니다.",
|
||||
"checking": "확인 중...",
|
||||
"checkOnly": "확인만",
|
||||
"commandCopied": "명령을 복사했습니다.",
|
||||
"commandCopyFailed": "명령을 복사하지 못했습니다.",
|
||||
"configuredInstances": "인스턴스 {{count}}개 구성됨",
|
||||
"connectPreview": "다음 단계에서 브라우저 내 연결을 진행합니다. 지금은 아래 명령을 실행하세요.",
|
||||
"copyCommand": "명령 복사",
|
||||
"filterAll": "전체",
|
||||
"filterOff": "꺼짐",
|
||||
"filterOn": "켜짐",
|
||||
"helperCopied": "{{name}}을(를) 복사했습니다.",
|
||||
"helperCopyFailed": "{{name}}을(를) 복사하지 못했습니다.",
|
||||
"hideSecret": "비밀 값 숨기기",
|
||||
"instanceConfigured": "구성됨",
|
||||
"instanceNeedsSetup": "설정 필요",
|
||||
"runtimeFailed": "시작 실패",
|
||||
"runtimeStarting": "시작 중",
|
||||
"runtimeStopped": "실행 중 아님",
|
||||
"managedByWebui": "WebUI에서 관리",
|
||||
"officialGuide": "공식 가이드",
|
||||
"optional": "선택 사항",
|
||||
"providerPreset": "제공자",
|
||||
"requiredSetup": "필수 설정",
|
||||
"savedSecret": "저장됨",
|
||||
"savedSecretPlaceholder": "저장된 비밀 값",
|
||||
"savedSettings": "설정을 저장했습니다.",
|
||||
"saveSettings": "설정 저장",
|
||||
"selectChannel": "{{name}} 설정 보기",
|
||||
"setupSteps": "다음 단계",
|
||||
"showSecret": "비밀 값 표시",
|
||||
"toggleChannel": "{{name}} 채널",
|
||||
"toggleInstance": "{{name}} 인스턴스",
|
||||
"tryIt": "사용해 보기",
|
||||
"validationFailed": "활성화하기 전에 필수 설정을 확인하세요.",
|
||||
"validation": {
|
||||
"connected": "연결됨",
|
||||
"configured": "수동 구성됨",
|
||||
"needs_setup": "설정 필요",
|
||||
"invalid": "잘못됨",
|
||||
"unsupported": "수동 설정"
|
||||
}
|
||||
},
|
||||
"nanobotFeatures": {
|
||||
"enabled": "활성화됨",
|
||||
|
||||
@@ -527,13 +527,51 @@
|
||||
"needsConfig": "Precisa de configuração",
|
||||
"connect": "Conectar",
|
||||
"reconnect": "Reconectar",
|
||||
"feishuQrAlt": "QR code de conexão do Feishu",
|
||||
"feishuScanTitle": "Escaneie com o Feishu",
|
||||
"feishuScanDescription": "Use o Feishu ou o Lark no seu celular para escanear este código. O nanobot concluirá a configuração automaticamente após a autorização.",
|
||||
"feishuWaiting": "Aguardando autorização...",
|
||||
"feishuConnected": "Feishu está conectado.",
|
||||
"feishuConnectStopped": "Conexão interrompida.",
|
||||
"feishuConnecting": "Conectando..."
|
||||
"advanced": "Avançado",
|
||||
"checkAndEnable": "Verificar e ativar",
|
||||
"checkConnection": "Verificar conexão",
|
||||
"checkedAndEnabled": "Verificado e ativado.",
|
||||
"checking": "Verificando...",
|
||||
"checkOnly": "Apenas verificar",
|
||||
"commandCopied": "Comando copiado.",
|
||||
"commandCopyFailed": "Não foi possível copiar o comando.",
|
||||
"configuredInstances": "{{count}} instâncias configuradas",
|
||||
"connectPreview": "A próxima etapa é a conexão no navegador. Por enquanto, execute o comando abaixo.",
|
||||
"copyCommand": "Copiar comando",
|
||||
"filterAll": "Todos",
|
||||
"filterOff": "Desativados",
|
||||
"filterOn": "Ativados",
|
||||
"helperCopied": "{{name}} copiado.",
|
||||
"helperCopyFailed": "Não foi possível copiar {{name}}.",
|
||||
"hideSecret": "Ocultar segredo",
|
||||
"instanceConfigured": "Configurada",
|
||||
"instanceNeedsSetup": "Requer configuração",
|
||||
"runtimeFailed": "Falha ao iniciar",
|
||||
"runtimeStarting": "Iniciando",
|
||||
"runtimeStopped": "Não está em execução",
|
||||
"managedByWebui": "Gerenciado pela WebUI",
|
||||
"officialGuide": "Guia oficial",
|
||||
"optional": "Opcional",
|
||||
"providerPreset": "Provedor",
|
||||
"requiredSetup": "Configuração obrigatória",
|
||||
"savedSecret": "Salvo",
|
||||
"savedSecretPlaceholder": "Segredo salvo",
|
||||
"savedSettings": "Configurações salvas.",
|
||||
"saveSettings": "Salvar configurações",
|
||||
"selectChannel": "Ver configurações de {{name}}",
|
||||
"setupSteps": "Próximas etapas",
|
||||
"showSecret": "Mostrar segredo",
|
||||
"toggleChannel": "Canal {{name}}",
|
||||
"toggleInstance": "Instância {{name}}",
|
||||
"tryIt": "Experimente",
|
||||
"validationFailed": "Verifique a configuração obrigatória antes de ativar.",
|
||||
"validation": {
|
||||
"connected": "Conectado",
|
||||
"configured": "Configurado manualmente",
|
||||
"needs_setup": "Requer configuração",
|
||||
"invalid": "Inválido",
|
||||
"unsupported": "Configuração manual"
|
||||
}
|
||||
},
|
||||
"nanobotFeatures": {
|
||||
"enabled": "Habilitado",
|
||||
|
||||
@@ -513,13 +513,51 @@
|
||||
"needsConfig": "Cần cấu hình",
|
||||
"connect": "Kết nối",
|
||||
"reconnect": "Kết nối lại",
|
||||
"feishuQrAlt": "Mã QR kết nối Feishu",
|
||||
"feishuScanTitle": "Quét bằng Feishu",
|
||||
"feishuScanDescription": "Dùng Feishu hoặc Lark trên điện thoại để quét mã này. nanobot sẽ tự hoàn tất cấu hình sau khi cấp quyền.",
|
||||
"feishuWaiting": "Đang chờ cấp quyền...",
|
||||
"feishuConnected": "Feishu đã kết nối.",
|
||||
"feishuConnectStopped": "Kết nối đã dừng.",
|
||||
"feishuConnecting": "Đang kết nối..."
|
||||
"advanced": "Nâng cao",
|
||||
"checkAndEnable": "Kiểm tra và bật",
|
||||
"checkConnection": "Kiểm tra kết nối",
|
||||
"checkedAndEnabled": "Đã kiểm tra và bật.",
|
||||
"checking": "Đang kiểm tra...",
|
||||
"checkOnly": "Chỉ kiểm tra",
|
||||
"commandCopied": "Đã sao chép lệnh.",
|
||||
"commandCopyFailed": "Không thể sao chép lệnh.",
|
||||
"configuredInstances": "Đã cấu hình {{count}} phiên bản",
|
||||
"connectPreview": "Bước tiếp theo là kết nối trong trình duyệt. Hiện tại, hãy chạy lệnh bên dưới.",
|
||||
"copyCommand": "Sao chép lệnh",
|
||||
"filterAll": "Tất cả",
|
||||
"filterOff": "Tắt",
|
||||
"filterOn": "Bật",
|
||||
"helperCopied": "Đã sao chép {{name}}.",
|
||||
"helperCopyFailed": "Không thể sao chép {{name}}.",
|
||||
"hideSecret": "Ẩn khóa bí mật",
|
||||
"instanceConfigured": "Đã cấu hình",
|
||||
"instanceNeedsSetup": "Cần thiết lập",
|
||||
"runtimeFailed": "Khởi động thất bại",
|
||||
"runtimeStarting": "Đang khởi động",
|
||||
"runtimeStopped": "Không chạy",
|
||||
"managedByWebui": "Do WebUI quản lý",
|
||||
"officialGuide": "Hướng dẫn chính thức",
|
||||
"optional": "Tùy chọn",
|
||||
"providerPreset": "Nhà cung cấp",
|
||||
"requiredSetup": "Thiết lập bắt buộc",
|
||||
"savedSecret": "Đã lưu",
|
||||
"savedSecretPlaceholder": "Khóa bí mật đã lưu",
|
||||
"savedSettings": "Đã lưu cài đặt.",
|
||||
"saveSettings": "Lưu cài đặt",
|
||||
"selectChannel": "Xem cài đặt {{name}}",
|
||||
"setupSteps": "Các bước tiếp theo",
|
||||
"showSecret": "Hiện khóa bí mật",
|
||||
"toggleChannel": "Kênh {{name}}",
|
||||
"toggleInstance": "Phiên bản {{name}}",
|
||||
"tryIt": "Dùng thử",
|
||||
"validationFailed": "Hãy kiểm tra thiết lập bắt buộc trước khi bật.",
|
||||
"validation": {
|
||||
"connected": "Đã kết nối",
|
||||
"configured": "Đã cấu hình thủ công",
|
||||
"needs_setup": "Cần thiết lập",
|
||||
"invalid": "Không hợp lệ",
|
||||
"unsupported": "Thiết lập thủ công"
|
||||
}
|
||||
},
|
||||
"nanobotFeatures": {
|
||||
"enabled": "Đã bật",
|
||||
|
||||
@@ -510,7 +510,7 @@
|
||||
},
|
||||
"channels": {
|
||||
"description": "把聊天应用、邮箱和 WebUI 连接到 nanobot。",
|
||||
"caption": "{{enabled}} 个已启用 · 共 {{total}} 个渠道",
|
||||
"caption": "{{enabled}} 个运行中 · 共 {{total}} 个渠道",
|
||||
"searchPlaceholder": "搜索渠道",
|
||||
"backToChannels": "所有渠道",
|
||||
"catalog": "渠道",
|
||||
@@ -527,13 +527,51 @@
|
||||
"needsConfig": "需要配置",
|
||||
"connect": "连接",
|
||||
"reconnect": "重新连接",
|
||||
"feishuQrAlt": "飞书连接二维码",
|
||||
"feishuScanTitle": "使用飞书扫码",
|
||||
"feishuScanDescription": "用手机上的飞书或 Lark 扫描二维码。授权完成后,nanobot 会自动完成配置。",
|
||||
"feishuWaiting": "正在等待授权...",
|
||||
"feishuConnected": "飞书已连接。",
|
||||
"feishuConnectStopped": "连接已停止。",
|
||||
"feishuConnecting": "正在连接..."
|
||||
"advanced": "高级",
|
||||
"checkAndEnable": "检查并启用",
|
||||
"checkConnection": "检查连接",
|
||||
"checkedAndEnabled": "已检查并启用。",
|
||||
"checking": "正在检查...",
|
||||
"checkOnly": "仅检查",
|
||||
"commandCopied": "命令已复制。",
|
||||
"commandCopyFailed": "无法复制命令。",
|
||||
"configuredInstances": "已配置 {{count}} 个实例",
|
||||
"connectPreview": "下一步将在浏览器内连接。目前请先运行下方命令。",
|
||||
"copyCommand": "复制命令",
|
||||
"filterAll": "全部",
|
||||
"filterOff": "未运行",
|
||||
"filterOn": "运行中",
|
||||
"helperCopied": "已复制 {{name}}。",
|
||||
"helperCopyFailed": "无法复制 {{name}}。",
|
||||
"hideSecret": "隐藏密钥",
|
||||
"instanceConfigured": "已配置",
|
||||
"instanceNeedsSetup": "需要配置",
|
||||
"runtimeFailed": "启动失败",
|
||||
"runtimeStarting": "正在启动",
|
||||
"runtimeStopped": "未运行",
|
||||
"managedByWebui": "由 WebUI 管理",
|
||||
"officialGuide": "官方指南",
|
||||
"optional": "可选",
|
||||
"providerPreset": "服务商",
|
||||
"requiredSetup": "必需配置",
|
||||
"savedSecret": "已保存",
|
||||
"savedSecretPlaceholder": "已保存的密钥",
|
||||
"savedSettings": "设置已保存。",
|
||||
"saveSettings": "保存设置",
|
||||
"selectChannel": "查看 {{name}} 设置",
|
||||
"setupSteps": "后续步骤",
|
||||
"showSecret": "显示密钥",
|
||||
"toggleChannel": "{{name}} 渠道",
|
||||
"toggleInstance": "{{name}} 实例",
|
||||
"tryIt": "试一试",
|
||||
"validationFailed": "启用前请检查必需配置。",
|
||||
"validation": {
|
||||
"connected": "已连接",
|
||||
"configured": "手动配置",
|
||||
"needs_setup": "需要配置",
|
||||
"invalid": "无效",
|
||||
"unsupported": "手动配置"
|
||||
}
|
||||
},
|
||||
"nanobotFeatures": {
|
||||
"enabled": "已启用",
|
||||
|
||||
@@ -513,13 +513,51 @@
|
||||
"needsConfig": "需要設定",
|
||||
"connect": "連線",
|
||||
"reconnect": "重新連線",
|
||||
"feishuQrAlt": "飛書連線 QR Code",
|
||||
"feishuScanTitle": "使用飛書掃描",
|
||||
"feishuScanDescription": "請使用手機上的飛書或 Lark 掃描此 QR Code。完成授權後,nanobot 會自動完成設定。",
|
||||
"feishuWaiting": "正在等待授權…",
|
||||
"feishuConnected": "飛書已連線。",
|
||||
"feishuConnectStopped": "連線已停止。",
|
||||
"feishuConnecting": "正在連線…"
|
||||
"advanced": "進階",
|
||||
"checkAndEnable": "檢查並啟用",
|
||||
"checkConnection": "檢查連線",
|
||||
"checkedAndEnabled": "已檢查並啟用。",
|
||||
"checking": "正在檢查...",
|
||||
"checkOnly": "僅檢查",
|
||||
"commandCopied": "指令已複製。",
|
||||
"commandCopyFailed": "無法複製指令。",
|
||||
"configuredInstances": "已設定 {{count}} 個執行個體",
|
||||
"connectPreview": "下一步將在瀏覽器內連線。目前請先執行下方指令。",
|
||||
"copyCommand": "複製指令",
|
||||
"filterAll": "全部",
|
||||
"filterOff": "關閉",
|
||||
"filterOn": "開啟",
|
||||
"helperCopied": "已複製 {{name}}。",
|
||||
"helperCopyFailed": "無法複製 {{name}}。",
|
||||
"hideSecret": "隱藏密鑰",
|
||||
"instanceConfigured": "已設定",
|
||||
"instanceNeedsSetup": "需要設定",
|
||||
"runtimeFailed": "啟動失敗",
|
||||
"runtimeStarting": "正在啟動",
|
||||
"runtimeStopped": "未執行",
|
||||
"managedByWebui": "由 WebUI 管理",
|
||||
"officialGuide": "官方指南",
|
||||
"optional": "選填",
|
||||
"providerPreset": "服務供應商",
|
||||
"requiredSetup": "必要設定",
|
||||
"savedSecret": "已儲存",
|
||||
"savedSecretPlaceholder": "已儲存的密鑰",
|
||||
"savedSettings": "設定已儲存。",
|
||||
"saveSettings": "儲存設定",
|
||||
"selectChannel": "檢視 {{name}} 設定",
|
||||
"setupSteps": "後續步驟",
|
||||
"showSecret": "顯示密鑰",
|
||||
"toggleChannel": "{{name}} 渠道",
|
||||
"toggleInstance": "{{name}} 執行個體",
|
||||
"tryIt": "試試看",
|
||||
"validationFailed": "啟用前請檢查必要設定。",
|
||||
"validation": {
|
||||
"connected": "已連線",
|
||||
"configured": "手動設定",
|
||||
"needs_setup": "需要設定",
|
||||
"invalid": "無效",
|
||||
"unsupported": "手動設定"
|
||||
}
|
||||
},
|
||||
"nanobotFeatures": {
|
||||
"enabled": "已啟用",
|
||||
|
||||
Reference in New Issue
Block a user