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