|
@@ -10,8 +10,8 @@ import i18n from '../i18n.js'
|
10
|
10
|
|
11
|
11
|
const debug = { // outdated
|
12
|
12
|
config: {
|
13
|
|
- label: 'PopupCreateThread',
|
14
|
|
- slug: 'thread',
|
|
13
|
+ // label: 'PopupCreateThread',
|
|
14
|
+ slug: 'New thread',
|
15
|
15
|
faIcon: 'file-text-o',
|
16
|
16
|
hexcolor: '#ad4cf9',
|
17
|
17
|
creationLabel: 'Write a thread',
|
|
@@ -116,7 +116,7 @@ class PopupCreateThread extends React.Component {
|
116
|
116
|
<CardPopupCreateContent
|
117
|
117
|
onClose={this.handleClose}
|
118
|
118
|
onValidate={this.handleValidate}
|
119
|
|
- label={this.state.config.label} // @TODO get the lang of user
|
|
119
|
+ label={this.props.t('New Thread')} // @TODO get the lang of user
|
120
|
120
|
customColor={this.state.config.hexcolor}
|
121
|
121
|
faIcon={this.state.config.faIcon}
|
122
|
122
|
contentName={this.state.newContentName}
|