mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
fix issues, describe disable action when the view is opened not on the prior element
This commit is contained in:
@@ -96,10 +96,6 @@ export class HoverAction extends Disposable {
|
||||
}
|
||||
}
|
||||
|
||||
export function getHoverAriaLabel(shouldHaveHint?: boolean, keybinding?: any): string | undefined {
|
||||
if (shouldHaveHint) {
|
||||
const hint = keybinding ? localize('hoverAccessibleViewHint', "Inspect this in the accessible view with {0}", keybinding) : localize('hoverAccessibleViewHintNoKb', "Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding");
|
||||
return hint;
|
||||
}
|
||||
return;
|
||||
export function getHoverAriaLabel(shouldHaveHint?: boolean, keybinding?: string | null): string | undefined {
|
||||
return shouldHaveHint ? localize('acessibleViewHint', "Inspect this in the accessible view with {0}.", keybinding) : localize('acessibleViewHintNoKbOpen', "Inspect this in the accessible view via the command Open Accessible View which is currently not triggerable via keybinding.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user