This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Roman Nikitenko <[email protected]>
- Loading branch information
1 parent
69c6a40
commit bbca9b4
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
extensions/eclipse-che-theia-plugin-remote/src/node/hosted-plugin-service.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/********************************************************************** | ||
* Copyright (c) 2021 Red Hat, Inc. | ||
* | ||
* This program and the accompanying materials are made | ||
* available under the terms of the Eclipse Public License 2.0 | ||
* which is available at https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
***********************************************************************/ | ||
|
||
import { DeployedPlugin } from '@theia/plugin-ext/lib/common/plugin-protocol'; | ||
import { HostedPluginServerImpl } from '@theia/plugin-ext/lib/hosted/node/plugin-service'; | ||
import { injectable } from '@theia/core/shared/inversify'; | ||
|
||
@injectable() | ||
export class CheHostedPluginServerImpl extends HostedPluginServerImpl { | ||
protected async localizePlugin(plugin: DeployedPlugin, locale: string): Promise<DeployedPlugin> { | ||
// che-theia doesn't support localization for plugins | ||
return plugin; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters