Merge pull request #628 from coralproject/fix-translation-comment-count

Fix translation bug in CommentCount
This commit is contained in:
Kim Gardner
2017-06-01 11:54:01 -04:00
committed by GitHub
3 changed files with 3 additions and 1 deletions
@@ -6,7 +6,7 @@ const name = 'coral-plugin-comment-count';
const CommentCount = ({count}) => {
return <div className={`${name}-text`}>
{`${count} ${count === 1 ? t('comment.comment') : t('comment_plural')}`}
{`${count} ${count === 1 ? t('comment_singular') : t('comment_plural')}`}
</div>;
};
+1
View File
@@ -27,6 +27,7 @@ en:
characters_remaining: "characters remaining"
comment_is_best: "This comment is one of the best"
comment_offensive: "This comment is offensive"
comment_singular: Comment
comment_plural: Comments
comment_post_banned_word: "Your comment contains one or more words that are not permitted, so it will not be published. If you think this message is incorrect, please contact our moderation team."
comment_post_notif: "Your comment has been posted."
+1
View File
@@ -31,6 +31,7 @@ es:
characters_remaining: "carácteres restantes"
comment_is_best: "Este comentario es uno de los mejores"
comment_offensive: "Este comentario es ofensivo"
comment_singular: Comentario
comment_plural: Comentarios
comment_post_banned_word: "Tu comentario contiene una o más palabras que no está\
n permitidas en nuestro espacio, por lo que no será publicado. Si crees que es\