File tree Expand file tree Collapse file tree
ui/src/pages/Questions/Ask/components/SearchQuestion Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,18 +40,22 @@ const SearchQuestion = ({ similarQuestions }) => {
4040 { item . accepted_answer ? (
4141 < span className = "ms-3 text-success" >
4242 < Icon type = "bi" name = "check-circle-fill" />
43- < span className = "ms-1" > { item . answer_count } </ span >
43+ < span className = "ms-1" >
44+ { t ( 'x_answers' , {
45+ keyPrefix : 'question' ,
46+ count : item . answer_count ,
47+ } ) }
48+ </ span >
4449 </ span >
4550 ) : (
4651 item . answer_count > 0 && (
47- < span className = "ms-3" >
48- < Icon
49- type = "bi"
50- name = "chat-square-text-fill"
51- className = "text-secondary"
52- />
53- < span className = "ms-1 text-primary" >
54- { item . answer_count }
52+ < span className = "ms-3 text-secondary" >
53+ < Icon type = "bi" name = "chat-square-text-fill" />
54+ < span className = "ms-1" >
55+ { t ( 'x_answers' , {
56+ keyPrefix : 'question' ,
57+ count : item . answer_count ,
58+ } ) }
5559 </ span >
5660 </ span >
5761 )
You can’t perform that action at this time.
0 commit comments