sussudio
Version:
An unofficial VS Code Internal API
13 lines (12 loc) • 733 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { IExtensionManifest } from "../../extensions/common/extensions.mjs";
export interface ITranslations {
[key: string]: string | {
message: string;
comment: string[];
} | undefined;
}
export declare function localizeManifest(extensionManifest: IExtensionManifest, translations: ITranslations, fallbackTranslations?: ITranslations): IExtensionManifest;