diff --git a/layouts/shortcodes/slogan.html b/layouts/shortcodes/slogan.html index 5a3bf412c..40f756cd6 100644 --- a/layouts/shortcodes/slogan.html +++ b/layouts/shortcodes/slogan.html @@ -7,7 +7,7 @@
{{ .Get "get_started" }} - Latest Release:   {{ $version }} + {{ i18n "slogan" $version | safeHTML }}
{{ .Get "docs" }} {{ .Get "notes" }} diff --git a/themes/ziglang-original/i18n/en.toml b/themes/ziglang-original/i18n/en.toml index 8d092667f..43d09356e 100644 --- a/themes/ziglang-original/i18n/en.toml +++ b/themes/ziglang-original/i18n/en.toml @@ -1,28 +1,29 @@ +[slogan] +other = "Latest Release:   {{ . }}" -[menu-source] -other = "Source Code" -[menu-community] -other = "Join a Community" +[back-to-home] +other = "← Back to the Home page" [back-to-parent] other = "← Back to the {{ . }} section" -[back-to-home] -other = "← Back to the Home page" +[menu-community] +other = "Join a Community" +[menu-source] +other = "Source Code" -[download-filename] -other = "Filename" -[download-kind] -other = "Kind" +[downloads-heading] +other = "Releases" -[download-size] -other = "Size" +[downloads-install-from-pkg-manager] +other = "You can also install Zig from a package manager." + +[downloads-json] +other = "There is a JSON version of this page." -[download-source] -other = "Source" [download-binary] other = "Binary" @@ -30,17 +31,20 @@ other = "Binary" [download-documentation] other = "Language Reference" -[download-release-notes] -other = "Release Notes" - -[download-stdlib-docs] -other = "Standard Library Documentation (experimental)" - - - - +[download-filename] +other = "Filename" +[download-kind] +other = "Kind" +[download-release-notes] +other = "Release Notes" +[download-size] +other = "Size" +[download-source] +other = "Source" +[download-stdlib-docs] +other = "Standard Library Documentation (experimental)" diff --git a/themes/ziglang-original/layouts/_default/downloads.html b/themes/ziglang-original/layouts/_default/downloads.html index 574cc627c..24f47a258 100644 --- a/themes/ziglang-original/layouts/_default/downloads.html +++ b/themes/ziglang-original/layouts/_default/downloads.html @@ -3,15 +3,9 @@ {{ end }} {{ define "main" }}
-

Releases

-

You can also - - install Zig from a package manager. -

-

There is a - - JSON version of this page. -

+

{{ i18n "downloads-heading" }}

+

{{ i18n "downloads-install-from-pkg-manager" | safeHTML }}

+

{{ i18n "downloads-json" | safeHTML }}

{{ range $release_name := $.Site.Params.downloads_release_order }}