fix(editor): Fix source control docs link in add workflow button tooltip (#8891)

This commit is contained in:
Csaba Tuncsik 2024-03-15 13:46:25 +01:00 committed by GitHub
parent 6c693e1afd
commit a92d8bfc6e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 2 deletions

View file

@ -764,7 +764,8 @@
"mainSidebar.showMessage.stopExecution.title": "Execution stopped",
"mainSidebar.templates": "Templates",
"mainSidebar.workflows": "Workflows",
"mainSidebar.workflows.readOnlyEnv.tooltip": "Protected instances prevent editing workflows (recommended for production environments). <a target=\"_blank\" href=\"https://docs.n8n.io/source-control-environments/\">More info</a>",
"mainSidebar.workflows.readOnlyEnv.tooltip": "Protected instances prevent editing workflows (recommended for production environments). {link}",
"mainSidebar.workflows.readOnlyEnv.tooltip.link": "More info",
"mainSidebar.executions": "All executions",
"mainSidebar.workersView": "Workers",
"menuActions.duplicate": "Duplicate",

View file

@ -27,7 +27,13 @@
</n8n-button>
</div>
<template #content>
{{ $locale.baseText('mainSidebar.workflows.readOnlyEnv.tooltip') }}
<i18n-t tag="span" keypath="mainSidebar.workflows.readOnlyEnv.tooltip">
<template #link>
<a target="_blank" href="https://docs.n8n.io/source-control-environments/">
{{ $locale.baseText('mainSidebar.workflows.readOnlyEnv.tooltip.link') }}
</a>
</template>
</i18n-t>
</template>
</n8n-tooltip>
</template>