MCPcopy
hub / github.com/callumalpass/tasknotes / t

Method t

src/components/ICSEventContextMenu.ts:31–33  ·  view source on GitHub ↗
(key: string, params?: Record<string, string | number>)

Source from the content-addressed store, hash-verified

29 }
30
31 private t(key: string, params?: Record<string, string | number>): string {
32 return this.options.plugin.i18n.translate(key, params);
33 }
34
35 private getLocale(): string {
36 return this.options.plugin.i18n.getCurrentLocale() || "en";

Callers 5

buildMenuMethod · 0.95
createTaskFromEventMethod · 0.95
createNoteFromEventMethod · 0.95
linkExistingNoteMethod · 0.95
formatEventAsMarkdownMethod · 0.95

Calls 1

translateMethod · 0.65

Tested by

no test coverage detected