Localise strings for question visibility
This commit is contained in:
parent
615c60d420
commit
dd3f86988a
|
@ -4,11 +4,11 @@
|
|||
- if user_signed_in? && q.user == current_user
|
||||
.card-header
|
||||
%i.fa.fa-eye-slash
|
||||
Only you can see this
|
||||
= t(".visible_to_you")
|
||||
- elsif moderation_view?
|
||||
.card-header
|
||||
%i.fa.fa-eye-slash
|
||||
You can see this because you are in moderation view
|
||||
= t(".visible_mod_mode")
|
||||
.card-body{ data: { controller: q.long? ? "collapse" : nil } }
|
||||
.d-flex
|
||||
- if type == "discover"
|
||||
|
|
|
@ -578,6 +578,9 @@ en:
|
|||
anonymous_block:
|
||||
deleted_question: "Deleted question"
|
||||
blocked: "blocked %{time} ago"
|
||||
question:
|
||||
visible_to_you: "Only visible to you"
|
||||
visible_mod_mode: "You can see this because you are in moderation view"
|
||||
tabs:
|
||||
admin:
|
||||
announcements: "Announcements"
|
||||
|
|
Loading…
Reference in New Issue