fix(editor): Update copy for debug modal paywall (#15905)

This commit is contained in:
Raúl Gómez Morales 2025-06-02 09:52:48 +02:00 committed by GitHub
parent 3f9a271e69
commit d0ff66226f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 4 deletions

View File

@ -832,9 +832,11 @@
"executionsList.statusTooltipText.theWorkflowIsWaitingIndefinitely": "The workflow is waiting indefinitely for an incoming webhook call.",
"executionsList.debug.button.copyToEditor": "Copy to editor",
"executionsList.debug.button.debugInEditor": "Debug in editor",
"executionsList.debug.paywall.title": "Upgrade to access Debug In Editor",
"executionsList.debug.paywall.content": "Debug in Editor allows you to debug a previous execution with the actual data pinned, right in your editor.",
"executionsList.debug.paywall.link.text": "Read more in the docs",
"executionsList.debug.paywall.link.url": "https://docs.n8n.io/workflows/executions/debug/",
"executionsList.debug.paywall.subContent": "It's available on our Cloud plans, Enterprise and the",
"executionsList.debug.paywall.link.text": "Registered Community Edition.",
"executionsList.debug.paywall.link.url": "https://docs.n8n.io/hosting/community-edition-features/#registered-community-edition",
"fromAiParametersModal.title": "Test {nodeName}",
"fromAiParametersModal.execute": "Execute step",
"fromAiParametersModal.description": "Provide the data that would normally come from the \"{parentNodeName}\" node",

View File

@ -1,6 +1,6 @@
<script lang="ts" setup>
import { useI18n } from '@n8n/i18n';
import Modal from '@/components/Modal.vue';
import { useI18n } from '@n8n/i18n';
const props = defineProps<{
modalName: string;
@ -16,6 +16,8 @@ const i18n = useI18n();
<n8n-text>
{{ i18n.baseText('executionsList.debug.paywall.content') }}
<br />
<br />
{{ i18n.baseText('executionsList.debug.paywall.subContent') }}
<n8n-link :to="i18n.baseText('executionsList.debug.paywall.link.url')" new-window>
{{ i18n.baseText('executionsList.debug.paywall.link.text') }}
</n8n-link>

View File

@ -147,7 +147,7 @@ export const useExecutionDebugging = () => {
uiStore.openModalWithData({
name: DEBUG_PAYWALL_MODAL_KEY,
data: {
title: i18n.baseText(uiStore.contextBasedTranslationKeys.feature.unavailable.title),
title: i18n.baseText('executionsList.debug.paywall.title'),
footerButtonAction: () => {
uiStore.closeModal(DEBUG_PAYWALL_MODAL_KEY);
void pageRedirectionHelper.goToUpgrade('debug', 'upgrade-debug');