Adding the translations

This commit is contained in:
Belen Curcio
2017-06-20 08:37:53 -03:00
parent fe8f3ae4bb
commit d23d426567
3 changed files with 9 additions and 2 deletions
@@ -2,6 +2,7 @@ import React, {PropTypes} from 'react';
import Comment from './Comment';
import styles from './UserDetail.css';
import {Button, Drawer} from 'coral-ui';
import t from 'coral-framework/services/i18n';
import {Slot, Copy} from 'coral-framework/components';
import {actionsMap} from '../helpers/moderationQueueActionsMap';
@@ -102,9 +103,9 @@ export default class UserDetail extends React.Component {
<div>
{profile && <input className={styles.profileEmail} readOnly type="text" ref={(ref) => this.profile = ref} value={profile} />}
<Copy onCopy={() => this.showCopied()} text={profile} className={styles.profileEmail}>
<Copy onCopy={() => this.showCopied()} text={profile}>
<Button className={styles.copyButton}>
{this.state.emailCopied ? 'Copied!' : 'Copy'}
{this.state.emailCopied ? t('common.copied') : t('common.copy')}
</Button>
</Copy>
</div>
+3
View File
@@ -32,6 +32,9 @@ en:
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."
comment_post_notif_premod: "Thank you for posting. Our moderation team will review your comment shortly."
common:
copied: 'Copied'
copy: 'Copy'
community:
account_creation_date: "Account Creation Date"
active: Active
+3
View File
@@ -32,6 +32,9 @@ es:
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 un error, por favor contacta a nuestro equipo de moderación."
comment_post_notif: "Tu comentario ha sido publicado."
comment_post_notif_premod: "Gracias por el comentario. Nuestro equipo de moderación va a revisarlo muy pronto."
common:
copied: 'Copiado'
copy: 'Copiar'
community:
account_creation_date: "Fecha de creación de la cuenta"
active: Activa