Skip to content

Commit

Permalink
fix(editor): Fix outdated roles in variables labels (n8n-io#9411)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov authored May 15, 2024
1 parent aad43d8 commit 38b498e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/editor-ui/src/components/VariablesRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ function focusFirstInput() {
</n8n-button>
</div>
<template #content>
{{ i18n.baseText('variables.row.button.edit.onlyOwnerCanSave') }}
{{ i18n.baseText('variables.row.button.edit.onlyRoleCanEdit') }}
</template>
</n8n-tooltip>
<n8n-tooltip :disabled="permissions.delete" placement="top">
Expand All @@ -229,7 +229,7 @@ function focusFirstInput() {
</n8n-button>
</div>
<template #content>
{{ i18n.baseText('variables.row.button.delete.onlyOwnerCanDelete') }}
{{ i18n.baseText('variables.row.button.delete.onlyRoleCanDelete') }}
</template>
</n8n-tooltip>
</div>
Expand Down
4 changes: 2 additions & 2 deletions packages/editor-ui/src/plugins/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2196,9 +2196,9 @@
"variables.row.button.save": "Save",
"variables.row.button.cancel": "Cancel",
"variables.row.button.edit": "Edit",
"variables.row.button.edit.onlyOwnerCanSave": "Only owner can edit variables",
"variables.row.button.edit.onlyRoleCanEdit": "Only instance owner and admins can edit variables",
"variables.row.button.delete": "Delete",
"variables.row.button.delete.onlyOwnerCanDelete": "Only owner can delete variables",
"variables.row.button.delete.onlyRoleCanDelete": "Only instance owner and can delete variables",
"variables.row.usage.copiedToClipboard": "Copied to clipboard",
"variables.row.usage.copyToClipboard": "Copy to clipboard",
"variables.search.placeholder": "Search variables...",
Expand Down

0 comments on commit 38b498e

Please sign in to comment.