Skip to content

Commit 38b498e

Browse files
authored
fix(editor): Fix outdated roles in variables labels (#9411)
1 parent aad43d8 commit 38b498e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/editor-ui/src/components/VariablesRow.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ function focusFirstInput() {
214214
</n8n-button>
215215
</div>
216216
<template #content>
217-
{{ i18n.baseText('variables.row.button.edit.onlyOwnerCanSave') }}
217+
{{ i18n.baseText('variables.row.button.edit.onlyRoleCanEdit') }}
218218
</template>
219219
</n8n-tooltip>
220220
<n8n-tooltip :disabled="permissions.delete" placement="top">
@@ -229,7 +229,7 @@ function focusFirstInput() {
229229
</n8n-button>
230230
</div>
231231
<template #content>
232-
{{ i18n.baseText('variables.row.button.delete.onlyOwnerCanDelete') }}
232+
{{ i18n.baseText('variables.row.button.delete.onlyRoleCanDelete') }}
233233
</template>
234234
</n8n-tooltip>
235235
</div>

packages/editor-ui/src/plugins/i18n/locales/en.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2196,9 +2196,9 @@
21962196
"variables.row.button.save": "Save",
21972197
"variables.row.button.cancel": "Cancel",
21982198
"variables.row.button.edit": "Edit",
2199-
"variables.row.button.edit.onlyOwnerCanSave": "Only owner can edit variables",
2199+
"variables.row.button.edit.onlyRoleCanEdit": "Only instance owner and admins can edit variables",
22002200
"variables.row.button.delete": "Delete",
2201-
"variables.row.button.delete.onlyOwnerCanDelete": "Only owner can delete variables",
2201+
"variables.row.button.delete.onlyRoleCanDelete": "Only instance owner and can delete variables",
22022202
"variables.row.usage.copiedToClipboard": "Copied to clipboard",
22032203
"variables.row.usage.copyToClipboard": "Copy to clipboard",
22042204
"variables.search.placeholder": "Search variables...",

0 commit comments

Comments
 (0)