Refs #2255
Removes two unused translations.
# either because the user viewed the block (updated_at) or it expired or was
# revoked (ends_at)
last_time = [block.ends_at, block.updated_at].max
# either because the user viewed the block (updated_at) or it expired or was
# revoked (ends_at)
last_time = [block.ends_at, block.updated_at].max
- I18n.t("user_blocks.helper.time_past", :time => friendly_date(last_time)).html_safe
+ I18n.t("user_blocks.helper.time_past", :time => friendly_date_ago(last_time)).html_safe
time_future: "Ends in %{time}."
until_login: "Active until the user logs in."
time_future_and_until_login: "Ends in %{time} and after the user has logged in."
time_future: "Ends in %{time}."
until_login: "Active until the user logs in."
time_future_and_until_login: "Ends in %{time} and after the user has logged in."
- time_past: "Ended %{time} ago."
+ time_past: "Ended %{time}."
block_duration:
hours:
one: "1 hour"
block_duration:
hours:
one: "1 hour"
show:
title: "%{block_on} blocked by %{block_by}"
heading: "%{block_on} blocked by %{block_by}"
show:
title: "%{block_on} blocked by %{block_by}"
heading: "%{block_on} blocked by %{block_by}"
- time_future: "Ends in %{time}"
- time_past: "Ended %{time} ago"
created: "Created"
ago: "%{time} ago"
status: "Status"
created: "Created"
ago: "%{time} ago"
status: "Status"