Use i18n for "SEE ALSO" string

This commit is contained in:
BBaoVanC 2022-05-04 18:41:41 -05:00
parent 2731d9795f
commit 0877a9d400
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
3 changed files with 7 additions and 1 deletions

View File

@ -11,6 +11,9 @@ browser_no_video_support:
latest_posts:
other: "Latest Posts"
see_also:
other: "SEE ALSO:"
# Meta items
long_date:

View File

@ -8,6 +8,9 @@ table_of_contents:
browser_no_video_support:
other: "Tu navegador de internet no admite video."
see_also:
other: "Véase también:"
# Meta items
long_date:

View File

@ -1,6 +1,6 @@
<div class="see-also">
{{ with .Site.GetPage (.Get 0) }}
<p>SEE ALSO: <a href="{{ .Permalink }}">{{ .Title }}</a></p>
<p>{{ i18n "see_also" }} <a href="{{ .Permalink }}">{{ .Title }}</a></p>
{{ else }}
{{ errorf "Page could not be found for see-also shortcode: %s" .Position }}
{{ end }}