feat: Add dynamic translations. Change how sharing unavailable is handled (no-changelog) (#4758)
* feat: Add dynamic translations. Change how sharing unavailable is handled (no-changelog) * fix: Add not-allowed cursor for disabled share button * fix: Remove fakedoor features from workflow details * fix: Remove fakedoor code from workflow share modal * fix: change dynamic translation to match shareModal title * chore: Removed unused import
This commit is contained in:
@@ -161,6 +161,21 @@ export const useUIStore = defineStore(STORES.UI, {
|
||||
uiLocations: ['workflowShareModal'],
|
||||
},
|
||||
],
|
||||
dynamicTranslations: {
|
||||
workflows: {
|
||||
shareModal: {
|
||||
title: 'dynamic.workflows.shareModal.title',
|
||||
},
|
||||
sharing: {
|
||||
unavailable: {
|
||||
description: 'dynamic.workflows.sharing.unavailable.description',
|
||||
action: 'dynamic.workflows.sharing.unavailable.action',
|
||||
button: 'dynamic.workflows.sharing.unavailable.button',
|
||||
linkURL: 'https://n8n.cloud',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
draggable: {
|
||||
isDragging: false,
|
||||
type: '',
|
||||
|
||||
Reference in New Issue
Block a user