Addressing formatting errors.

This commit is contained in:
David Jay
2016-11-10 17:51:39 -05:00
parent ff4e778dde
commit d7c02b53a7
4 changed files with 5 additions and 5 deletions
@@ -1,7 +1,7 @@
{
"en": {
"comment": "Comment",
"comment-plural": "Comments",
"comment-plural": "Comments"
},
"es": {
"comment": "Comentario",
+1 -1
View File
@@ -1,6 +1,6 @@
import React, {Component, PropTypes} from 'react';
import {I18n} from '../coral-framework';
import translations from './translations.json'
import translations from './translations.json';
const name = 'coral-plugin-commentbox';
@@ -2,7 +2,7 @@
"en": {
"post": "Post",
"reply": "Reply",
"comment": "Comment",
"comment": "Comment"
},
"es": {
"post": "Publicar",
+2 -2
View File
@@ -22,8 +22,8 @@ const FlagButton = ({flag, id, postAction, addItem, updateItem, addNotification}
aria-hidden={true}>flag</i>
{
flagged
? <span className={`${name}-button-text`}>lang.t('flag')</span>
: <span className={`${name}-button-text`}>lang.t('flagged')</span>
? <span className={`${name}-button-text`}>{lang.t('flag')}</span>
: <span className={`${name}-button-text`}>{lang.t('flagged')}</span>
}
</button>
</div>;