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
|
- if user_signed_in? && q.user == current_user
|
||||||
.card-header
|
.card-header
|
||||||
%i.fa.fa-eye-slash
|
%i.fa.fa-eye-slash
|
||||||
Only you can see this
|
= t(".visible_to_you")
|
||||||
- elsif moderation_view?
|
- elsif moderation_view?
|
||||||
.card-header
|
.card-header
|
||||||
%i.fa.fa-eye-slash
|
%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 } }
|
.card-body{ data: { controller: q.long? ? "collapse" : nil } }
|
||||||
.d-flex
|
.d-flex
|
||||||
- if type == "discover"
|
- if type == "discover"
|
||||||
|
|
|
@ -578,6 +578,9 @@ en:
|
||||||
anonymous_block:
|
anonymous_block:
|
||||||
deleted_question: "Deleted question"
|
deleted_question: "Deleted question"
|
||||||
blocked: "blocked %{time} ago"
|
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:
|
tabs:
|
||||||
admin:
|
admin:
|
||||||
announcements: "Announcements"
|
announcements: "Announcements"
|
||||||
|
|
Loading…
Reference in New Issue