Move hard-coded strings to i18n files
Add translations in English and in Japanese
This commit is contained in:
parent
1c26fe2526
commit
0f74f45531
9 changed files with 86 additions and 19 deletions
|
|
@ -39,12 +39,12 @@
|
|||
</a>
|
||||
|
||||
<p class="post-meta">
|
||||
Posted on {{ .Date.Format (default "January 2, 2006" .Site.Params.dateFormat) }}
|
||||
{{ default (i18n "dateFormat") .Site.Params.dateformat | .Date.Format | i18n "postedOnDate" }}
|
||||
</p>
|
||||
<div class="post-entry">
|
||||
{{ if .Truncated }}
|
||||
{{ .Summary }}
|
||||
<a href="{{ .Permalink }}" class="post-read-more">[Read More]</a>
|
||||
<a href="{{ .Permalink }}" class="post-read-more">[{{ i18n "readMore" }}]</a>
|
||||
{{ else }}
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue