mirror of
https://github.com/wassname/talk.git
synced 2026-07-12 10:22:46 +08:00
Merge pull request #255 from coralproject/translation-fix
fixed translation key, enforced moderation setting schema
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user