breaking change:

1. 部分配置更改

feat:
1. 移除 messenger 聊天插件
2. 更新 fackbook 版本號
3. 增加 香港繁體、日文和韓語
4. 使用的新的複製api 代替舊的
5. 增加 umami 分析
6. 增加 umami 獲取訪問量/訪客數
7. snackbar 增加透明度
8. 文章頁下, nav fixed 下 顯示文章標題

improvement:
1. 代碼優化
2. 修改部分用語
3. 回復之前的相對時間邏輯
4. timeline tag 樣式優化
5. 優化 seo
6. 優化 artalk 的最新評論

fix:
1. tag-hide toggle 圓角問題
2. lazyload 為 false 時,artalk 無法正常加載評論的 bug
3. 修復 gallery 出現抖動的 bug
This commit is contained in:
Jerry
2024-09-15 00:43:03 +08:00
parent 48212b9610
commit d8a1fa6417
76 changed files with 1315 additions and 1296 deletions

View File

@@ -4,11 +4,11 @@ footer:
copy:
success: Copy Successful
error: Copy Error
error: Copy Failed
noSupport: Browser Not Supported
page:
articles: Articles
articles: All Articles
tag: Tag
category: Category
archives: Archives
@@ -29,26 +29,26 @@ post:
author: Author
link: Link
copyright_notice: Copyright Notice
copyright_content: 'All articles in this blog are licensed under <a href="%s">%s</a> unless stating additionally.'
copyright_content: 'All articles on this blog are licensed under <a href="%s">%s</a> unless otherwise stated.'
recommend: Related Articles
edit: Edited on
edit: Edit
search:
title: Search
load_data: Loading the Database
load_data: Loading Database
input_placeholder: Search for Posts
algolia_search:
hits_empty: "We didn't find any results for the search: ${query}."
hits_empty: 'No results found for: ${query}'
hits_stats: '${hits} results found in ${time} ms'
local_search:
hits_empty: "We didn't find any results for the search: ${query}"
hits_stats: '${hits} results found'
hits_empty: 'No results found for: ${query}'
hits_stats: '${hits} articles found'
pagination:
prev: Previous
next: Next
comment: Comment
comment: Comments
aside:
articles: Articles
@@ -58,29 +58,29 @@ aside:
card_categories: Categories
card_tags: Tags
card_archives: Archives
card_recent_post: Recent Post
card_recent_post: Recent Posts
card_webinfo:
headline: Info
article_name: Article
headline: Website Info
article_name: Article Count
runtime:
name: Runtime
unit: days
last_push_date:
name: Last Update
site_wordcount: Total Count
site_uv_name: UV
site_pv_name: PV
site_wordcount: Total Word Count
site_uv_name: Unique Visitors
site_pv_name: Page Views
more_button: View More
card_newest_comments:
headline: Latest Comments
loading_text: loading...
loading_text: Loading...
error: Unable to retrieve comments, please check the configuration
zero: No comments
image: image
link: link
code: code
image: Image
link: Link
code: Code
card_toc: Contents
card_post_series: Series
card_post_series: Post Series
date_suffix:
just: Just now
@@ -93,21 +93,21 @@ donate: Sponsor
share: Share
rightside:
readmode_title: Read Mode
translate_title: Toggle Between Traditional Chinese And Simplified Chinese
night_mode_title: Toggle Between Light And Dark Mode
back_to_top: Back To Top
toc: Table Of Contents
scroll_to_comment: Scroll To Comments
setting: Setting
aside: Toggle between Single-column and Double-column
readmode_title: Reading Mode
translate_title: Toggle Between Traditional and Simplified Chinese
night_mode_title: Toggle Between Light and Dark Mode
back_to_top: Back to Top
toc: Table of Contents
scroll_to_comment: Scroll to Comments
setting: Settings
aside: Toggle Between Single-column and Double-column
chat: Chat
copy_copyright:
author: Author
link: Link
source: Source
info: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.
info: Copyright belongs to the author. For commercial use, please contact the author for authorization. For non-commercial use, please indicate the source.
Snackbar:
chs_to_cht: You have switched to Traditional Chinese

