Skip to content

Commit

Permalink
chore: 新增说明
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Feb 16, 2023
1 parent 328484d commit 9793a1a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 11 additions & 1 deletion layouts/default/DefaultFooter.vue
Expand Up @@ -30,7 +30,13 @@
<span class="text"> &copy;2011-{{ nowYear() }} </span>
<span class="s-dark" @click="goGithub()"> sy-post-publisher </span>

<span class="text"> v{{ v }} . </span>
<span class="text"> v{{ v }} </span>

<span class="text s-dark" @click="goAbout()">{{
$t("syp.about")
}}</span>

<span class="text">.</span>
<span class="text s-dark" @click="toggleDark()">{{
isDark ? $t("theme.mode.light") : $t("theme.mode.dark")
}}</span>
Expand Down Expand Up @@ -104,6 +110,10 @@ const goGithub = () => {
window.open("https://github.com/terwer/src-sy-post-publisher")
}
const goAbout = () => {
window.open("https://www.terwer.space/about")
}
const newWin = () => {
goToPage("/blog/index.html")
}
Expand Down
1 change: 1 addition & 0 deletions locales/en_US.ts
Expand Up @@ -477,4 +477,5 @@ export default {
"Note: The attributes above the horizontal line will change the behavior of uploading pictures, and the configuration can be stored automatically. The attribute below the horizontal line is only used when installing the plug -in, and you need to click the [Confirm] button to save.",
"setting.picgo.plugin.install.success":
"The plug -in has been successfully installed, please clear the search keyword refresh list. Click the plug -in corresponding [Settings] icon to view the plug -in details and customize the plug -in",
"syp.about": "About me",
}
3 changes: 2 additions & 1 deletion locales/zh_CN.ts
Expand Up @@ -268,7 +268,7 @@ export default {
"温馨提示:1. 0.1.0+ 以后,可通过【偏好设置->思源地址】来修改默认伺服配置,支持本地和远程;如果是远程还需要设置token,如果使用浏览器插件或者挂件之外的访问方式还需要设置跨域请求代理。 2、升级新版之前强烈建议导出配置,防止配置丢失。 3、如果出现新版本不兼容的异常情况,建议清空配置。此操作不可恢复,请谨慎操作!",
"blog.top-data-tip.siyuan":
"温馨提示:1、当前处于挂件模式,从 0.1.0 版本开始,无需在所有页面引用挂件了,只需要在父级页面引用一个挂件即可。具体规则如下:(1). 如果检测到没有子文档,会兼容 0.0.3 版本以前的方式,展示当前文档的发布页面。 (2). 如果检测到有子文档,会以列表加分页的方式展示所有子文档列表。可单独选择某个子文档进行发布操作。 2、升级新版之前强烈建议导出配置,防止配置丢失。 3、如果出现新版本不兼容的异常情况,建议清空配置。此操作不可恢复,请谨慎操作!",
"blog.newwin.open": "新窗打开",
"blog.newwin.open": "页签模式",
"blog.change.siyuan.api": "思源地址",
"setting.blog.siyuan.password":
"思源笔记鉴权Token,请从【设置->关于】复制,如果是本地笔记留空即可",
Expand Down Expand Up @@ -476,4 +476,5 @@ export default {
"注意:横线以上的属性会改变上传图片的行为,配置可自动保存。横线以下的属性仅仅在安装插件时用到,并且需要点击【确认】按钮才能保存。",
"setting.picgo.plugin.install.success":
"插件已经成功安装,请清除搜索关键字刷新列表。点击插件对应【设置】图标可查看插件详情,并对插件进行自定义设置。如果是图床扩展,请关闭重新打开,然后启用图床并进行设置。",
"syp.about": "关于作者",
}

0 comments on commit 9793a1a

Please sign in to comment.