We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f235c5a commit c68f89dCopy full SHA for c68f89d
1 file changed
src/documentation.ts
@@ -76,15 +76,15 @@ export class DocumentationMarkdownView extends ItemView {
76
context: { language: { value: i18n, language } },
77
state: { displayTextI18nKey: key },
78
} = this
79
- return key === null ? "" : capitalize(String(i18n.t(key)), language)
+ return key === null ? "" : capitalize(i18n.t(key), language)
80
}
81
82
public override getIcon(): string {
83
const {
84
context: { language: { value: i18n } },
85
state: { iconI18nKey: key },
86
87
- return key === null ? super.getIcon() : String(i18n.t(key))
+ return key === null ? super.getIcon() : i18n.t(key)
88
89
90
public override async setState(
0 commit comments