View File

@@ -4,11 +4,11 @@ footer:
copy:
success: Copy Successful
error: Copy Error
error: Copy Failed
noSupport: Browser Not Supported
page:
articles: Articles
articles: All Articles
tag: Tag
category: Category
archives: Archives
@@ -29,26 +29,26 @@ post:
author: Author
link: Link
copyright_notice: Copyright Notice
copyright_content: 'All articles in this blog are licensed under <a href="%s">%s</a> unless stating additionally.'
copyright_content: 'All articles on this blog are licensed under <a href="%s">%s</a> unless otherwise stated.'
recommend: Related Articles
edit: Edited on
edit: Edit
search:
title: Search
load_data: Loading the Database
load_data: Loading Database
input_placeholder: Search for Posts
algolia_search:
hits_empty: "We didn't find any results for the search: ${query}."
hits_empty: 'No results found for: ${query}'
hits_stats: '${hits} results found in ${time} ms'
local_search:
hits_empty: "We didn't find any results for the search: ${query}"
hits_stats: '${hits} results found'
hits_empty: 'No results found for: ${query}'
hits_stats: '${hits} articles found'
pagination:
prev: Previous
next: Next
comment: Comment
comment: Comments
aside:
articles: Articles
@@ -58,29 +58,29 @@ aside:
card_categories: Categories
card_tags: Tags
card_archives: Archives
card_recent_post: Recent Post
card_recent_post: Recent Posts
card_webinfo:
headline: Info
article_name: Article
headline: Website Info
article_name: Article Count
runtime:
name: Runtime
unit: days
last_push_date:
name: Last Update
site_wordcount: Total Count
site_uv_name: UV
site_pv_name: PV
site_wordcount: Total Word Count
site_uv_name: Unique Visitors
site_pv_name: Page Views
more_button: View More
card_newest_comments:
headline: Latest Comments
loading_text: loading...
loading_text: Loading...
error: Unable to retrieve comments, please check the configuration
zero: No comments
image: image
link: link
code: code
image: Image
link: Link
code: Code
card_toc: Contents
card_post_series: Series
card_post_series: Post Series
date_suffix:
just: Just now
@@ -93,21 +93,21 @@ donate: Sponsor
share: Share
rightside:
readmode_title: Read Mode
translate_title: Toggle Between Traditional Chinese And Simplified Chinese
night_mode_title: Toggle Between Light And Dark Mode
back_to_top: Back To Top
toc: Table Of Contents
scroll_to_comment: Scroll To Comments
setting: Setting
aside: Toggle between Single-column and Double-column
readmode_title: Reading Mode
translate_title: Toggle Between Traditional and Simplified Chinese
night_mode_title: Toggle Between Light and Dark Mode
back_to_top: Back to Top
toc: Table of Contents
scroll_to_comment: Scroll to Comments
setting: Settings
aside: Toggle Between Single-column and Double-column
chat: Chat
copy_copyright:
author: Author
link: Link
source: Source
info: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.
info: Copyright belongs to the author. For commercial use, please contact the author for authorization. For non-commercial use, please indicate the source.
Snackbar:
chs_to_cht: You have switched to Traditional Chinese
@@ -118,4 +118,4 @@ Snackbar:
loading: Loading...
load_more: Load More
error404: Page Not Found
error404: Page Not Found

121
languages/ja.yml Normal file
View File

