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

Method translate

src/services/ICSNoteService.ts:36–38  ·  view source on GitHub ↗
(key: TranslationKey, variables?: InterpolationValues)

Source from the content-addressed store, hash-verified

34 constructor(private plugin: TaskNotesPlugin) {}
35
36 private translate(key: TranslationKey, variables?: InterpolationValues): string {
37 return this.plugin.i18n.translate(key, variables);
38 }
39
40 /**
41 * Find a loaded calendar event by its stored ICS event id.

Callers 2

createNoteFromICSMethod · 0.95
linkNoteToICSMethod · 0.95

Calls 1

translateMethod · 0.65

Tested by

no test coverage detected