mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
Change 'Server name' to 'Server' (#372)
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
"specialValueType": "serverName",
|
||||
"isIdentity": true,
|
||||
"name": "server",
|
||||
"displayName": "Server name",
|
||||
"displayName": "Server",
|
||||
"description": "Name of the SQL Server instance",
|
||||
"groupName": "Source",
|
||||
"valueType": "string",
|
||||
@@ -42,7 +42,7 @@
|
||||
"specialValueType": "databaseName",
|
||||
"isIdentity": true,
|
||||
"name": "database",
|
||||
"displayName": "Database name",
|
||||
"displayName": "Database",
|
||||
"description": "The name of the initial catalog or database int the data source",
|
||||
"groupName": "Source",
|
||||
"valueType": "string",
|
||||
|
||||
@@ -147,11 +147,11 @@ export class ConnectionStatusbarItem implements IStatusbarItem {
|
||||
}
|
||||
|
||||
let tooltip: string =
|
||||
'Server name: ' + connectionProfile.serverName + '\r\n' +
|
||||
'Database name: ' + (connectionProfile.databaseName ? connectionProfile.databaseName : '<default>') + '\r\n';
|
||||
'Server: ' + connectionProfile.serverName + '\r\n' +
|
||||
'Database: ' + (connectionProfile.databaseName ? connectionProfile.databaseName : '<default>') + '\r\n';
|
||||
|
||||
if (connectionProfile.userName && connectionProfile.userName !== '') {
|
||||
tooltip = tooltip + 'Login name: ' + connectionProfile.userName + '\r\n';
|
||||
tooltip = tooltip + 'Login: ' + connectionProfile.userName + '\r\n';
|
||||
}
|
||||
|
||||
this._connectionElement.textContent = text;
|
||||
|
||||
Reference in New Issue
Block a user