提交 feba899d 编写于 作者: I isidor

find widget aria labels: add commas

#89111
上级 519e5bb1
......@@ -418,10 +418,10 @@ export class FindWidget extends Widget implements IOverlayWidget, IHorizontalSas
: nls.localize('ariaSearchNoResult', "{0} found for '{1}'", label, searchString);
}
if (currentMatch) {
const ariaLabel = nls.localize('ariaSearchNoResultWithLineNum', "{0} found for '{1}' at {2}", label, searchString, currentMatch.startLineNumber + ':' + currentMatch.startColumn);
const ariaLabel = nls.localize('ariaSearchNoResultWithLineNum', "{0} found for '{1}', at {2}", label, searchString, currentMatch.startLineNumber + ':' + currentMatch.startColumn);
const lineContent = this._codeEditor.getModel()?.getLineContent(currentMatch.startLineNumber);
if (lineContent) {
return `${lineContent} ${ariaLabel}`;
return `${lineContent}, ${ariaLabel}`;
}
return ariaLabel;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册