@@ -0,0 +1,121 @@
footer:
framework: フレームワーク
theme: テーマ
copy:
success: コピー成功
error: コピー失敗
noSupport: ブラウザが対応していません
page:
articles: 記事一覧
tag: タグ
category: カテゴリ
archives: アーカイブ
card_post_count: コメント数
no_title: タイトルなし
post:
created: 作成日
updated: 更新日
wordcount: 総文字数
min2read: 読む時間
min2read_unit:
page_pv: 閲覧数
comments: コメント数
copyright:
author: 著者
link: リンク
copyright_notice: 著作権表示
copyright_content: 'このブログのすべての記事は、<a href="%s">%s</a> ライセンスの下で提供されており、特に明記されていない限り、すべての権利を留保します。転載時には出典を明記してください: <a href="%s">%s</a>。'
recommend: 関連記事
edit: 編集
search:
title: 検索
load_data: データベースを読み込んでいます
input_placeholder: 記事を検索
algolia_search:
hits_empty: '${query} の検索結果が見つかりませんでした。'
hits_stats: '${hits} 件の結果が ${time}ms で見つかりました'
local_search:
hits_empty: '${query} の検索結果が見つかりませんでした。'
hits_stats: '${hits} 件の記事が見つかりました'
pagination:
prev: 前へ
next: 次へ
comment: コメント
aside:
articles: 記事
tags: タグ
categories: カテゴリ
card_announcement: お知らせ
card_categories: カテゴリ
card_tags: タグ
card_archives: アーカイブ
card_recent_post: 最近の記事
card_webinfo:
headline: サイト情報
article_name: 記事数
runtime:
name: 稼働時間
unit:
last_push_date:
name: 最終更新日
site_wordcount: 総文字数
site_uv_name: ユーザー数
site_pv_name: ページビュー数
more_button: もっと見る
card_newest_comments:
headline: 最新コメント
loading_text: ローディング中...
error: コメントを取得できませんでした。設定を確認してください。
zero: コメントがありません
image: 画像
link: リンク
code: コード
card_toc: 目次
card_post_series: シリーズ記事
date_suffix:
just: たった今
min: 分前
hour: 時間前
day: 日前
month: ヶ月前
donate: 寄付
share: 共有
rightside:
readmode_title: 読書モード
translate_title: 簡体字と繁体字の切り替え
night_mode_title: ライトモード/ダークモード切り替え
back_to_top: トップに戻る
toc: 目次
scroll_to_comment: コメントへ移動
setting: 設定
aside: シングルカラムとダブルカラムの切り替え
chat: チャット
copy_copyright:
author: 著者
link: リンク
source: ソース
info: 著作権は著者に帰属します。商業的利用の場合は著者に連絡して許可を得てください。非商業的利用の場合は出典を明記してください。
Snackbar:
chs_to_cht: 繁体字に切り替えました
cht_to_chs: 簡体字に切り替えました
day_to_night: ダークモードに切り替えました
night_to_day: ライトモードに切り替えました
loading: ローディング中...
load_more: もっと見る
error404: ページが見つかりません

121
languages/ko.yml Normal file
View File

