mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Localization option added to Kusto and MSSQL (#15674)
* added environment language need to test * added environment language, need to test if it works * added locale change to code * added Kusto localization for its ServiceLayer * removed extra space * removed console log and moved onto one line * removed quotes
This commit is contained in:
@@ -60,6 +60,8 @@ export function getLogFileName(prefix: string, pid: number): string {
|
||||
|
||||
export function getCommonLaunchArgsAndCleanupOldLogFiles(logPath: string, fileName: string, executablePath: string): string[] {
|
||||
let launchArgs: string[] = [];
|
||||
launchArgs.push(`--locale`, vscode.env.language);
|
||||
|
||||
launchArgs.push('--log-file');
|
||||
let logFile = path.join(logPath, fileName);
|
||||
launchArgs.push(logFile);
|
||||
|
||||
@@ -94,6 +94,8 @@ export function getLogFileName(prefix: string, pid: number): string {
|
||||
|
||||
export function getCommonLaunchArgsAndCleanupOldLogFiles(logPath: string, fileName: string, executablePath: string): string[] {
|
||||
let launchArgs = [];
|
||||
launchArgs.push(`--locale`, vscode.env.language);
|
||||
|
||||
launchArgs.push('--log-file');
|
||||
let logFile = path.join(logPath, fileName);
|
||||
launchArgs.push(logFile);
|
||||
|
||||
Reference in New Issue
Block a user