mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-31 01:48:35 +08:00
initialise the NNon value and add i18n
This commit is contained in:
28
src/i18n.ts
Normal file
28
src/i18n.ts
Normal file
@@ -0,0 +1,28 @@
|
||||
export const i18n: { [key: string]: any } = {
|
||||
"en": {
|
||||
NotionNextVersion: "NotionNext Version Database",
|
||||
NotionNextVersionDesc: "Turn on this option if you are using NotionNext",
|
||||
NotionNextSetting: "NotionNext Database Settings",
|
||||
NotionAPI: "Notion API Token",
|
||||
NotionAPIDesc: "It's a secret",
|
||||
NotionID: "Database ID",
|
||||
BannerUrl: "Banner url(optional)",
|
||||
BannerUrlDesc: "page banner url(optional), default is empty, if you want to show a banner, please enter the url(like:https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/ae7a9ac6cf427f3ca338a409ce6967ced9506f12/doc/2.png)",
|
||||
NotionUser: "Notion ID(username, optional)",
|
||||
NotionGeneralSetting: "General Notion Database Settings",
|
||||
NotYetFinish: "Not finished. This function will be available in the next version",
|
||||
},
|
||||
"zh": {
|
||||
NotionNextVersion: "NotionNext 版本数据库",
|
||||
NotionNextVersionDesc: "如果你使用的是NotionNext,请打开此选项",
|
||||
NotionNextSetting: "NotionNext 数据库参数设置",
|
||||
NotionAPI: "Notion API 令牌",
|
||||
NotionAPIDesc: "显示为密码",
|
||||
NotionID: "数据库 ID",
|
||||
BannerUrl: "封面图片地址(可选)",
|
||||
BannerUrlDesc: "页面封面图片地址(可选),默认为空,如果你想显示封面图片,请输入图片地址(例如:https://raw.githubusercontent.com/EasyChris/obsidian-to-notion/ae7a9ac6cf427f3ca338a409ce6967ced9506f12/doc/2.png)",
|
||||
NotionUser: "Notion ID(用户名,可选)",
|
||||
NotionGeneralSetting: "普通 Notion 数据库设置",
|
||||
NotYetFinish: "未完成。此功能将在之后版本中提供",
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user