From 2ebc2659961e118247e74f5b06420c469ead956f Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 6 May 2023 11:29:46 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/5066 --- app/src/plugin/index.ts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/app/src/plugin/index.ts b/app/src/plugin/index.ts index c8ae962e7..0b13e72fe 100644 --- a/app/src/plugin/index.ts +++ b/app/src/plugin/index.ts @@ -1,10 +1,17 @@ +import {App} from "../index"; + export class Plugin { + public i18n: IObject; - constructor() { - + constructor(options: { + app: App, + id: string, + i18n: IObject + }) { + this.i18n = options.i18n; } - public getData () { + public getData() { }