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