From 3e045291eed7680655565f0543922d86101b1d75 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Mon, 28 Aug 2017 16:30:17 -0300 Subject: [PATCH] Translations added --- client/talk-plugin-history/Comment.js | 8 +++----- locales/en.yml | 3 +++ locales/es.yml | 3 +++ 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/client/talk-plugin-history/Comment.js b/client/talk-plugin-history/Comment.js index f3bb47914..c9851b43c 100644 --- a/client/talk-plugin-history/Comment.js +++ b/client/talk-plugin-history/Comment.js @@ -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 (
@@ -27,18 +26,17 @@ class Comment extends React.Component { />
- {getTotalReactionsCount(comment.action_summaries)} reactions + {getTotalReactionsCount(comment.action_summaries)} {t('common.reactions')} - - {comment.replyCount} replies + {comment.replyCount} {t('common.replies')}
- Story: {comment.asset.title ? comment.asset.title : comment.asset.url} + {t('common.story')}: {comment.asset.title ? comment.asset.title : comment.asset.url}
diff --git a/locales/en.yml b/locales/en.yml index 2ec0c816c..da7bd54d1 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -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 diff --git a/locales/es.yml b/locales/es.yml index 877a42841..8c3683021 100644 --- a/locales/es.yml +++ b/locales/es.yml @@ -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