Add new translations for comment smiles modal
This commit is contained in:
parent
001e747efe
commit
c4fefbf0aa
|
@ -1,14 +1,14 @@
|
||||||
.modal.fade{ id: "modal-view-comment#{comment.id}-smiles", aria: { hidden: true, labelledby: 'modal-commentsmile-label' }, role: :dialog, tabindex: -1 }
|
.modal.fade{ id: "modal-view-comment#{comment.id}-smiles", aria: { hidden: true, labelledby: "modal-commentsmile-label" }, role: :dialog, tabindex: -1 }
|
||||||
.modal-dialog
|
.modal-dialog
|
||||||
.modal-content
|
.modal-content
|
||||||
.modal-header
|
.modal-header
|
||||||
%h5.modal-title#modal-commentsmile-label= t 'views.answerbox.commentsmile'
|
%h5.modal-title#modal-commentsmile-label= t(".title")
|
||||||
%button.close{ data: { dismiss: :modal }, type: :button }
|
%button.close{ data: { dismiss: :modal }, type: :button }
|
||||||
%span{ aria: { hidden: true } } ×
|
%span{ aria: { hidden: true } } ×
|
||||||
%span.sr-only Close
|
%span.sr-only Close
|
||||||
.modal-body
|
.modal-body
|
||||||
- if comment.smiles.all.count.zero?
|
- if comment.smiles.all.count.zero?
|
||||||
= t 'views.answerbox.no_smile'
|
= t(".none")
|
||||||
- else
|
- else
|
||||||
%ul.smiles__user-list
|
%ul.smiles__user-list
|
||||||
- comment.smiles.all.each do |smile|
|
- comment.smiles.all.each do |smile|
|
||||||
|
|
|
@ -156,6 +156,9 @@ en:
|
||||||
placeholder: "Type your question here…"
|
placeholder: "Type your question here…"
|
||||||
action: "Ask"
|
action: "Ask"
|
||||||
loading: "Asking..."
|
loading: "Asking..."
|
||||||
|
comment_smiles:
|
||||||
|
title: "People who smiled this comment"
|
||||||
|
none: "No one smiled this comment, yet!"
|
||||||
password:
|
password:
|
||||||
title: "Save account changes"
|
title: "Save account changes"
|
||||||
ban:
|
ban:
|
||||||
|
|
Loading…
Reference in New Issue