mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-29 16:35:57 +08:00
Added mult language show error and notice
This commit is contained in:
19
Message.ts
Normal file
19
Message.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
export const NoticeMsg: {[key: string]:any} = {
|
||||
"en": {
|
||||
"notion-logo": "Share to notion",
|
||||
"sync-success": "Sync to notion success: \n",
|
||||
"sync-fail": "Sync to notion fail: \n",
|
||||
"open-notion": "Please open the file that needs to be synchronized",
|
||||
},
|
||||
"zh": {
|
||||
"notion-logo": "分享到Notion",
|
||||
"sync-success": "同步到Notion成功:\n",
|
||||
"sync-fail": "同步到Notion失败: \n",
|
||||
"open-file": "请打开需要同步的文件"
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
export const NoticeMConfig = (lang:any) :any => {
|
||||
return NoticeMsg[lang]
|
||||
}
|
||||
Reference in New Issue
Block a user