Use lazy translation lookups for the user_blocks partials.

This commit is contained in:
Andy Allan 2018-04-18 14:20:41 +08:00
parent 30424e89d2
commit 736ff9b1a0
3 changed files with 29 additions and 28 deletions

View file

@ -2159,20 +2159,6 @@ en:
period:
one: "1 hour"
other: "%{count} hours"
partial:
show: "Show"
edit: "Edit"
revoke: "Revoke!"
confirm: "Are you sure?"
display_name: "Blocked User"
creator_name: "Creator"
reason: "Reason for block"
status: "Status"
revoker_name: "Revoked by"
not_revoked: "(not revoked)"
showing_page: "Page %{page}"
next: "Next »"
previous: "« Previous"
helper:
time_future: "Ends in %{time}."
until_login: "Active until the user logs in."
@ -2202,6 +2188,21 @@ en:
back: "View all blocks"
revoker: "Revoker:"
needs_view: "The user needs to log in before this block will be cleared."
user_blocks:
block:
not_revoked: "(not revoked)"
show: "Show"
edit: "Edit"
revoke: "Revoke!"
blocks:
display_name: "Blocked User"
creator_name: "Creator"
reason: "Reason for block"
status: "Status"
revoker_name: "Revoked by"
showing_page: "Page %{page}"
next: "Next »"
previous: "« Previous"
note:
description:
opened_at_html: "Created %{when} ago"