diff --git a/i18n/en.toml b/i18n/en.toml index 6f6afa96e0..c8d9ef3093 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -44,10 +44,10 @@ other = "Dark Theme" other = "Other versions of this site" [current_release] -other = "Current Release (%s)" +other = "Current Release" [next_release] -other = "Next Release (Preliminary %s)" +other = "Next Release" [archived_releases] other = "Older Releases" diff --git a/i18n/zh.toml b/i18n/zh.toml index c616835bb3..0b069ef4a2 100644 --- a/i18n/zh.toml +++ b/i18n/zh.toml @@ -44,10 +44,10 @@ other = "暗主题" other = "本站的其它版本" [current_release] -other = "当前版本(%s)" +other = "当前版本" [next_release] -other = "下个版本(预发布 %s)" +other = "下个版本" [archived_releases] other = "旧版本" diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 616f2085fa..13d283c6a5 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -104,8 +104,8 @@ {{ end }} {{ if or .Site.Data.args.archive .Site.Data.args.archive_landing }} - {{ printf (i18n "current_release") $current }} - {{ printf (i18n "next_release") $next }} + {{ i18n "current_release" }} + {{ i18n "next_release" }} {{ i18n "archived_releases" }} {{ else if .Site.Data.args.preliminary }} {{ printf (i18n "current_release") $current }}