Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<div class="d-flex align-items-start">
<i class="fa-solid fa-info-circle me-2 mt-1 flex-shrink-0"></i>
<div>
<strong>Historical Version Notice:</strong>
You are viewing version {{ $currentVersion }} of this guide.
<a href="{{ $sectionPage.RelPermalink }}" class="alert-link"> View the latest version ({{ $latestVersion }}) </a> for the most up-to-date information.
<strong>{{ i18n "guide_historical_version_notice_title" }}</strong>
{{ i18n "guide_historical_version_notice_text" (dict "CurrentVersion" $currentVersion) }}
<a href="{{ $sectionPage.RelPermalink }}" class="alert-link">{{ i18n "guide_historical_version_notice_link" (dict "LatestVersion" $latestVersion) }}</a> {{ i18n "guide_historical_version_notice_suffix" }}
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ <h4 class="h6 text-muted mb-3 flex-shrink-0 d-none d-md-block">{{ i18n "guide_ta
<!-- Authors from creators list -->

<div class="content-version mt-2">
<span class="text-muted">{{ i18n "guide_version_label" . }} </span>
<span class="text-muted">{{ i18n "guide_version_label" . }} </span>&nbsp;
{{ partial "components/guide/guide-version-select.html" . }}
</div>
</header>
Expand Down
12 changes: 12 additions & 0 deletions site/i18n/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:"

Expand Down
12 changes: 12 additions & 0 deletions site/i18n/min.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:"

Expand Down