mirror of
https://github.com/wassname/talk.git
synced 2026-07-07 08:00:43 +08:00
Merge pull request #628 from coralproject/fix-translation-comment-count
Fix translation bug in CommentCount
This commit is contained in:
@@ -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>;
|
||||
};
|
||||
|
||||
|
||||
@@ -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."
|
||||
|
||||
@@ -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\
|
||||
|
||||
Reference in New Issue
Block a user