@@ -0,0 +1,121 @@
footer:
framework: 프레임워크
theme: 테마
copy:
success: 복사 성공
error: 복사 실패
noSupport: 브라우저가 지원되지 않음
page:
articles: 모든 글
tag: 태그
category: 카테고리
archives: 아카이브
card_post_count: 댓글 수
no_title: 제목 없음
post:
created: 작성일
updated: 수정일
wordcount: 총 글자 수
min2read: 읽기 시간
min2read_unit:
page_pv: 조회수
comments: 댓글
copyright:
author: 작성자
link: 링크
copyright_notice: 저작권 고지
copyright_content: '이 블로그의 모든 글은 <a href="%s">%s</a> 라이선스를 따르며, 별도로 명시되지 않는 한 모든 권리를 보유합니다. 재배포 시 출처를 명시해 주세요: <a href="%s">%s</a>.'
recommend: 관련 글
edit: 편집
search:
title: 검색
load_data: 데이터베이스 로드 중
input_placeholder: 글 검색
algolia_search:
hits_empty: '${query}에 대한 결과를 찾을 수 없습니다.'
hits_stats: '${hits}개의 결과를 ${time}ms 만에 찾음'
local_search:
hits_empty: '${query}에 대한 결과를 찾을 수 없습니다.'
hits_stats: '${hits}개의 글을 찾음'
pagination:
prev: 이전
next: 다음
comment: 댓글
aside:
articles:
tags: 태그
categories: 카테고리
card_announcement: 공지
card_categories: 카테고리
card_tags: 태그
card_archives: 아카이브
card_recent_post: 최근 글
card_webinfo:
headline: 사이트 정보
article_name: 글 수
runtime:
name: 운영 시간
unit:
last_push_date:
name: 마지막 업데이트
site_wordcount: 총 글자 수
site_uv_name: 방문자 수
site_pv_name: 총 조회수
more_button: 더 보기
card_newest_comments:
headline: 최신 댓글
loading_text: 로딩 중...
error: 댓글을 가져올 수 없습니다. 설정을 확인해 주세요.
zero: 댓글 없음
image: 이미지
link: 링크
code: 코드
card_toc: 목차
card_post_series: 시리즈 글
date_suffix:
just: 방금
min: 분 전
hour: 시간 전
day: 일 전
month: 달 전
donate: 후원
share: 공유
rightside:
readmode_title: 읽기 모드
translate_title: 번체와 간체 전환
night_mode_title: 라이트/다크 모드 전환
back_to_top: 맨 위로
toc: 목차
scroll_to_comment: 댓글로 이동
setting: 설정
aside: 단일/이중 열 전환
chat: 채팅
copy_copyright:
author: 작성자
link: 링크
source: 출처
info: 저작권은 작성자에게 있습니다. 상업적 사용을 위해서는 작성자의 허가를 받아야 하며, 비상업적 사용 시에는 출처를 명시해 주세요.
Snackbar:
chs_to_cht: 번체로 전환되었습니다.
cht_to_chs: 간체로 전환되었습니다.
day_to_night: 다크 모드로 전환되었습니다.
night_to_day: 라이트 모드로 전환되었습니다.
loading: 로딩 중...
load_more: 더 보기
error404: 페이지를 찾을 수 없습니다.

View File

@@ -4,45 +4,45 @@ footer:
copy:
success: 复制成功
error: 复制错误
error: 复制失败
noSupport: 浏览器不支持
page:
articles: 文章总览
articles: 全部文章
tag: 标签
category: 分类
archives: 归档
card_post_count: 条评论
no_title: 无题
no_title:
post:
created: 发表于
updated: 更新于
wordcount: 字数总计
wordcount: 字数
min2read: 阅读时长
min2read_unit: 分钟
page_pv: 阅读
page_pv: 浏览
comments: 评论数
copyright:
author: 文章作者
link: 文章链接
copyright_notice: 版权声明
copyright_content: '本博客所有文章除特别声明外,均采用
<a href="%s" target="_blank">%s</a> 许可协议。转载请注明来 <a href="%s" target="_blank">%s</a>'
<a href="%s" target="_blank">%s</a> 许可协议。转载请注明来 <a href="%s" target="_blank">%s</a>'
recommend: 相关推荐
edit: 编辑
search:
title: 搜索
load_data: 数据加载中
load_data: 数据加载中
input_placeholder: 搜索文章
algolia_search:
hits_empty: '找不到您查询的内容:${query}'
hits_stats: '找到 ${hits} 条结果,时 ${time} 毫秒'
hits_empty: '未找到符合您查询的内容:${query}'
hits_stats: '找到 ${hits} 条结果,时 ${time} 毫秒'
local_search:
hits_empty: '找不到您查询的内容:${query}'
hits_empty: '未找到符合您查询的内容:${query}'
hits_stats: '共找到 ${hits} 篇文章'
pagination:
@@ -61,22 +61,22 @@ aside:
card_archives: 归档
card_recent_post: 最新文章
card_webinfo:
headline: 网站资讯
headline: 网站信息
article_name: 文章数目
runtime:
name: 运行时间
name: 运行时间
unit:
last_push_date:
name: 最后更新时间
site_wordcount: 本站总字数
site_uv_name: 本站访客数
site_pv_name: 本站总访问
site_pv_name: 本站总浏览
more_button: 查看更多
card_newest_comments:
headline: 最新评论
loading_text: 正在加载中...
loading_text: 加载中...
error: 无法获取评论,请确认相关配置是否正确
zero: 没有评论
zero: 暂无评论
image: 图片
link: 链接
code: 代码
@@ -96,10 +96,10 @@ share: 分享
rightside:
readmode_title: 阅读模式
translate_title: 简繁转换
night_mode_title: 浅色和深色模式
night_mode_title: 日间和夜间模式
back_to_top: 回到顶部
toc: 目录
scroll_to_comment: 直达评论
scroll_to_comment: 前往评论
setting: 设置
aside: 单栏和双栏切换
chat: 聊天
@@ -111,12 +111,12 @@ copy_copyright:
info: 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
Snackbar:
chs_to_cht: 已切换为繁体中文
cht_to_chs: 已切换为简体中文
day_to_night: 已切换为深色模式
night_to_day: 已切换为浅色模式
chs_to_cht: 已切换为繁体中文
cht_to_chs: 已切换为简体中文
day_to_night: 已切换为深色模式
night_to_day: 已切换为浅色模式
loading: 加载中...
load_more: 加载更多
error404: 页面没有找到
error404: 页面找到

