Replace more hardcoded strings with their i18nized versions.
This commit is contained in:
parent
7d1fcdb0c5
commit
8557dc4399
|
@ -10,6 +10,9 @@ other = "Resume"
|
|||
[Tags]
|
||||
other = "Tags"
|
||||
|
||||
[RecentPosts]
|
||||
other = "Recent posts"
|
||||
|
||||
[AllPosts]
|
||||
other = "All Posts"
|
||||
|
||||
|
|
|
@ -10,6 +10,9 @@ other = "Резюме"
|
|||
[Tags]
|
||||
other = "Метки"
|
||||
|
||||
[RecentPosts]
|
||||
other = "Недавние статьи"
|
||||
|
||||
[AllPosts]
|
||||
other = "Все Статьи"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
|
||||
Recent posts:
|
||||
{{ i18n "RecentPosts" }}:
|
||||
<ul class="post-list">
|
||||
{{ range first 10 (where (where .Site.Pages.ByDate.Reverse "Section" "blog") ".Kind" "!=" "section") }}
|
||||
{{ partial "post.html" . }}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{ define "main" }}
|
||||
<h2>{{ .Title }}</h2>
|
||||
<h2>{{ i18n "Tags" }}</h2>
|
||||
{{ i18n "AllTags" }}
|
||||
|
||||
<ul>
|
||||
|
|
Loading…
Reference in New Issue
Block a user