修改部分用语

This commit is contained in:
shiroku
2020-07-22 11:08:06 +08:00
parent 5ee7976c4a
commit ca9b16ee10
6 changed files with 43 additions and 42 deletions

View File

@@ -159,7 +159,7 @@ wordcount:
# Display the article introduction on homepage
# 1: description
# 2: both (if the description exists, it will show description. or show the auto_excerpt)
# 2: both (if the description exists, it will show description, or show the auto_excerpt)
# 3: auto_excerpt (default)
index_post_content:
method: 3
@@ -252,7 +252,7 @@ comments:
# - Disqus
text: true # Display the comment name next to the button
load_begin: false # The second comment system will auto load when visiting the website
count: false # Dispaly comment count in top_img
count: false # Display comment count in top_img
# disqus
# https://disqus.com/
@@ -363,13 +363,13 @@ gitter:
# Footer Settings
# --------------------------------------
footer:
owner: # 顯示站長信息
enable: true
since: 2020
footer_custom_text:
footer_copyright: true
ICP:
custom_text: Hi, welcome to my blog! # 頁腳自定義文本
copyright: true # 顯示框架及主題作者信息
ICP: # 備案信息
enable: false
url:
text:

View File

@@ -3,7 +3,7 @@ sidebar:
have_read: You've read
footer:
driven: Driven
framework: Framework
theme: Theme
copy:

View File

@@ -3,7 +3,7 @@ sidebar:
have_read: You've read
footer:
driven: Driven
framework: Framework
theme: Theme
copy:

View File

@@ -3,7 +3,7 @@ sidebar:
have_read: 你已经读了
footer:
driven: 驱动
framework: 框架
theme: 主题
copy:
@@ -39,13 +39,13 @@ post:
search: 搜索
algolia_search:
input_placeholder: 搜索文章
hits_empty: '找不到您查询的内容:${query}'
hits_empty: '找不到您查询的内容${query}'
hits_stats: '找到 ${hits} 条结果,用时 ${time} 毫秒'
local_search:
label: 本地搜索
input_placeholder: 搜索文章
hits_empty: '找不到您查询的内容:${query}'
hits_empty: '找不到您查询的内容${query}'
powered: '提供支持'
by:

View File

@@ -3,8 +3,8 @@ sidebar:
have_read: 你已經讀了
footer:
driven: Power by
theme: Theme
framework: 框架
theme: 主題
copy:
success: 複製成功
@@ -39,13 +39,13 @@ post:
search: 搜尋
algolia_search:
input_placeholder: 搜尋文章
hits_empty: '找不到您查詢的內容:${query}'
hits_empty: '找不到您查詢的內容${query}'
hits_stats: '找到 ${hits} 條結果,用時 ${time} 毫秒'
local_search:
label: 本地搜尋
input_placeholder: 搜尋文章
hits_empty: '找不到您查詢的內容:${query}'
hits_empty: '找不到您查詢的內容${query}'
powered: '提供支援'
by:

View File

@@ -1,24 +1,25 @@
#footer-wrap
if theme.footer.owner.enable
- var now = new Date()
- var nowYear = now.getFullYear()
if theme.since && theme.since != nowYear
.copyright!= `©${theme.since} - ${nowYear} By ${config.author}`
if theme.footer.owner.since && theme.footer.owner.since != nowYear
.copyright!= `©${theme.footer.owner.since} - ${nowYear} By ${config.author}`
else
.copyright!= `©${nowYear} By ${config.author}`
if theme.footer_copyright
if theme.footer.copyright
.framework-info
span= _p('footer.driven') + ' '
span= _p('footer.framework') + ' '
a(href='https://hexo.io')
span Hexo
span.footer-separator |
span= _p('footer.theme') + ' '
a(href='https://github.com/jerryc127/hexo-theme-butterfly')
span Butterfly
if theme.footer_custom_text
.footer_custom_text!=`${theme.footer_custom_text}`
if theme.ICP.enable
if theme.footer.custom_text
.footer.custom_text!=`${theme.footer.custom_text}`
if theme.footer.ICP.enable
.icp
a(href=theme.ICP.url)
if theme.ICP.icon
img.icp-icon(src=url_for(theme.ICP.icon))
span=theme.ICP.text
a(href=theme.footer.ICP.url)
if theme.footer.ICP.icon
img.icp-icon(src=url_for(theme.footer.ICP.icon))
span=theme.footer.ICP.text