Skip to content

Commit c9fd5e9

Browse files
committed
update docs
1 parent ae5b36d commit c9fd5e9

3 files changed

Lines changed: 13 additions & 7 deletions

File tree

src/main/language.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/**
2+
* 窗口的多语言支持
3+
*
24
* Created by jzj on 2018/12/24.
35
*/
46
'use strict'

src/renderer/logic/lang.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ const en = {
9999
'<li>Click publish from menu, select the blog sites that needs to be published to, click "Publish". Local previews use GitHub styles, and when published to a blog, the final effect depends on the CSS style configuration of the blog.</li>' +
100100
'<li>For articles <b>published using this tool</b>, when you publish to the <b>same site</b> again using the <b>same URL</b>, you can choose to edit existing articles or create new ones at the time of publishing.</li>' +
101101
'<li>If you have questions about the format of your document, you can open the <a href="#" data-href="sample">sample markdown file</a> at any time.</li>' +
102+
'<li>For more infomation, please visit <a href="https://github.com/jzj1993/PublishMarkdown">GitHub</a>, <a href="http://paincker.com/publish-markdown">Tech Blog</a>.</li>' +
102103
'</ol>',
103104
}
104105

@@ -190,6 +191,7 @@ const zh = {
190191
'<li>从菜单点击发布,弹窗勾选需要发布的博客,点击“发布”即可。本地预览使用的是GitHub风格的样式,发布到博客后,最终效果取决于博客的CSS样式配置。</li>' +
191192
'<li>对于<b>使用本工具发布过的文章</b>,使用<b>相同URL</b>再次发布到<b>相同站点</b>时,可以在发布时选择编辑已有文章还是创建新文章。</li>' +
192193
'<li>如果对文档编写格式存在疑问,可以随时打开<a href="#" data-href="sample">示例文档</a>查看。</li>' +
194+
'<li>更多内容请查看<a href="https://github.com/jzj1993/PublishMarkdown">GitHub</a>,<a href="http://paincker.com/publish-markdown">技术博客</a>。</li>' +
193195
'</ol>',
194196
}
195197

static/sample.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,33 @@
44
# 注释:文件开头使用YAML语法配置文章信息,之后是正常的Markdown语法
55
# Note: The beginning of the file uses YAML syntax to configure the blog meta data, followed by the normal Markdown syntax.
66

7-
# 不配置标题则从Markdown一级标题或文件名提取
8-
# Title will be extracted from heading 1 of markdown or file name if not configured here.
7+
# 此处如果不配置标题,则提取Markdown中的一级标题,或使用文件名
8+
# Title will be extracted from heading 1 of markdown or using file name if not configured here.
99
title: Sample
1010

1111

12-
# 不配置摘要则从正文提取
13-
# Abstract will be extracted from Markdown if not configured here.
12+
# 此处如果不配置摘要,则从正文提取开头若干文字
13+
# Abstract will be extracted from the begining of markdown content if not configured here.
1414
abstract: 你好!这是一篇示例文档!
1515

1616

17-
# URL用于固定链接、编辑文章功能,建议配置
17+
# URL用于固定链接、编辑文章功能,建议所有文章都配置
1818
# URL is used for permalink and article editing, and it is recommended to be configured.
1919
url: sample
2020

2121

22-
# 时间使用的时区和系统设置一致
23-
# Time zone used by time is the same as the system settings.
22+
# 文章发布时间,使用的时区和系统设置一致,不设置则使用当前时间
23+
# Article post time, time zone is the same as the system settings. Current time will be used if not configured here.
2424
date: 2015-07-30 18:35:43
2525

2626

27+
# 文章分类
2728
category:
2829
- Category1
2930
- Category2
3031

3132

33+
# 文章标签
3234
tags:
3335
- Tag1
3436
- Tag222

0 commit comments

Comments
 (0)