121
languages/zh-HK.yml Normal file
View File

@@ -0,0 +1,121 @@
footer:
framework: 框架
theme: 主題
copy:
success: 複製成功
error: 複製失敗
noSupport: 瀏覽器不支援
page:
articles: 全部文章
tag: 標籤
category: 分類
archives: 歸檔
card_post_count: 條評論
no_title: 無標題
post:
created: 發表於
updated: 更新於
wordcount: 字數統計
min2read: 閱讀時間
min2read_unit: 分鐘
page_pv: 瀏覽量
comments: 評論數
copyright:
author: 文章作者
link: 文章連結
copyright_notice: 版權聲明
copyright_content: '除特別聲明外,本博客所有文章均採用<a href="%s">%s</a> 授權協議。轉載請註明出處:<a href="%s">%s</a>。'
recommend: 相關文章
edit: 編輯
search:
title: 搜尋
load_data: 正在加載數據庫
input_placeholder: 搜尋文章
algolia_search:
hits_empty: '未找到相關內容:${query}'
hits_stats: '找到 ${hits} 條結果,耗時 ${time} 毫秒'
local_search:
hits_empty: '未找到相關內容:${query}'
hits_stats: '找到 ${hits} 篇文章'
pagination:
prev: 上一頁
next: 下一頁
comment: 評論
aside:
articles: 文章
tags: 標籤
categories: 分類
card_announcement: 公告
card_categories: 分類
card_tags: 標籤
card_archives: 歸檔
card_recent_post: 最新文章
card_webinfo:
headline: 網站資訊
article_name: 文章數目
runtime:
name: 運行時間
unit:
last_push_date:
name: 最後更新時間
site_wordcount: 總字數
site_uv_name: 訪客數
site_pv_name: 總瀏覽量
more_button: 查看更多
card_newest_comments:
headline: 最新評論
loading_text: 正在加載...
error: 無法取得評論,請確認配置是否正確
zero: 暫無評論
image: 圖片
link: 連結
code: 代碼
card_toc: 目錄
card_post_series: 系列文章
date_suffix:
just: 剛剛
min: 分鐘前
hour: 小時前
day: 天前
month: 個月前
donate: 贊助
share: 分享
rightside:
readmode_title: 閱讀模式
translate_title: 簡繁轉換
night_mode_title: 切換日夜模式
back_to_top: 回到頂部
toc: 目錄
scroll_to_comment: 前往評論
setting: 設定
aside: 單欄與雙欄切換
chat: 聊天
copy_copyright:
author: 作者
link: 連結
source: 來源
info: 版權屬於作者所有。商業用途請聯絡作者獲得授權,非商業用途請註明出處。
Snackbar:
chs_to_cht: 已切換為繁體中文
cht_to_chs: 已切換為簡體中文
day_to_night: 已切換為深色模式
night_to_day: 已切換為淺色模式
loading: 正在加載...
load_more: 加載更多
error404: 未找到頁面

