From cc0748ec87f5cb7419f73b84fb710ee79570c038 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Tue, 1 Apr 2025 11:00:10 +0800 Subject: chore: translate post nav Former-commit-id: c582880e3b11d86fc6943455570b805c88037bbb --- i18n/en.yml | 3 +++ i18n/zh.yml | 3 +++ layouts/partials/components/postnav.html | 6 ++++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/i18n/en.yml b/i18n/en.yml index 4391c91a..a62b972a 100644 --- a/i18n/en.yml +++ b/i18n/en.yml @@ -10,3 +10,6 @@ footer: wordCount: '🪦 {{ . }} words are buried here' licenseStatement: 'Licensed under {{ . }}' searchInstruction: '⌘+K to search anywhere' +postNav: + latest: 'Latest' + categories: 'Categories' diff --git a/i18n/zh.yml b/i18n/zh.yml index 38c576e1..6273feb8 100644 --- a/i18n/zh.yml +++ b/i18n/zh.yml @@ -10,3 +10,6 @@ footer: wordCount: '🪦 {{ . }} 字在这里死去' licenseStatement: '以 {{ . }} 协议授权' searchInstruction: '⌘+K 在任何地方搜索' +postNav: + latest: '最新' + categories: '分类' diff --git a/layouts/partials/components/postnav.html b/layouts/partials/components/postnav.html index 207ea99c..0d36d5b1 100644 --- a/layouts/partials/components/postnav.html +++ b/layouts/partials/components/postnav.html @@ -1,11 +1,13 @@