mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 03:54:24 +01:00
Adopt localize2 in more spots (#204030)
Another pass adopting localize2
This commit is contained in:
@@ -34,7 +34,7 @@ import { IPreferencesService } from 'vs/workbench/services/preferences/common/pr
|
||||
CommandsRegistry.registerCommandAlias('interactiveEditor.start', 'inlineChat.start');
|
||||
CommandsRegistry.registerCommandAlias('interactive.acceptChanges', ACTION_ACCEPT_CHANGES);
|
||||
|
||||
export const LOCALIZED_START_INLINE_CHAT_STRING = localize('run', 'Start Inline Chat');
|
||||
export const LOCALIZED_START_INLINE_CHAT_STRING = localize2('run', 'Start Inline Chat');
|
||||
export const START_INLINE_CHAT = registerIcon('start-inline-chat', Codicon.sparkle, localize('startInlineChat', 'Icon which spawns the inline chat from the editor toolbar.'));
|
||||
|
||||
// some gymnastics to enable hold for speech without moving the StartSessionAction into the electron-layer
|
||||
@@ -52,7 +52,7 @@ export class StartSessionAction extends EditorAction2 {
|
||||
constructor() {
|
||||
super({
|
||||
id: 'inlineChat.start',
|
||||
title: { value: LOCALIZED_START_INLINE_CHAT_STRING, original: 'Start Inline Chat' },
|
||||
title: LOCALIZED_START_INLINE_CHAT_STRING,
|
||||
category: AbstractInlineChatAction.category,
|
||||
f1: true,
|
||||
precondition: ContextKeyExpr.and(CTX_INLINE_CHAT_HAS_PROVIDER, EditorContextKeys.writable),
|
||||
|
||||
Reference in New Issue
Block a user