File tree Expand file tree Collapse file tree 4 files changed +28
-4
lines changed
module/layouts/_partials/components/guide Expand file tree Collapse file tree 4 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 1515 < div class ="d-flex align-items-start ">
1616 < i class ="fa-solid fa-info-circle me-2 mt-1 flex-shrink-0 "> </ i >
1717 < div >
18- < strong > Historical Version Notice: </ strong >
19- You are viewing version {{ $currentVersion }} of this guide.
20- < a href ="{{ $sectionPage.RelPermalink }} " class ="alert-link "> View the latest version ({{ $latestVersion }}) </ a > for the most up-to-date information.
18+ < strong > {{ i18n "guide_historical_version_notice_title" }} </ strong >
19+ {{ i18n "guide_historical_version_notice_text" (dict "CurrentVersion" $currentVersion) }}
20+ < a href ="{{ $sectionPage.RelPermalink }} " class ="alert-link "> {{ i18n "guide_historical_version_notice_link" (dict "LatestVersion" $latestVersion) }}</ a > {{ i18n "guide_historical_version_notice_suffix" }}
2121 </ div >
2222 </ div >
2323 </ div >
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ <h4 class="h6 text-muted mb-3 flex-shrink-0 d-none d-md-block">{{ i18n "guide_ta
175175 <!-- Authors from creators list -->
176176
177177 < div class ="content-version mt-2 ">
178- < span class ="text-muted "> {{ i18n "guide_version_label" . }} </ span >
178+ < span class ="text-muted "> {{ i18n "guide_version_label" . }} </ span >
179179 {{ partial "components/guide/guide-version-select.html" . }}
180180 </ div >
181181 </ header >
Original file line number Diff line number Diff line change 297297- id : guide_version_latest
298298 translation : " Latest"
299299
300+ - id : guide_historical_version_notice_title
301+ translation : " Historical Version Notice:"
302+
303+ - id : guide_historical_version_notice_text
304+ translation : " You are viewing version {{ .CurrentVersion }} of this guide."
305+
306+ - id : guide_historical_version_notice_link
307+ translation : " View the latest version ({{ .LatestVersion }})"
308+
309+ - id : guide_historical_version_notice_suffix
310+ translation : " for the most up-to-date information."
311+
300312- id : guide_content_unavailable_note
301313 translation : " Note:"
302314
Original file line number Diff line number Diff line change 291291- id : guide_version_latest
292292 translation : " Fresh Banana"
293293
294+ - id : guide_historical_version_notice_title
295+ translation : " Old Banana Alert:"
296+
297+ - id : guide_historical_version_notice_text
298+ translation : " You looky at banana version {{ .CurrentVersion }} of dis guide."
299+
300+ - id : guide_historical_version_notice_link
301+ translation : " See da fresh banana ({{ .LatestVersion }})"
302+
303+ - id : guide_historical_version_notice_suffix
304+ translation : " for da newest banana info."
305+
294306- id : guide_content_unavailable_note
295307 translation : " Banana Note:"
296308
You can’t perform that action at this time.
0 commit comments