mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
🚚 Rename $i18n2 to $i
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div @keydown.stop class="variable-selector-wrapper">
|
||||
<div class="input-wrapper">
|
||||
<n8n-input :placeholder="$i18n2.baseText('variableSelector.variableFilter')" v-model="variableFilter" ref="inputField" size="small" type="text"></n8n-input>
|
||||
<n8n-input :placeholder="$i.baseText('variableSelector.variableFilter')" v-model="variableFilter" ref="inputField" size="small" type="text"></n8n-input>
|
||||
</div>
|
||||
|
||||
<div class="result-wrapper">
|
||||
@@ -525,14 +525,14 @@ export default mixins(
|
||||
|
||||
currentNodeData.push(
|
||||
{
|
||||
name: this.$i18n2.baseText('variableSelector.parameters'),
|
||||
name: this.$i.baseText('variableSelector.parameters'),
|
||||
options: this.sortOptions(this.getNodeParameters(activeNode.name, initialPath, skipParameter, filterText) as IVariableSelectorOption[]),
|
||||
},
|
||||
);
|
||||
|
||||
returnData.push(
|
||||
{
|
||||
name: this.$i18n2.baseText('variableSelector.currentNode'),
|
||||
name: this.$i.baseText('variableSelector.currentNode'),
|
||||
options: this.sortOptions(currentNodeData),
|
||||
},
|
||||
);
|
||||
@@ -557,7 +557,7 @@ export default mixins(
|
||||
|
||||
nodeOptions = [
|
||||
{
|
||||
name: this.$i18n2.baseText('variableSelector.parameters'),
|
||||
name: this.$i.baseText('variableSelector.parameters'),
|
||||
options: this.sortOptions(this.getNodeParameters(nodeName, `$node["${nodeName}"].parameter`, undefined, filterText)),
|
||||
} as IVariableSelectorOption,
|
||||
];
|
||||
@@ -570,7 +570,7 @@ export default mixins(
|
||||
if (tempOptions.length) {
|
||||
nodeOptions = [
|
||||
{
|
||||
name: this.$i18n2.baseText('variableSelector.context'),
|
||||
name: this.$i.baseText('variableSelector.context'),
|
||||
options: this.sortOptions(tempOptions),
|
||||
} as IVariableSelectorOption,
|
||||
];
|
||||
@@ -583,18 +583,18 @@ export default mixins(
|
||||
if (tempOutputData) {
|
||||
nodeOptions.push(
|
||||
{
|
||||
name: this.$i18n2.baseText('variableSelector.outputData'),
|
||||
name: this.$i.baseText('variableSelector.outputData'),
|
||||
options: this.sortOptions(tempOutputData),
|
||||
} as IVariableSelectorOption,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
const shortNodeType = this.$i18n2.shortNodeType(node.type);
|
||||
const shortNodeType = this.$i.shortNodeType(node.type);
|
||||
|
||||
allNodesData.push(
|
||||
{
|
||||
name: this.$i18n2.headerText({
|
||||
name: this.$i.headerText({
|
||||
key: `headers.${shortNodeType}.displayName`,
|
||||
fallback: nodeName,
|
||||
}),
|
||||
@@ -605,7 +605,7 @@ export default mixins(
|
||||
|
||||
returnData.push(
|
||||
{
|
||||
name: this.$i18n2.baseText('variableSelector.nodes'),
|
||||
name: this.$i.baseText('variableSelector.nodes'),
|
||||
options: this.sortOptions(allNodesData),
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user