From 8e787fe745942b4908e1747c0be5519c4e2b7b4e Mon Sep 17 00:00:00 2001 From: geekifan Date: Tue, 22 Apr 2025 13:46:30 +0800 Subject: [PATCH] update translate --- i18n/en.yaml | 109 ++++++++++++++++++++++++++++++++++++++------------- i18n/zh.yaml | 100 ++++++++++++++++++++++++++++++++++------------ 2 files changed, 156 insertions(+), 53 deletions(-) diff --git a/i18n/en.yaml b/i18n/en.yaml index dc9bb24..152d090 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -1,36 +1,91 @@ -tabs: - home: "Home" - about: "About" - archive: "Archive" - categories: "Categories" - tags: "Tags" +# The layout text of site + +# ----- Commons label ----- layout: - post: "Post" - page: "Page" - category: "Category" - tag: "Tag" + post: Post + category: Category + tag: Tag +# The tabs of sidebar +tabs: + # format: : + home: Home + categories: Categories + tags: Tags + archives: Archives + about: About + +# the text displayed in the search bar & search results search: - hint: "Search" - cancel: "Cancel" + hint: search + cancel: Cancel + no_results: Oops! No results found. panel: - lastmod: "Recently Updated" - trending_tags: "Trending Tags" - toc: "Contents" - -post: - posted: "Posted" - updated: "Updated" - written_by: "By" - read_time: - prompt: "read" - unit: "min" - words: "words" + lastmod: Recently Updated + trending_tags: Trending Tags + toc: Contents copyright: - brief: "All rights reserved" - verbose: "All rights reserved" + # Shown at the bottom of the post + license: + template: This post is licensed under :LICENSE_NAME by the author. + name: CC BY 4.0 + link: https://creativecommons.org/licenses/by/4.0/ -meta: "Powered by :PLATFORM with :THEME theme" + # Displayed in the footer + brief: Some rights reserved. + verbose: >- + Except where otherwise noted, the blog posts on this site are licensed + under the Creative Commons Attribution 4.0 International (CC BY 4.0) License by the author. + +meta: Using the :THEME theme for :PLATFORM. + +not_found: + statement: Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. + +notification: + update_found: A new version of content is available. + update: Update + +# ----- Posts related labels ----- + +post: + written_by: By + posted: Posted + updated: Updated + words: words + pageview_measure: views + read_time: + unit: min + prompt: read + relate_posts: Further Reading + share: Share + button: + next: Newer + previous: Older + copy_code: + succeed: Copied! + share_link: + title: Copy link + succeed: Link copied successfully! + +# Date time format. +# See: , +df: + post: + strftime: "%b %e, %Y" + dayjs: "ll" + archives: + strftime: "%b" + dayjs: "MMM" + +# categories page +categories: + category_measure: + singular: category + plural: categories + post_measure: + singular: post + plural: posts diff --git a/i18n/zh.yaml b/i18n/zh.yaml index 6967f67..5c13410 100644 --- a/i18n/zh.yaml +++ b/i18n/zh.yaml @@ -1,35 +1,83 @@ -tabs: - home: "首页" - about: "关于" - archive: "归档" - categories: "分类" - tags: "标签" +# The layout text of site + +# ----- Commons label ----- layout: - post: "文章" - page: "页面" - category: "分类" - tag: "标签" + post: 文章 + category: 分类 + tag: 标签 +# The tabs of sidebar +tabs: + # format: : + home: 首页 + categories: 分类 + tags: 标签 + archives: 归档 + about: 关于 + +# the text displayed in the search bar & search results search: - hint: "搜索" - cancel: "取消" + hint: 搜索 + cancel: 取消 + no_results: 搜索结果为空 panel: - lastmod: "最近更新" - trending_tags: "热门标签" - -post: - posted: "发布" - updated: "更新" - written_by: "由" - read_time: - prompt: "阅读" - unit: "分钟" - words: "字" + lastmod: 最近更新 + trending_tags: 热门标签 + toc: 文章内容 copyright: - brief: "版权所有" - verbose: "版权所有" + # Shown at the bottom of the post + license: + template: 本文由作者按照 :LICENSE_NAME 进行授权 + name: CC BY 4.0 + link: https://creativecommons.org/licenses/by/4.0/ -meta: "由 :PLATFORM 提供支持,主题 :THEME" + # Displayed in the footer + brief: 保留部分权利。 + verbose: >- + 除非另有说明,本网站上的博客文章均由作者按照知识共享署名 4.0 国际 (CC BY 4.0) 许可协议进行授权。 + +meta: 本站采用 :PLATFORM 主题 :THEME + +not_found: + statement: 抱歉,我们放错了该 URL,或者它指向了不存在的内容。 + +notification: + update_found: 发现新版本的内容。 + update: 更新 + +# ----- Posts related labels ----- + +post: + written_by: 作者 + posted: 发表于 + updated: 更新于 + words: 字 + pageview_measure: 次浏览 + read_time: + unit: 分钟 + prompt: 阅读 + relate_posts: 相关文章 + share: 分享 + button: + next: 下一篇 + previous: 上一篇 + copy_code: + succeed: 已复制! + share_link: + title: 分享链接 + succeed: 链接已复制! + +# Date time format. +# See: , +df: + post: + strftime: "%Y/%m/%d" + dayjs: "YYYY/MM/DD" + +# categories page +categories: + category_measure: 个分类 + post_measure: 篇文章