mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
Use i18n for "SEE ALSO" string
This commit is contained in:
parent
2731d9795f
commit
0877a9d400
@ -11,6 +11,9 @@ browser_no_video_support:
|
|||||||
latest_posts:
|
latest_posts:
|
||||||
other: "Latest Posts"
|
other: "Latest Posts"
|
||||||
|
|
||||||
|
see_also:
|
||||||
|
other: "SEE ALSO:"
|
||||||
|
|
||||||
|
|
||||||
# Meta items
|
# Meta items
|
||||||
long_date:
|
long_date:
|
||||||
|
@ -8,6 +8,9 @@ table_of_contents:
|
|||||||
browser_no_video_support:
|
browser_no_video_support:
|
||||||
other: "Tu navegador de internet no admite video."
|
other: "Tu navegador de internet no admite video."
|
||||||
|
|
||||||
|
see_also:
|
||||||
|
other: "Véase también:"
|
||||||
|
|
||||||
|
|
||||||
# Meta items
|
# Meta items
|
||||||
long_date:
|
long_date:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div class="see-also">
|
<div class="see-also">
|
||||||
{{ with .Site.GetPage (.Get 0) }}
|
{{ 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 }}
|
{{ else }}
|
||||||
{{ errorf "Page could not be found for see-also shortcode: %s" .Position }}
|
{{ errorf "Page could not be found for see-also shortcode: %s" .Position }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user