From 38b498e73a71a9ca8b10a89e498aa8330acf2626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Wed, 15 May 2024 18:04:17 +0200 Subject: [PATCH] fix(editor): Fix outdated roles in variables labels (#9411) --- packages/editor-ui/src/components/VariablesRow.vue | 4 ++-- packages/editor-ui/src/plugins/i18n/locales/en.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/editor-ui/src/components/VariablesRow.vue b/packages/editor-ui/src/components/VariablesRow.vue index e39ddcc014..4e66fbe96e 100644 --- a/packages/editor-ui/src/components/VariablesRow.vue +++ b/packages/editor-ui/src/components/VariablesRow.vue @@ -214,7 +214,7 @@ function focusFirstInput() { @@ -229,7 +229,7 @@ function focusFirstInput() { diff --git a/packages/editor-ui/src/plugins/i18n/locales/en.json b/packages/editor-ui/src/plugins/i18n/locales/en.json index 0135bca4c1..43ef7c1efa 100644 --- a/packages/editor-ui/src/plugins/i18n/locales/en.json +++ b/packages/editor-ui/src/plugins/i18n/locales/en.json @@ -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...",