mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-09-20 01:22:47 +01:00
Localize connection-string login validation and connectivity messages
Move the hardcoded SQL/Tables/Gremlin connection-string login strings into en/Resources.json and reference them via the type-safe Keys object (t(Keys.connectExplorer.errors.*)).
This commit is contained in:
@@ -1174,5 +1174,18 @@
|
||||
"retryConsoleMessage": "Data transfer job \"{{jobName}}\" in progress, total count: {{totalCount}}, processed count: {{processedCount}}"
|
||||
}
|
||||
}
|
||||
},
|
||||
"connectExplorer": {
|
||||
"errors": {
|
||||
"connectionStringMissing": "Connection string is missing.",
|
||||
"accountNameMissing": "Account name is missing from the connection string.",
|
||||
"endpointHostMissing": "Endpoint host is missing from the connection string.",
|
||||
"endpointHostNotAllowed": "Endpoint host is not allowed.",
|
||||
"accountNameMismatch": "Account name does not match the endpoint host.",
|
||||
"accountKeyMissing": "Account key is missing from the connection string.",
|
||||
"connectivityInvalid": "Unable to connect to the account with the provided connection string.",
|
||||
"connectivityUnreachable": "Unable to connect to the account. Please verify the connection string is correct and that the account is reachable.",
|
||||
"connectFailed": "Failed to connect using the provided connection string. Please verify it is correct and try again."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user