View File

@@ -4,45 +4,44 @@ footer:
copy:
success: 複製成功
error: 複製錯誤
error: 複製失敗
noSupport: 瀏覽器不支援
page:
articles: 文章總覽
articles: 所有文章
tag: 標籤
category: 分類
archives: 歸檔
card_post_count: 評論
card_post_count: 評論
no_title: 無題
no_title:
post:
created: 發表於
updated: 更新於
wordcount: 字數總計
min2read: 閱讀時
wordcount: 字數
min2read: 閱讀時
min2read_unit: 分鐘
page_pv: 閱讀
page_pv: 瀏覽
comments: 評論數
copyright:
author: 文章作者
link: 文章連結
copyright_notice: 版權宣告
copyright_content: '本部落格所有文章除特別宣告外,均採用
<a href="%s" target="_blank">%s</a> 許可協議。轉載請註明來自 <a href="%s" target="_blank">%s</a>'
copyright_notice: 版權聲明
copyright_content: '本部落格所有文章除特別聲明外,均採用<a href="%s" target="_blank">%s</a> 授權協議。轉載請註明來源 <a href="%s" target="_blank">%s</a>'
recommend: 相關推薦
edit: 編輯
search:
title: 搜尋
load_data: 資料載入中
load_data: 資料載入中
input_placeholder: 搜尋文章
algolia_search:
hits_empty: '找不到您查詢的內容:${query}'
hits_stats: '找到 ${hits} 結果,時 ${time} 毫秒'
hits_empty: '找不到符合您查詢的內容:${query}'
hits_stats: '找到 ${hits} 結果,時 ${time} 毫秒'
local_search:
hits_empty: '找不到您查詢的內容:${query}'
hits_empty: '找不到符合您查詢的內容:${query}'
hits_stats: '共找到 ${hits} 篇文章'
pagination:
@@ -62,21 +61,21 @@ aside:
card_recent_post: 最新文章
card_webinfo:
headline: 網站資訊
article_name: 文章數
article_name: 文章數
runtime:
name: 已執行時間
name: 行時間
unit:
last_push_date:
name: 最後更新時間
site_wordcount: 本站總字數
site_uv_name: 本站訪客數
site_pv_name: 本站總訪問
site_wordcount: 總字數
site_uv_name: 訪客數
site_pv_name: 總瀏覽
more_button: 檢視更多
card_newest_comments:
headline: 最新評論
loading_text: 正在載入中...
loading_text: 載入中...
error: 無法獲取評論,請確認相關配置是否正確
zero: 沒有評論
zero: 尚無評論
image: 圖片
link: 連結
code: 程式碼
@@ -95,11 +94,11 @@ share: 分享
rightside:
readmode_title: 閱讀模式
translate_title: 繁轉換
night_mode_title: 淺色和深色模式
back_to_top: 回到頂
translate_title: 轉換
night_mode_title: 日夜模式
back_to_top: 回到頂
toc: 目錄
scroll_to_comment: 直達評論
scroll_to_comment: 前往評論
setting: 設定
aside: 單欄和雙欄切換
chat: 聊天
@@ -108,15 +107,15 @@ copy_copyright:
author: 作者
link: 連結
source: 來源
info: 著作權歸作者所有。商業轉載請聯絡作者獲得授權,非商業轉載請註明出處。
info: 著作權歸作者所有。如需商業轉載請聯絡作者獲得授權,非商業轉載請註明出處。
Snackbar:
chs_to_cht: 已切換為繁體中文
cht_to_chs: 已切換為簡體中文
day_to_night: 已切換為深色模式
night_to_day: 已切換為淺色模式
chs_to_cht: 已切換為繁體中文
cht_to_chs: 已切換為簡體中文
day_to_night: 已切換為深色模式
night_to_day: 已切換為淺色模式
loading: 載入中...
load_more: 載入更多
error404: 頁面沒有找到
error404: 找不到頁面