Merge pull request #255 from coralproject/translation-fix

fixed translation key, enforced moderation setting schema
This commit is contained in:
David Erwin
2017-01-24 18:34:48 -05:00
committed by GitHub
2 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ class CommentBox extends Component {
cStyle={!length || (charCount && length > charCount) ? 'lightGrey' : 'darkGrey'}
className={`${name}-button`}
onClick={this.postComment}>
{lang.t('POST')}
{lang.t('post')}
</Button>
)
}
+6 -1
View File
@@ -97,8 +97,13 @@ type ActionSummary {
current_user: Action
}
enum MODERATION_MODE {
PRE
POST
}
type Settings {
moderation: String
moderation: MODERATION_MODE!
infoBoxEnable: Boolean
infoBoxContent: String
closeTimeout: Int