fix renaming

This commit is contained in:
Mutasem 2022-03-28 14:33:18 +02:00
parent ab840e7bb2
commit f5df535797
2 changed files with 6 additions and 4 deletions

View file

@ -9,12 +9,11 @@
@keydown.esc="editName = false" @keydown.esc="editName = false"
> >
<n8n-text :class="$style.renameText" :bold="true" color="text-base" tag="div" <n8n-text :class="$style.renameText" :bold="true" color="text-base" tag="div"
>Rename node</n8n-text >{{ $locale.baseText('node.title.renameNode') }}</n8n-text>
>
<n8n-input ref="input" size="small" v-model="newName" /> <n8n-input ref="input" size="small" v-model="newName" />
<div :class="$style.editButtons"> <div :class="$style.editButtons">
<n8n-button type="outline" size="small" @click="editName = false" label="Cancel" /> <n8n-button type="outline" size="small" @click="editName = false" :label="$locale.baseText('node.title.cancel')" />
<n8n-button type="primary" size="small" @click="onRename" label="Rename" /> <n8n-button type="primary" size="small" @click="onRename" :label="$locale.baseText('node.title.rename')" />
</div> </div>
</div> </div>
<span :class="$style.title" slot="reference"> <span :class="$style.title" slot="reference">

View file

@ -1143,6 +1143,9 @@
"forgotPassword.returnToSignIn": "Back to sign in", "forgotPassword.returnToSignIn": "Back to sign in",
"forgotPassword.sendingEmailError": "Problem sending email", "forgotPassword.sendingEmailError": "Problem sending email",
"forgotPassword.smtpErrorContactAdministrator": "Please contact your administrator (problem with your SMTP setup)", "forgotPassword.smtpErrorContactAdministrator": "Please contact your administrator (problem with your SMTP setup)",
"node.title.rename": "Rename",
"node.title.cancel": "Cancel",
"node.title.renameNode": "Rename node",
"openWorkflow.workflowImportError": "Could not import workflow", "openWorkflow.workflowImportError": "Could not import workflow",
"openWorkflow.workflowNotFoundError": "Could not find workflow", "openWorkflow.workflowNotFoundError": "Could not find workflow",
"settings": "Settings", "settings": "Settings",