fixed translation key, enforced moderation setting schema

This commit is contained in:
Wyatt Johnson
2017-01-24 16:08:13 -07:00
parent 622afcc80f
commit b6d917a22b
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