diff --git a/cptr/frontend/src/lib/components/Admin/CreateBotModal.svelte b/cptr/frontend/src/lib/components/Admin/CreateBotModal.svelte index 52fe31a..1796c4d 100644 --- a/cptr/frontend/src/lib/components/Admin/CreateBotModal.svelte +++ b/cptr/frontend/src/lib/components/Admin/CreateBotModal.svelte @@ -78,7 +78,7 @@ try { verifyResult = await verifyBotToken(platform, token.trim()); } catch (e: any) { - verifyResult = { ok: false, error: e.message || 'Verification failed' }; + verifyResult = { ok: false, error: e.message || $t('messaging.verificationFailed') }; } finally { verifying = false; } @@ -149,7 +149,7 @@
- Provider Type + {$t('connections.providerType')} {/if} diff --git a/cptr/frontend/src/lib/components/Admin/EditConnectionModal.svelte b/cptr/frontend/src/lib/components/Admin/EditConnectionModal.svelte index e208414..d124e59 100644 --- a/cptr/frontend/src/lib/components/Admin/EditConnectionModal.svelte +++ b/cptr/frontend/src/lib/components/Admin/EditConnectionModal.svelte @@ -156,18 +156,15 @@ -