webhooks delete formatMessage + api tokens cta wording

This commit is contained in:
ronronscelestes 2022-02-07 09:30:12 +01:00
parent 6343ce509c
commit 8fb8ebb31d
3 changed files with 6 additions and 3 deletions

View File

@ -111,7 +111,7 @@ const ApiTokenListView = () => {
> >
{formatMessage({ {formatMessage({
id: 'Settings.apiTokens.create', id: 'Settings.apiTokens.create',
defaultMessage: 'Add Entry', defaultMessage: 'Create new API Token',
})} })}
</LinkButton> </LinkButton>
) : ( ) : (

View File

@ -281,7 +281,10 @@ const ListView = () => {
size="L" size="L"
variant="danger-light" variant="danger-light"
> >
Delete {formatMessage({
id: 'Settings.webhooks.events.delete',
defaultMessage: 'Delete',
})}
</Button> </Button>
</> </>
} }

View File

@ -97,7 +97,7 @@
"Settings.apiTokens.copy.editMessage": "For security reasons, you can only see your token once.", "Settings.apiTokens.copy.editMessage": "For security reasons, you can only see your token once.",
"Settings.apiTokens.copy.editTitle": "This token isnt accessible anymore.", "Settings.apiTokens.copy.editTitle": "This token isnt accessible anymore.",
"Settings.apiTokens.copy.lastWarning": "Make sure to copy this token, you wont be able to see it again!", "Settings.apiTokens.copy.lastWarning": "Make sure to copy this token, you wont be able to see it again!",
"Settings.apiTokens.create": "Add Entry", "Settings.apiTokens.create": "Create new API Token",
"Settings.apiTokens.description": "List of generated tokens to consume the API", "Settings.apiTokens.description": "List of generated tokens to consume the API",
"Settings.apiTokens.emptyStateLayout": "You dont have any content yet...", "Settings.apiTokens.emptyStateLayout": "You dont have any content yet...",
"Settings.apiTokens.notification.copied": "Token copied to clipboard.", "Settings.apiTokens.notification.copied": "Token copied to clipboard.",