diff --git a/module/layouts/_partials/components/guide/guide-version-notice.html b/module/layouts/_partials/components/guide/guide-version-notice.html index 9f45d40..4882a04 100644 --- a/module/layouts/_partials/components/guide/guide-version-notice.html +++ b/module/layouts/_partials/components/guide/guide-version-notice.html @@ -15,9 +15,9 @@
- Historical Version Notice: - You are viewing version {{ $currentVersion }} of this guide. - View the latest version ({{ $latestVersion }}) for the most up-to-date information. + {{ i18n "guide_historical_version_notice_title" }} + {{ i18n "guide_historical_version_notice_text" (dict "CurrentVersion" $currentVersion) }} + {{ i18n "guide_historical_version_notice_link" (dict "LatestVersion" $latestVersion) }} {{ i18n "guide_historical_version_notice_suffix" }}
diff --git a/module/layouts/_partials/components/guide/render-guide.html b/module/layouts/_partials/components/guide/render-guide.html index c58efd0..316424d 100644 --- a/module/layouts/_partials/components/guide/render-guide.html +++ b/module/layouts/_partials/components/guide/render-guide.html @@ -175,7 +175,7 @@

{{ i18n "guide_ta
- {{ i18n "guide_version_label" . }} + {{ i18n "guide_version_label" . }}   {{ partial "components/guide/guide-version-select.html" . }}
diff --git a/site/i18n/en.yaml b/site/i18n/en.yaml index 3ccce92..fc08ce8 100644 --- a/site/i18n/en.yaml +++ b/site/i18n/en.yaml @@ -297,6 +297,18 @@ - id: guide_version_latest translation: "Latest" +- id: guide_historical_version_notice_title + translation: "Historical Version Notice:" + +- id: guide_historical_version_notice_text + translation: "You are viewing version {{ .CurrentVersion }} of this guide." + +- id: guide_historical_version_notice_link + translation: "View the latest version ({{ .LatestVersion }})" + +- id: guide_historical_version_notice_suffix + translation: "for the most up-to-date information." + - id: guide_content_unavailable_note translation: "Note:" diff --git a/site/i18n/min.yaml b/site/i18n/min.yaml index 2ee6202..1a2e1ee 100644 --- a/site/i18n/min.yaml +++ b/site/i18n/min.yaml @@ -291,6 +291,18 @@ - id: guide_version_latest translation: "Fresh Banana" +- id: guide_historical_version_notice_title + translation: "Old Banana Alert:" + +- id: guide_historical_version_notice_text + translation: "You looky at banana version {{ .CurrentVersion }} of dis guide." + +- id: guide_historical_version_notice_link + translation: "See da fresh banana ({{ .LatestVersion }})" + +- id: guide_historical_version_notice_suffix + translation: "for da newest banana info." + - id: guide_content_unavailable_note translation: "Banana Note:"