Commit bdc8c1ca authored by Eugen Rochko's avatar Eugen Rochko

Merge branch 'make-translatable/last-updated-at-format' into 'master'

make last updated date format translatable

See merge request mastodon/docs!67
parents 8aa3e243 83efb1b6
......@@ -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 />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment