Localise strings for question visibility

This commit is contained in:
Karina Kwiatek 2023-02-06 18:54:34 +01:00 committed by Andreas Nedbal
parent 615c60d420
commit dd3f86988a
2 changed files with 5 additions and 2 deletions

View File

@ -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"

View File

@ -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"