Skip to content

Commit ec1d6c0

Browse files
committed
Show hardcoded error message
1 parent 9d64f54 commit ec1d6c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

resources/js/hooks/useWelcomeLicenseForm.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ export function pickWelcomeErrorMessage( error: HarborError ): string {
4040
const baseMessage = serverError?.message?.trim() || error.message;
4141

4242
if ( serverError?.code === SERVER_INVALID_KEY_CODE ) {
43-
return baseMessage + ' ' + __(
44-
"If this is a non-unified license, activate it in that plugin's own settings page.",
43+
return __(
44+
"We couldn't verify this key. If this is a non-unified license, activate it in that plugin's own settings page.",
4545
'%TEXTDOMAIN%'
4646
);
4747
}

0 commit comments

Comments
 (0)