Translations added

This commit is contained in:
Belen Curcio
2017-08-28 16:30:17 -03:00
parent 93c1ecd12d
commit 3e045291ee
3 changed files with 9 additions and 5 deletions
+3 -5
View File
@@ -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>
+3
View File
@@ -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
+3
View File
@@ -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