mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Change azdata output channel to Azure Data CLI (#12545)
(cherry picked from commit cdd80c66764bddb2f5ed79045fbd8a0606d1d084) Co-authored-by: chgagnon <chgagnon@microsoft.com>
This commit is contained in:
@@ -4,12 +4,13 @@
|
|||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
import * as vscode from 'vscode';
|
import * as vscode from 'vscode';
|
||||||
|
import * as loc from '../localizedConstants';
|
||||||
|
|
||||||
export class Log {
|
export class Log {
|
||||||
private _output: vscode.OutputChannel;
|
private _output: vscode.OutputChannel;
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this._output = vscode.window.createOutputChannel('azdata');
|
this._output = vscode.window.createOutputChannel(loc.azdata);
|
||||||
}
|
}
|
||||||
|
|
||||||
log(msg: string): void {
|
log(msg: string): void {
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import { getErrorMessage } from './common/utils';
|
|||||||
import { azdataConfigSection, azdataInstallKey, azdataUpdateKey } from './constants';
|
import { azdataConfigSection, azdataInstallKey, azdataUpdateKey } from './constants';
|
||||||
const localize = nls.loadMessageBundle();
|
const localize = nls.loadMessageBundle();
|
||||||
|
|
||||||
|
export const azdata = localize('azdata.azdata', "Azure Data CLI");
|
||||||
export const searchingForAzdata = localize('azdata.searchingForAzdata', "Searching for existing Azure Data CLI installation...");
|
export const searchingForAzdata = localize('azdata.searchingForAzdata', "Searching for existing Azure Data CLI installation...");
|
||||||
export const foundExistingAzdata = (path: string, version: string): string => localize('azdata.foundExistingAzdata', "Found existing Azure Data CLI installation of version (v{0}) at path:{1}", version, path);
|
export const foundExistingAzdata = (path: string, version: string): string => localize('azdata.foundExistingAzdata', "Found existing Azure Data CLI installation of version (v{0}) at path:{1}", version, path);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user