mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -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[] {
|
export function getCommonLaunchArgsAndCleanupOldLogFiles(logPath: string, fileName: string, executablePath: string): string[] {
|
||||||
let launchArgs: string[] = [];
|
let launchArgs: string[] = [];
|
||||||
|
launchArgs.push(`--locale`, vscode.env.language);
|
||||||
|
|
||||||
launchArgs.push('--log-file');
|
launchArgs.push('--log-file');
|
||||||
let logFile = path.join(logPath, fileName);
|
let logFile = path.join(logPath, fileName);
|
||||||
launchArgs.push(logFile);
|
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[] {
|
export function getCommonLaunchArgsAndCleanupOldLogFiles(logPath: string, fileName: string, executablePath: string): string[] {
|
||||||
let launchArgs = [];
|
let launchArgs = [];
|
||||||
|
launchArgs.push(`--locale`, vscode.env.language);
|
||||||
|
|
||||||
launchArgs.push('--log-file');
|
launchArgs.push('--log-file');
|
||||||
let logFile = path.join(logPath, fileName);
|
let logFile = path.join(logPath, fileName);
|
||||||
launchArgs.push(logFile);
|
launchArgs.push(logFile);
|
||||||
|
|||||||
Reference in New Issue
Block a user