mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 20:54:07 -08:00
feat: Update credential test error message for sharees (#4864)
This commit is contained in:
parent
6f1b78df98
commit
4765d767e3
|
@ -9,7 +9,7 @@
|
|||
<banner
|
||||
v-if="authError && !showValidationWarning"
|
||||
theme="danger"
|
||||
:message="$locale.baseText('credentialEdit.credentialConfig.couldntConnectWithTheseSettings')"
|
||||
:message="$locale.baseText(`credentialEdit.credentialConfig.couldntConnectWithTheseSettings${!credentialPermissions.isOwner ? '.sharee' : ''}`, { interpolate: { owner: credentialOwnerName } })"
|
||||
:details="authError"
|
||||
:buttonLabel="$locale.baseText('credentialEdit.credentialConfig.retry')"
|
||||
buttonLoadingLabel="Retrying"
|
||||
|
@ -204,7 +204,7 @@ export default mixins(restApi).extend({
|
|||
return (this.credentialType as ICredentialType).name;
|
||||
},
|
||||
credentialOwnerName(): string {
|
||||
return this.credentialsStore.getCredentialOwnerName(this.credentialId);
|
||||
return this.credentialsStore.getCredentialOwnerName(`${this.credentialId}`);
|
||||
},
|
||||
documentationUrl(): string {
|
||||
const type = this.credentialType as ICredentialType;
|
||||
|
|
|
@ -248,6 +248,7 @@
|
|||
"credentialEdit.credentialConfig.clickToCopy": "Click To Copy",
|
||||
"credentialEdit.credentialConfig.connectionTestedSuccessfully": "Connection tested successfully",
|
||||
"credentialEdit.credentialConfig.couldntConnectWithTheseSettings": "Couldn’t connect with these settings",
|
||||
"credentialEdit.credentialConfig.couldntConnectWithTheseSettings.sharee": "Problem with connection settings. {owner} may be able to fix this",
|
||||
"credentialEdit.credentialConfig.needHelpFillingOutTheseFields": "Need help filling out these fields?",
|
||||
"credentialEdit.credentialConfig.oAuthRedirectUrl": "OAuth Redirect URL",
|
||||
"credentialEdit.credentialConfig.openDocs": "Open docs",
|
||||
|
|
Loading…
Reference in a new issue