diff --git a/client/coral-embed-stream/src/IgnoredCommentTombstone.js b/client/coral-embed-stream/src/IgnoredCommentTombstone.js index aca235a02..0ed746976 100644 --- a/client/coral-embed-stream/src/IgnoredCommentTombstone.js +++ b/client/coral-embed-stream/src/IgnoredCommentTombstone.js @@ -1,5 +1,9 @@ import React from 'react'; +import I18n from 'coral-framework/modules/i18n/i18n'; +import translations from 'coral-framework/translations'; +const lang = new I18n(translations); + // Render in place of a Comment when the author of the comment is ignored const IgnoredCommentTombstone = () => (
@@ -10,7 +14,7 @@ const IgnoredCommentTombstone = () => ( padding: '1em', color: '#3E4F71', }}> - This comment is hidden because you ignored this user. + {lang.t('commentIsIgnored')}

); diff --git a/client/coral-framework/translations.json b/client/coral-framework/translations.json index f13db92a8..f6e8b82e4 100644 --- a/client/coral-framework/translations.json +++ b/client/coral-framework/translations.json @@ -21,6 +21,7 @@ "newCount": "View {0} new {1}", "comment": "comment", "comments": "comments", + "commentIsIgnored": "This comment is hidden because you ignored this user.", "error": { "emailNotVerified": "Email address {0} not verified.", "email": "Not a valid E-Mail", @@ -58,6 +59,7 @@ "newCount": "Ver {0} {1} más", "comment": "commentario", "comments": "commentarios", + "commentIsIgnored": "Este comentario está oculto porque ignoró a este usuario.", "showAllComments": "Mostrar todos los comentarios", "error": { "emailNotVerified": "E-mail {0} no verificado.",