Added Participants, Likes to Topic Map
This commit is contained in:
parent
2f39a4ac6d
commit
a2466d182f
|
@ -28,6 +28,14 @@
|
|||
<h4>{{i18n views}}</h4>
|
||||
{{number topic.views}}
|
||||
</li>
|
||||
<li>
|
||||
<h4>{{i18n participants}}</h4>
|
||||
{{number topic.participant_count}}
|
||||
</li>
|
||||
<li>
|
||||
<h4>{{i18n likes}}</h4>
|
||||
<i class='icon icon-heart'></i> {{number topic.like_count}}
|
||||
</li>
|
||||
<li>
|
||||
<h4>{{i18n links}}</h4>
|
||||
{{number details.links.length}}
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
{{/discourse-heading}}
|
||||
{{/unless}}
|
||||
{{#discourse-heading sortBy="posters" sortOrder=sortOrder}}
|
||||
{{i18n top_contributors}}
|
||||
{{i18n participants}}
|
||||
{{/discourse-heading}}
|
||||
{{#discourse-heading sortBy="posts" number=true sortOrder=sortOrder}}
|
||||
{{i18n posts}}
|
||||
|
|
|
@ -12,6 +12,8 @@ class TopicViewSerializer < ApplicationSerializer
|
|||
:created_at,
|
||||
:views,
|
||||
:reply_count,
|
||||
:participant_count,
|
||||
:like_count,
|
||||
:last_posted_at,
|
||||
:visible,
|
||||
:closed,
|
||||
|
|
|
@ -1003,7 +1003,7 @@ cs:
|
|||
activity: "Aktivita"
|
||||
likes: "Líbí se"
|
||||
likes_long: "je zde {{number}} 'líbí se' v tomto tématu"
|
||||
top_contributors: "Účastníci"
|
||||
participants: "Účastníci"
|
||||
category_title: "Kategorie"
|
||||
history: "Historie"
|
||||
changed_by: "od uživatele {{author}}"
|
||||
|
|
|
@ -637,7 +637,7 @@ da:
|
|||
views_long: "dette emne er blevet vist {{number}} gange"
|
||||
activity: "Aktivitet"
|
||||
likes: "Synes godt om"
|
||||
top_contributors: "Deltagere"
|
||||
participants: "Deltagere"
|
||||
category_title: "Kategori"
|
||||
history: "Historik"
|
||||
changed_by: "af {{author}}"
|
||||
|
|
|
@ -993,7 +993,7 @@ de:
|
|||
activity: "Aktivität"
|
||||
likes: "Gefällt mir"
|
||||
likes_long: "es gibt {{number}} „Gefällt mir“ in diesem Thema"
|
||||
top_contributors: "Teilnehmer"
|
||||
participants: "Teilnehmer"
|
||||
category_title: "Kategorie"
|
||||
history: "Verlauf"
|
||||
changed_by: "durch {{author}}"
|
||||
|
|
|
@ -1027,7 +1027,7 @@ en:
|
|||
activity: "Activity"
|
||||
likes: "Likes"
|
||||
likes_long: "there are {{number}} likes in this topic"
|
||||
top_contributors: "Participants"
|
||||
participants: "Participants"
|
||||
category_title: "Category"
|
||||
history: "History"
|
||||
changed_by: "by {{author}}"
|
||||
|
|
|
@ -747,7 +747,7 @@ es:
|
|||
views_long: "este tema ha sido visto {{number}} veces"
|
||||
activity: "Actividad"
|
||||
likes: "Les gusta"
|
||||
top_contributors: "Participantes"
|
||||
participants: "Participantes"
|
||||
category_title: "Categoría"
|
||||
history: "Historia"
|
||||
changed_by: "por {{author}}"
|
||||
|
|
|
@ -982,7 +982,7 @@ fr:
|
|||
activity: "Activité"
|
||||
likes: "J'aime"
|
||||
likes_long: "il y a {{number}} j'aime dans cette discussion"
|
||||
top_contributors: "Participants"
|
||||
participants: "Participants"
|
||||
category_title: "Catégorie"
|
||||
history: "Historique"
|
||||
changed_by: "par {{author}}"
|
||||
|
|
|
@ -593,7 +593,7 @@ id:
|
|||
views_long: "this topic has been viewed {{number}} times"
|
||||
activity: "Activity"
|
||||
likes: "Likes"
|
||||
top_contributors: "Participants"
|
||||
participants: "Participants"
|
||||
category_title: "Category"
|
||||
history: "History"
|
||||
|
||||
|
|
|
@ -950,7 +950,7 @@ it:
|
|||
views_long: "questo topic è stato visto {{number}} volte"
|
||||
activity: "Attività"
|
||||
likes: "Like"
|
||||
top_contributors: "Partecipanti"
|
||||
participants: "Partecipanti"
|
||||
category_title: "Categoria"
|
||||
history: "Cronologia"
|
||||
changed_by: "di {{author}}"
|
||||
|
|
|
@ -1017,7 +1017,7 @@ ko:
|
|||
activity: "활동"
|
||||
likes: "좋아요"
|
||||
likes_long: "이 주제에 {{number}}개의 '좋아요'가 있습니다."
|
||||
top_contributors: "참여자"
|
||||
participants: "참여자"
|
||||
category_title: "카테고리"
|
||||
history: "기록"
|
||||
changed_by: "{{author}}에 의해"
|
||||
|
|
|
@ -863,7 +863,7 @@ nb_NO:
|
|||
views_long: "dette emnet har blit sett {{number}} ganger"
|
||||
activity: "Aktivitet"
|
||||
likes: "Likes"
|
||||
top_contributors: "Deltakere"
|
||||
participants: "Deltakere"
|
||||
category_title: "Kategori"
|
||||
history: "Historie"
|
||||
changed_by: "av {{author}}"
|
||||
|
|
|
@ -1022,7 +1022,7 @@ nl:
|
|||
activity: Activiteit
|
||||
likes: Leuk
|
||||
likes_long: "er zijn {{count}} likes in deze topic"
|
||||
top_contributors: Deelnemers
|
||||
participants: Deelnemers
|
||||
category_title: Categorie
|
||||
history: Geschiedenis
|
||||
changed_by: "door {{author}}"
|
||||
|
|
|
@ -921,7 +921,7 @@ pseudo:
|
|||
activity: '[[ Áčťíνíťý ]]'
|
||||
likes: '[[ Łíǩéš ]]'
|
||||
likes_long: '[[ ťĥéřé ářé {{number}} łíǩéš íɳ ťĥíš ťóƿíč ]]'
|
||||
top_contributors: '[[ Рářťíčíƿáɳťš ]]'
|
||||
participants: '[[ Рářťíčíƿáɳťš ]]'
|
||||
category_title: '[[ Čáťéǧóřý ]]'
|
||||
history: '[[ Ĥíšťóřý ]]'
|
||||
changed_by: '[[ ƀý {{author}} ]]'
|
||||
|
|
|
@ -558,7 +558,7 @@ pt:
|
|||
views_long: "este tópico foi visto {{number}} vezes"
|
||||
activity: "Atividade"
|
||||
likes: "Gostos"
|
||||
top_contributors: "Participantes"
|
||||
participants: "Participantes"
|
||||
category_title: "Categoria"
|
||||
|
||||
categories_list: "Lista de Categorias"
|
||||
|
|
|
@ -1013,7 +1013,7 @@ pt_BR:
|
|||
activity: "Atividade"
|
||||
likes: "Curtidas"
|
||||
likes_long: "há {{number}} curtidas neste tópico"
|
||||
top_contributors: "Participantes"
|
||||
participants: "Participantes"
|
||||
category_title: "Categoria"
|
||||
history: "Histórico"
|
||||
changed_by: "por {{author}}"
|
||||
|
|
|
@ -1032,7 +1032,7 @@ ru:
|
|||
activity: Активность
|
||||
likes: Нрав.
|
||||
likes_long: '{{number}} лайков в теме'
|
||||
top_contributors: Участники
|
||||
participants: Участники
|
||||
category_title: Категория
|
||||
history: История
|
||||
changed_by: 'автором {{author}}'
|
||||
|
|
|
@ -737,7 +737,7 @@ sv:
|
|||
views_long: "denna tråd har visats {{number}} gånger"
|
||||
activity: "Aktivitet"
|
||||
likes: "Gillningar"
|
||||
top_contributors: "Deltagare"
|
||||
participants: "Deltagare"
|
||||
category_title: "Kategori"
|
||||
history: "Historik"
|
||||
changed_by: "av {{author}}"
|
||||
|
|
|
@ -1023,7 +1023,7 @@ zh_CN:
|
|||
activity: "活动"
|
||||
likes: "赞"
|
||||
likes_long: "本主题已有 {{number}} 次赞"
|
||||
top_contributors: "参与者"
|
||||
participants: "参与者"
|
||||
category_title: "分类"
|
||||
history: "历史"
|
||||
changed_by: "由 {{author}}"
|
||||
|
|
|
@ -913,7 +913,7 @@ zh_TW:
|
|||
views_long: "本主題已經被浏覽過 {{number}} 次"
|
||||
activity: "活動"
|
||||
likes: "贊"
|
||||
top_contributors: "參與者"
|
||||
participants: "參與者"
|
||||
category_title: "分類"
|
||||
history: "曆史"
|
||||
changed_by: "由 {{author}}"
|
||||
|
|
Loading…
Reference in New Issue