Merge branch 'make-translatable/last-updated-at-format' into 'master'
make last updated date format translatable See merge request mastodon/docs!67
This commit is contained in:
commit
d827a05656
|
@ -2,7 +2,7 @@
|
|||
other = "Improve this page"
|
||||
|
||||
[lastUpdated]
|
||||
other = "Last updated"
|
||||
other = "Last updated {{ .Format \"January 2, 2006\" }}"
|
||||
|
||||
[joinTitle]
|
||||
other = "Join the social media revolution"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
{{ .Content }}
|
||||
|
||||
<p style="color: #687590;">
|
||||
{{ i18n "lastUpdated" }} {{ .Lastmod.Format "January 2, 2006" }}{{ with .File }} · <a href='https://source.joinmastodon.org/mastodon/docs/tree/master/content/{{ .Lang }}/{{ .Path }}' style="color: #687590;">{{ i18n "improvePage" }}{{ end }}</a>
|
||||
{{ i18n "lastUpdated" .Lastmod }}{{ with .File }} · <a href='https://source.joinmastodon.org/mastodon/docs/tree/master/content/{{ .Lang }}/{{ .Path }}' style="color: #687590;">{{ i18n "improvePage" }}{{ end }}</a>
|
||||
|
||||
{{ if .IsTranslated }}
|
||||
<br />
|
||||
|
|
Loading…
Reference in New Issue