Browse Source

fix(integrations): fix toast translation for shop connected message

Add default value string to t() call for proper i18next interpolation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Fszontagh 4 months ago
parent
commit
440374ae56
1 changed files with 1 additions and 1 deletions
  1. 1 1
      shopcall.ai-main/src/pages/IntegrationsRedirect.tsx

+ 1 - 1
shopcall.ai-main/src/pages/IntegrationsRedirect.tsx

@@ -485,7 +485,7 @@ export default function IntegrationsRedirect() {
 
       toast({
         title: t('integrations.oauth.shopConnected', 'Shop Connected'),
-        description: t('integrations.oauth.shopConnectedDescription', { shopName: pendingInstall.shopname }),
+        description: t('integrations.oauth.shopConnectedDescription', 'Successfully connected {{shopName}}', { shopName: pendingInstall.shopname }),
       });
 
       // Redirect to webshops page