mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(editor): Use i18n component instead od v-html for localization
* feat(editor): Export i18n instance and bind it to Vue instance * feat(editor): Audit usage of v-html and replace with alternatives where possible * 🔀 Fix conflicted element in RunDataTable * ♻️ Refactor issues elements with the new TitledList component * 🐛 Fixing unknown node modal dialog content rendering Co-authored-by: Milorad Filipovic <milorad@n8n.io>
This commit is contained in:
@@ -13,7 +13,22 @@
|
||||
<div v-if="apiKey">
|
||||
<p class="mb-s">
|
||||
<n8n-info-tip :bold="false">
|
||||
<span v-html="$locale.baseText('settings.api.view.info')"></span>
|
||||
<i18n path="settings.api.view.info" tag="span">
|
||||
<template #apiAction>
|
||||
<a
|
||||
href="https://docs.n8n.io/api"
|
||||
target="_blank"
|
||||
v-text="$locale.baseText('settings.api.view.info.api')"
|
||||
/>
|
||||
</template>
|
||||
<template #webhookAction>
|
||||
<a
|
||||
href="https://docs.n8n.io/integrations/core-nodes/n8n-nodes-base.webhook/"
|
||||
target="_blank"
|
||||
v-text="$locale.baseText('settings.api.view.info.webhook')"
|
||||
/>
|
||||
</template>
|
||||
</i18n>
|
||||
</n8n-info-tip>
|
||||
</p>
|
||||
<n8n-card class="mb-4xs" :class="$style.card">
|
||||
|
||||
Reference in New Issue
Block a user