Przeglądaj źródła

fix(i18n): add missing ShopRenter connected toast translations

- Add shoprenterConnected, shoprenterConnectedDescription, shoprenterConnectedDefault
- Fix t() call syntax with default value for interpolation
- Add translations for en, hu, de locales

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

Co-Authored-By: Claude <noreply@anthropic.com>
Fszontagh 4 miesięcy temu
rodzic
commit
f6f1265a48

+ 1 - 1
shopcall.ai-main/src/components/IntegrationsContent.tsx

@@ -210,7 +210,7 @@ export function IntegrationsContent() {
       toast({
       toast({
         title: t('integrations.oauth.shoprenterConnected', 'ShopRenter Connected'),
         title: t('integrations.oauth.shoprenterConnected', 'ShopRenter Connected'),
         description: storeName
         description: storeName
-          ? t('integrations.oauth.shoprenterConnectedDescription', { storeName: decodeURIComponent(storeName) })
+          ? t('integrations.oauth.shoprenterConnectedDescription', 'Your store {{storeName}} has been connected successfully!', { storeName: decodeURIComponent(storeName) })
           : t('integrations.oauth.shoprenterConnectedDefault', 'Your ShopRenter store has been connected successfully!'),
           : t('integrations.oauth.shoprenterConnectedDefault', 'Your ShopRenter store has been connected successfully!'),
       });
       });
       // Clean up URL
       // Clean up URL

+ 3 - 0
shopcall.ai-main/src/i18n/locales/de.json

@@ -858,6 +858,9 @@
       "backToIntegrations": "Zurück zu Integrationen",
       "backToIntegrations": "Zurück zu Integrationen",
       "shopConnected": "Shop Verbunden",
       "shopConnected": "Shop Verbunden",
       "shopConnectedDescription": "{{shopName}} erfolgreich verbunden",
       "shopConnectedDescription": "{{shopName}} erfolgreich verbunden",
+      "shoprenterConnected": "ShopRenter Verbunden",
+      "shoprenterConnectedDescription": "Ihr Shop {{storeName}} wurde erfolgreich verbunden!",
+      "shoprenterConnectedDefault": "Ihr ShopRenter-Shop wurde erfolgreich verbunden!",
       "loadingShopInfo": "Shop-Informationen werden geladen...",
       "loadingShopInfo": "Shop-Informationen werden geladen...",
       "detectedEmail": "Wir haben Ihre Shop-E-Mail erkannt",
       "detectedEmail": "Wir haben Ihre Shop-E-Mail erkannt",
       "useDetectedEmail": "Schnellstart mit {{email}}",
       "useDetectedEmail": "Schnellstart mit {{email}}",

+ 3 - 0
shopcall.ai-main/src/i18n/locales/en.json

@@ -1058,6 +1058,9 @@
       "backToIntegrations": "Back to Integrations",
       "backToIntegrations": "Back to Integrations",
       "shopConnected": "Shop Connected",
       "shopConnected": "Shop Connected",
       "shopConnectedDescription": "Successfully connected {{shopName}}",
       "shopConnectedDescription": "Successfully connected {{shopName}}",
+      "shoprenterConnected": "ShopRenter Connected",
+      "shoprenterConnectedDescription": "Your store {{storeName}} has been connected successfully!",
+      "shoprenterConnectedDefault": "Your ShopRenter store has been connected successfully!",
       "loadingShopInfo": "Loading shop information...",
       "loadingShopInfo": "Loading shop information...",
       "detectedEmail": "We detected your shop email",
       "detectedEmail": "We detected your shop email",
       "useDetectedEmail": "Quick start with {{email}}",
       "useDetectedEmail": "Quick start with {{email}}",

+ 3 - 0
shopcall.ai-main/src/i18n/locales/hu.json

@@ -936,6 +936,9 @@
       "backToIntegrations": "Vissza az Integrációkhoz",
       "backToIntegrations": "Vissza az Integrációkhoz",
       "shopConnected": "Áruház Csatlakoztatva",
       "shopConnected": "Áruház Csatlakoztatva",
       "shopConnectedDescription": "{{shopName}} sikeresen csatlakoztatva",
       "shopConnectedDescription": "{{shopName}} sikeresen csatlakoztatva",
+      "shoprenterConnected": "ShopRenter Csatlakoztatva",
+      "shoprenterConnectedDescription": "{{storeName}} áruháza sikeresen csatlakoztatva!",
+      "shoprenterConnectedDefault": "ShopRenter áruháza sikeresen csatlakoztatva!",
       "loadingShopInfo": "Áruház információk betöltése...",
       "loadingShopInfo": "Áruház információk betöltése...",
       "detectedEmail": "Felismertük az áruház email címét",
       "detectedEmail": "Felismertük az áruház email címét",
       "useDetectedEmail": "Gyors kezdés: {{email}}",
       "useDetectedEmail": "Gyors kezdés: {{email}}",