@@ -153,15 +153,15 @@ Index: code-server/lib/vscode/src/vs/server/node/webClientServer.ts
153
153
===================================================================
154
154
--- code-server.orig/lib/vscode/src/vs/server/node/webClientServer.ts
155
155
+++ code-server/lib/vscode/src/vs/server/node/webClientServer.ts
156
- @@ -26 ,6 +26 ,7 @@ import { URI } from '../../base/common/u
156
+ @@ -25 ,6 +25 ,7 @@ import { URI } from '../../base/common/u
157
157
import { streamToBuffer } from '../../base/common/buffer.js';
158
158
import { IProductConfiguration } from '../../base/common/product.js';
159
159
import { isString, Mutable } from '../../base/common/types.js';
160
160
+ import { getLocaleFromConfig, getBrowserNLSConfiguration } from './remoteLanguagePacks.js';
161
161
import { CharCode } from '../../base/common/charCode.js';
162
162
import { IExtensionManifest } from '../../platform/extensions/common/extensions.js';
163
163
import { ICSSDevelopmentService } from '../../platform/cssDev/node/cssDevService.js';
164
- @@ -386 ,14 +387 ,22 @@ export class WebClientServer {
164
+ @@ -385 ,14 +386 ,22 @@ export class WebClientServer {
165
165
};
166
166
167
167
const cookies = cookie.parse(req.headers.cookie || '');
@@ -272,7 +272,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extens
272
272
===================================================================
273
273
--- code-server.orig/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts
274
274
+++ code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.ts
275
- @@ -474 ,9 +474 ,6 @@ export class InstallAction extends Exten
275
+ @@ -475 ,9 +475 ,6 @@ export class InstallAction extends Exten
276
276
if (this.extension.isBuiltin) {
277
277
return;
278
278
}
@@ -282,7 +282,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extens
282
282
if (this.extension.state !== ExtensionState.Uninstalled) {
283
283
return;
284
284
}
285
- @@ -781 ,7 +778 ,7 @@ export abstract class InstallInOtherServ
285
+ @@ -782 ,7 +779 ,7 @@ export abstract class InstallInOtherServ
286
286
}
287
287
288
288
if (isLanguagePackExtension(this.extension.local.manifest)) {
@@ -291,7 +291,7 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extens
291
291
}
292
292
293
293
// Prefers to run on UI
294
- @@ -2071 ,17 +2068 ,6 @@ export class SetLanguageAction extends E
294
+ @@ -2073 ,17 +2070 ,6 @@ export class SetLanguageAction extends E
295
295
update(): void {
296
296
this.enabled = false;
297
297
this.class = SetLanguageAction.DisabledClass;
@@ -309,15 +309,15 @@ Index: code-server/lib/vscode/src/vs/workbench/contrib/extensions/browser/extens
309
309
}
310
310
311
311
override async run(): Promise<any> {
312
- @@ -2098 ,7 +2084 ,6 @@ export class ClearLanguageAction extends
312
+ @@ -2100 ,7 +2086 ,6 @@ export class ClearLanguageAction extends
313
313
private static readonly DisabledClass = `${this.EnabledClass} disabled`;
314
314
315
315
constructor(
316
316
- @IExtensionsWorkbenchService private readonly extensionsWorkbenchService: IExtensionsWorkbenchService,
317
317
@ILocaleService private readonly localeService: ILocaleService,
318
318
) {
319
319
super(ClearLanguageAction.ID, ClearLanguageAction.TITLE.value, ClearLanguageAction.DisabledClass, false);
320
- @@ -2108 ,17 +2093 ,6 @@ export class ClearLanguageAction extends
320
+ @@ -2110 ,17 +2095 ,6 @@ export class ClearLanguageAction extends
321
321
update(): void {
322
322
this.enabled = false;
323
323
this.class = ClearLanguageAction.DisabledClass;
0 commit comments