fix small issues w accessibiliity help

This commit is contained in:
meganrogge 2024-03-26 08:28:38 -07:00
parent 38695f10be
commit a6c7311730
No known key found for this signature in database
GPG key ID: AA74638D4878183D

View file

@ -684,7 +684,7 @@ export class AccessibleView extends Disposable {
private _getAccessibleViewHelpDialogContent(providerHasSymbols?: boolean): string {
const navigationHint = this._getNavigationHint();
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();
let hint = localize('intro', "In the accessible view, you can:\n");
@ -720,7 +720,7 @@ export class AccessibleView extends Disposable {
if (insertIntoNewFileKb) {
hint += localize('insertIntoNewFile', " - Insert the code block into a new file ({0}).\n", insertIntoNewFileKb);
} 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) {
hint += localize('runInTerminal', " - Run the code block in the terminal ({0}).\n", runInTerminalKb);
@ -761,7 +761,7 @@ export class AccessibleView extends Disposable {
let goToSymbolHint = '';
if (providerHasSymbols) {
if (goToSymbolKb) {
goToSymbolHint = localize('goToSymbolHint', 'Go to a symbol ({0})', goToSymbolKb);
goToSymbolHint = localize('goToSymbolHint', 'Go to a symbol ({0}).', goToSymbolKb);
} else {
goToSymbolHint = localize('goToSymbolHintNoKb', 'To go to a symbol, configure a keybinding for the command Go To Symbol in Accessible View');
}