mirror of
https://github.com/wassname/talk.git
synced 2026-08-11 11:27:10 +08:00
Translations added
This commit is contained in:
@@ -13,7 +13,6 @@ class Comment extends React.Component {
|
||||
|
||||
render() {
|
||||
const {comment, link, data, root} = this.props;
|
||||
// console.log(comment.action_summaries, getTotalReactionsCount(comment.action_summaries));
|
||||
|
||||
return (
|
||||
<div className={styles.myComment}>
|
||||
@@ -27,18 +26,17 @@ class Comment extends React.Component {
|
||||
/>
|
||||
<div className={cn(styles.commentSummary, 'comment_summary')}>
|
||||
<span className={cn(styles.commentSummaryReactions, 'comment_summary_reactions')}>
|
||||
<Icon name="thumb_up" /> {getTotalReactionsCount(comment.action_summaries)} reactions
|
||||
<Icon name="thumb_up" /> {getTotalReactionsCount(comment.action_summaries)} {t('common.reactions')}
|
||||
</span>
|
||||
|
||||
<span className={cn('comment_summary_replies')}>
|
||||
<Icon name="reply" /> {comment.replyCount} replies
|
||||
<Icon name="reply" /> {comment.replyCount} {t('common.replies')}
|
||||
</span>
|
||||
</div>
|
||||
<div className="my-comment-asset">
|
||||
<a className={cn(styles.assetURL, 'my-comment-anchor')}
|
||||
href="#"
|
||||
onClick={link(`${comment.asset.url}`)}>
|
||||
Story: {comment.asset.title ? comment.asset.title : comment.asset.url}
|
||||
{t('common.story')}: {comment.asset.title ? comment.asset.title : comment.asset.url}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -41,6 +41,9 @@ en:
|
||||
common:
|
||||
copy: 'Copy'
|
||||
error: 'An error has occurred.'
|
||||
replies: 'replies'
|
||||
reactions: 'reactions'
|
||||
story: 'Story'
|
||||
community:
|
||||
account_creation_date: "Account Creation Date"
|
||||
active: Active
|
||||
|
||||
@@ -41,6 +41,9 @@ es:
|
||||
common:
|
||||
copy: 'Copiar'
|
||||
error: 'Ha ocurrido un error.'
|
||||
replies: 'respuestas'
|
||||
reactions: 'reacciones'
|
||||
story: 'Artículo'
|
||||
community:
|
||||
account_creation_date: "Fecha de creación de la cuenta"
|
||||
active: Activa
|
||||
|
||||
Reference in New Issue
Block a user