mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-12 02:58:31 -05:00
23 lines
1017 B
TypeScript
23 lines
1017 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import { createChannelSender } from 'vs/base/parts/ipc/node/ipc';
|
|
import { ILocalizationsService } from 'vs/platform/localizations/common/localizations';
|
|
import { ISharedProcessService } from 'vs/platform/ipc/electron-browser/sharedProcessService';
|
|
import { registerSingleton } from 'vs/platform/instantiation/common/extensions';
|
|
|
|
export class LocalizationsService {
|
|
|
|
_serviceBrand: undefined;
|
|
|
|
constructor(
|
|
@ISharedProcessService sharedProcessService: ISharedProcessService,
|
|
) {
|
|
return createChannelSender<ILocalizationsService>(sharedProcessService.getChannel('localizations'));
|
|
}
|
|
}
|
|
|
|
registerSingleton(ILocalizationsService, LocalizationsService, true);
|