fix reconnect

This commit is contained in:
Dhruwang
2024-11-08 16:31:50 +05:30
parent 7616133a25
commit b1c2f2c4cd
5 changed files with 14 additions and 6 deletions

View File

@@ -77,11 +77,12 @@ export const ManageIntegration = ({
{showReconnectButton && (
<div className="mb-4 flex w-full items-center justify-between space-x-4">
<p className="text-amber-700">
<strong>Note:</strong> We recently changed our Slack integration to also support private channels.
Please reconnect your Slack workspace.
{t.rich("environments.integrations.slack.slack_reconnect_button_description", {
b: (chunks) => <b>{chunks}</b>,
})}
</p>
<Button onClick={handleSlackAuthorization} variant="secondary">
Reconnect
{t("environments.integrations.slack.slack_reconnect_button")}
</Button>
</div>
)}

View File

@@ -22,6 +22,7 @@ export const actionClient = createSafeActionClient({
}
console.error("SERVER ERROR: ", e);
if (e.message) return e.message;
return DEFAULT_SERVER_ERROR_MESSAGE;
},
});

View File

@@ -682,7 +682,9 @@
"select_channel": "Kanal auswählen",
"slack_integration": "Slack Integration",
"slack_integration_description": "Sende Antworten direkt an Slack.",
"slack_integration_is_not_configured": "Slack Integration ist in deiner Instanz von Formbricks nicht konfiguriert."
"slack_integration_is_not_configured": "Slack Integration ist in deiner Instanz von Formbricks nicht konfiguriert.",
"slack_reconnect_button": "Erneut verbinden",
"slack_reconnect_button_description": "<b>Hinweis:</b> Wir haben kürzlich unsere Slack-Integration geändert, um auch private Kanäle zu unterstützen. Bitte verbinden Sie Ihren Slack-Workspace erneut."
},
"slack_integration_description": "Verbinde deinen Slack Arbeitsbereich sofort mit Formbricks",
"to_configure_it": "es zu konfigurieren.",

View File

@@ -682,7 +682,9 @@
"select_channel": "Select Channel",
"slack_integration": "Slack Integration",
"slack_integration_description": "Send responses directly to Slack.",
"slack_integration_is_not_configured": "Slack Integration is not configured in your instance of Formbricks."
"slack_integration_is_not_configured": "Slack Integration is not configured in your instance of Formbricks.",
"slack_reconnect_button": "Reconnect",
"slack_reconnect_button_description": "<b>Note:</b> We recently changed our Slack integration to also support private channels. Please reconnect your Slack workspace."
},
"slack_integration_description": "Instantly connect your Slack Workspace with Formbricks",
"to_configure_it": "to configure it.",

View File

@@ -682,7 +682,9 @@
"select_channel": "Selecionar Canal",
"slack_integration": "Integração com o Slack",
"slack_integration_description": "Manda as respostas direto pro Slack.",
"slack_integration_is_not_configured": "A integração do Slack não está configurada na sua instância do Formbricks."
"slack_integration_is_not_configured": "A integração do Slack não está configurada na sua instância do Formbricks.",
"slack_reconnect_button": "Reconectar",
"slack_reconnect_button_description": "<b>Observação:</b> Recentemente, alteramos nossa integração com o Slack para também suportar canais privados. Por favor, reconecte seu workspace do Slack."
},
"slack_integration_description": "Conecte instantaneamente seu Workspace do Slack com o Formbricks",
"to_configure_it": "configurar isso.",