mirror of
https://github.com/mastodon/documentation
synced 2025-04-11 22:56:17 +02:00
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"
|
other = "Improve this page"
|
||||||
|
|
||||||
[lastUpdated]
|
[lastUpdated]
|
||||||
other = "Last updated"
|
other = "Last updated {{ .Format \"January 2, 2006\" }}"
|
||||||
|
|
||||||
[joinTitle]
|
[joinTitle]
|
||||||
other = "Join the social media revolution"
|
other = "Join the social media revolution"
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
<p style="color: #687590;">
|
<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 }}
|
{{ if .IsTranslated }}
|
||||||
<br />
|
<br />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user