Add translation for "time ago" wording
This commit is contained in:
parent
ebaa7bfa87
commit
edf3d3db15
|
@ -105,7 +105,7 @@
|
||||||
%p.text-muted
|
%p.text-muted
|
||||||
- if current_user.created_at
|
- if current_user.created_at
|
||||||
= localize(current_user.created_at)
|
= localize(current_user.created_at)
|
||||||
= " (#{time_ago_in_words(current_user.created_at)} ago)"
|
= " (#{t("time.distance_ago", time: time_ago_in_words(current_user.created_at))})"
|
||||||
- else
|
- else
|
||||||
= t(".none")
|
= t(".none")
|
||||||
|
|
||||||
|
@ -113,6 +113,6 @@
|
||||||
%p.text-muted
|
%p.text-muted
|
||||||
- if current_user.created_at
|
- if current_user.created_at
|
||||||
= localize(current_user.updated_at)
|
= localize(current_user.updated_at)
|
||||||
= " (#{time_ago_in_words(current_user.updated_at)} ago)"
|
= " (#{t("time.distance_ago", time: time_ago_in_words(current_user.updated_at))})"
|
||||||
- else
|
- else
|
||||||
= t(".none")
|
= t(".none")
|
||||||
|
|
|
@ -12,3 +12,5 @@ en:
|
||||||
update: "Update"
|
update: "Update"
|
||||||
messages:
|
messages:
|
||||||
noauth: "You must be signed in to do this."
|
noauth: "You must be signed in to do this."
|
||||||
|
time:
|
||||||
|
distance_ago: "%{time} ago"
|
||||||
|
|
Loading…
Reference in New Issue