mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Merge pull request #208795 from microsoft/merogge/acc-view-tweaks
fix small issues w accessibiliity help
This commit is contained in:
commit
95b449d11a
|
@ -684,7 +684,7 @@ export class AccessibleView extends Disposable {
|
||||||
private _getAccessibleViewHelpDialogContent(providerHasSymbols?: boolean): string {
|
private _getAccessibleViewHelpDialogContent(providerHasSymbols?: boolean): string {
|
||||||
const navigationHint = this._getNavigationHint();
|
const navigationHint = this._getNavigationHint();
|
||||||
const goToSymbolHint = this._getGoToSymbolHint(providerHasSymbols);
|
const goToSymbolHint = this._getGoToSymbolHint(providerHasSymbols);
|
||||||
const toolbarHint = localize('toolbar', "Navigate to the toolbar (Shift+Tab)).");
|
const toolbarHint = localize('toolbar', "Navigate to the toolbar (Shift+Tab).");
|
||||||
const chatHints = this._getChatHints();
|
const chatHints = this._getChatHints();
|
||||||
|
|
||||||
let hint = localize('intro', "In the accessible view, you can:\n");
|
let hint = localize('intro', "In the accessible view, you can:\n");
|
||||||
|
@ -720,7 +720,7 @@ export class AccessibleView extends Disposable {
|
||||||
if (insertIntoNewFileKb) {
|
if (insertIntoNewFileKb) {
|
||||||
hint += localize('insertIntoNewFile', " - Insert the code block into a new file ({0}).\n", insertIntoNewFileKb);
|
hint += localize('insertIntoNewFile', " - Insert the code block into a new file ({0}).\n", insertIntoNewFileKb);
|
||||||
} else {
|
} else {
|
||||||
hint += localize('insertIntoNewFileNoKb', " - Insert the code block into a new file by configuring a keybinding for the Chat: Insert at Cursor command.\n");
|
hint += localize('insertIntoNewFileNoKb', " - Insert the code block into a new file by configuring a keybinding for the Chat: Insert into New File command.\n");
|
||||||
}
|
}
|
||||||
if (runInTerminalKb) {
|
if (runInTerminalKb) {
|
||||||
hint += localize('runInTerminal', " - Run the code block in the terminal ({0}).\n", runInTerminalKb);
|
hint += localize('runInTerminal', " - Run the code block in the terminal ({0}).\n", runInTerminalKb);
|
||||||
|
@ -761,7 +761,7 @@ export class AccessibleView extends Disposable {
|
||||||
let goToSymbolHint = '';
|
let goToSymbolHint = '';
|
||||||
if (providerHasSymbols) {
|
if (providerHasSymbols) {
|
||||||
if (goToSymbolKb) {
|
if (goToSymbolKb) {
|
||||||
goToSymbolHint = localize('goToSymbolHint', 'Go to a symbol ({0})', goToSymbolKb);
|
goToSymbolHint = localize('goToSymbolHint', 'Go to a symbol ({0}).', goToSymbolKb);
|
||||||
} else {
|
} else {
|
||||||
goToSymbolHint = localize('goToSymbolHintNoKb', 'To go to a symbol, configure a keybinding for the command Go To Symbol in Accessible View');
|
goToSymbolHint = localize('goToSymbolHintNoKb', 'To go to a symbol, configure a keybinding for the command Go To Symbol in Accessible View');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue