mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
⚡ Adjust all calls
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="node-executing-info" :title="$baseText('node.nodeIsExecuting')">
|
||||
<div class="node-executing-info" :title="$i18n2.baseText('node.nodeIsExecuting')">
|
||||
<font-awesome-icon icon="sync-alt" spin />
|
||||
</div>
|
||||
|
||||
@@ -37,20 +37,20 @@
|
||||
</div>
|
||||
|
||||
<div class="node-options no-select-on-click" v-if="!isReadOnly" v-show="!hideActions">
|
||||
<div v-touch:tap="deleteNode" class="option" :title="$baseText('node.deleteNode')" >
|
||||
<div v-touch:tap="deleteNode" class="option" :title="$i18n2.baseText('node.deleteNode')" >
|
||||
|
||||
<font-awesome-icon icon="trash" />
|
||||
</div>
|
||||
<div v-touch:tap="disableNode" class="option" :title="$baseText('node.activateDeactivateNode')">
|
||||
<div v-touch:tap="disableNode" class="option" :title="$i18n2.baseText('node.activateDeactivateNode')">
|
||||
<font-awesome-icon :icon="nodeDisabledIcon" />
|
||||
</div>
|
||||
<div v-touch:tap="duplicateNode" class="option" :title="$baseText('node.duplicateNode')">
|
||||
<div v-touch:tap="duplicateNode" class="option" :title="$i18n2.baseText('node.duplicateNode')">
|
||||
<font-awesome-icon icon="clone" />
|
||||
</div>
|
||||
<div v-touch:tap="setNodeActive" class="option touch" :title="$baseText('node.editNode')" v-if="!isReadOnly">
|
||||
<div v-touch:tap="setNodeActive" class="option touch" :title="$i18n2.baseText('node.editNode')" v-if="!isReadOnly">
|
||||
<font-awesome-icon class="execute-icon" icon="cog" />
|
||||
</div>
|
||||
<div v-touch:tap="executeNode" class="option" :title="$baseText('node.executeNode')" v-if="!isReadOnly && !workflowRunning">
|
||||
<div v-touch:tap="executeNode" class="option" :title="$i18n2.baseText('node.executeNode')" v-if="!isReadOnly && !workflowRunning">
|
||||
<font-awesome-icon class="execute-icon" icon="play-circle" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -62,7 +62,7 @@
|
||||
{{ nodeTitle }}
|
||||
</p>
|
||||
<p v-if="data.disabled">
|
||||
({{ $baseText('node.disabled') }})
|
||||
({{ $i18n2.baseText('node.disabled') }})
|
||||
</p>
|
||||
</div>
|
||||
<div v-if="nodeSubtitle !== undefined" class="node-subtitle" :title="nodeSubtitle">
|
||||
@@ -169,7 +169,7 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, renderText, workflow
|
||||
|
||||
const nodeIssues = NodeHelpers.nodeIssuesToString(this.data.issues, this.data);
|
||||
|
||||
return `${this.$baseText('node.issues')}:<br /> - ` + nodeIssues.join('<br /> - ');
|
||||
return `${this.$i18n2.baseText('node.issues')}:<br /> - ` + nodeIssues.join('<br /> - ');
|
||||
},
|
||||
nodeDisabledIcon (): string {
|
||||
if (this.data.disabled === false) {
|
||||
@@ -195,11 +195,11 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, renderText, workflow
|
||||
return returnStyles;
|
||||
},
|
||||
shortNodeType (): string {
|
||||
return this.$shortNodeType(this.data.type);
|
||||
return this.$i18n2.shortNodeType(this.data.type);
|
||||
},
|
||||
nodeTitle (): string {
|
||||
if (this.data.name === 'Start') {
|
||||
return this.$headerText({
|
||||
return this.$i18n2.headerText({
|
||||
key: `headers.start.displayName`,
|
||||
fallback: 'Start',
|
||||
});
|
||||
@@ -215,9 +215,9 @@ export default mixins(externalHooks, nodeBase, nodeHelpers, renderText, workflow
|
||||
if (this.name === lastNodeExecuted) {
|
||||
const waitDate = new Date(workflowExecution.waitTill);
|
||||
if (waitDate.toISOString() === WAIT_TIME_UNLIMITED) {
|
||||
return this.$baseText('node.theNodeIsWaitingIndefinitelyForAnIncomingWebhookCall');
|
||||
return this.$i18n2.baseText('node.theNodeIsWaitingIndefinitelyForAnIncomingWebhookCall');
|
||||
}
|
||||
return this.$baseText(
|
||||
return this.$i18n2.baseText(
|
||||
'node.nodeIsWaitingTill',
|
||||
{
|
||||
interpolate: {
|
||||
|
||||
Reference in New Issue
Block a user