Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Add experimental webdav sync #287

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Mahoo12138
Copy link

新开了一个 PR,在这继续剩余的工作

[t in timer.backup.Type]: { name: string; label: string }[];
} = {
none: [],
gist: [{ name: "token", label: "Personal Access Token {info} {input}" }],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里 label 用 I18nKey 配置似乎更好,比如 Username 或者 Password 之类的。至于专业单词可以直接返回一个常量

src/api/gist.ts Outdated Show resolved Hide resolved
src/api/obsidian.ts Outdated Show resolved Hide resolved
"endpointLabel": "Endpoint address {info} {input}",
"endpointInfo": "Only HTTP is available because it is not possible to configure CORS for extensions pages",
"pathLabel": "The path of directory {input}",
"usernameLabel": "用户名 {input}",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

翻译有错误。

关于开发中如何新增多语种文本的内容,我已经补充到开发指引文档中了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants