ソースを参照

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 ヶ月 前
コミット
b72084a8d0
1 ファイル変更1 行追加1 行削除
  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({
       toast({
         title: t('integrations.oauth.shopConnected', 'Shop Connected'),
         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
       // Redirect to webshops page