Skip to content

Commit

Permalink
fix: localization for code translations (#1616)
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 authored Mar 28, 2023
1 parent a83fdb1 commit ffdbbe5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Copyright (C) Microsoft Corporation. All rights reserved.
*--------------------------------------------------------*/

import * as l10n from '@vscode/l10n';
import { tmpdir } from 'os';
import * as vscode from 'vscode';
import {
Expand Down Expand Up @@ -31,6 +32,10 @@ import { toggleSkippingFile } from './ui/toggleSkippingFile';
import { VSCodeSessionManager } from './ui/vsCodeSessionManager';

export function activate(context: vscode.ExtensionContext) {
if (vscode.l10n.bundle) {
l10n.config({ contents: vscode.l10n.bundle });
}

const services = createGlobalContainer({
// On Windows, use the os.tmpdir() since the extension storage path is too long. See:
// https://github.com/microsoft/vscode-js-debug/issues/342
Expand Down

0 comments on commit ffdbbe5

Please sign in to comment.