From 2289c405d1df0cb40b70c23cf62b81e306134cac Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Thu, 29 Jun 2017 13:25:50 -0300 Subject: [PATCH] Translatios --- client/coral-embed-stream/src/components/StreamError.js | 3 ++- locales/en.yml | 1 + locales/es.yml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/client/coral-embed-stream/src/components/StreamError.js b/client/coral-embed-stream/src/components/StreamError.js index 149056409..2e8b8ff96 100644 --- a/client/coral-embed-stream/src/components/StreamError.js +++ b/client/coral-embed-stream/src/components/StreamError.js @@ -1,8 +1,9 @@ import React from 'react'; import styles from './StreamError.css'; +import t from 'coral-framework/services/i18n'; export const StreamError = () => (
- An error has occured! + {t('common.error')}
); diff --git a/locales/en.yml b/locales/en.yml index 03256e75e..2bf6fc75b 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -40,6 +40,7 @@ en: comment_post_notif_premod: "Thank you for posting. Our moderation team will review your comment shortly." common: copy: 'Copy' + error: 'An error has occurred.' community: account_creation_date: "Account Creation Date" active: Active diff --git a/locales/es.yml b/locales/es.yml index 7297fedd5..61fb7fc0b 100644 --- a/locales/es.yml +++ b/locales/es.yml @@ -40,6 +40,7 @@ es: comment_post_notif_premod: "Gracias por el comentario. Nuestro equipo de moderación va a revisarlo muy pronto." common: copy: 'Copiar' + error: 'Ha ocurrido un error.' community: account_creation_date: "Fecha de creación de la cuenta" active: Activa