mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-11 11:52:08 +00:00
repair translate bug
This commit is contained in:
parent
160efd7ad3
commit
c8e36e3552
@ -96,20 +96,21 @@ class LibHistorySetting extends React.Component {
|
|||||||
return (
|
return (
|
||||||
<Modal isOpen={true} centered={true}>
|
<Modal isOpen={true} centered={true}>
|
||||||
<ModalHeader toggle={this.props.toggleDialog}>
|
<ModalHeader toggle={this.props.toggleDialog}>
|
||||||
<span className="sf-font" title={itemName}>{itemName}</span>{gettext(' History Setting')}
|
<span className="sf-font" title={itemName}>{itemName}</span>{' '}
|
||||||
|
{gettext('History Setting')}
|
||||||
</ModalHeader>
|
</ModalHeader>
|
||||||
<ModalBody>
|
<ModalBody>
|
||||||
<Form>
|
<Form>
|
||||||
<FormGroup check>
|
<FormGroup check>
|
||||||
<Input type="radio" name="radio1" checked={this.state.allHistory} onChange={() => {this.setLimitDays('allHistory')}}/>
|
<Input type="radio" name="radio1" checked={this.state.allHistory} onChange={() => {this.setLimitDays('allHistory')}}/>{' '}
|
||||||
<Label>{gettext('Keep full history')}</Label>
|
<Label>{gettext('Keep full history')}</Label>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
<FormGroup check>
|
<FormGroup check>
|
||||||
<Input type="radio" name="radio1" checked={this.state.noHistory} onChange={() =>{this.setLimitDays('noHistory')}}/>
|
<Input type="radio" name="radio1" checked={this.state.noHistory} onChange={() =>{this.setLimitDays('noHistory')}}/>{' '}
|
||||||
<Label>{gettext('Don\'t keep history')}</Label>
|
<Label>{gettext('Don\'t keep history')}</Label>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
<FormGroup check>
|
<FormGroup check>
|
||||||
<Input type="radio" name="radio1" checked={this.state.autoHistory} onChange={() =>{this.setLimitDays('autoHistory')}}/>
|
<Input type="radio" name="radio1" checked={this.state.autoHistory} onChange={() =>{this.setLimitDays('autoHistory')}}/>{' '}
|
||||||
<Label>{gettext('Only keep a period of history:')}</Label>
|
<Label>{gettext('Only keep a period of history:')}</Label>
|
||||||
<Input
|
<Input
|
||||||
type="text"
|
type="text"
|
||||||
@ -117,7 +118,7 @@ class LibHistorySetting extends React.Component {
|
|||||||
value={this.state.expireDays}
|
value={this.state.expireDays}
|
||||||
onChange={this.onChange}
|
onChange={this.onChange}
|
||||||
disabled={this.state.disabled}
|
disabled={this.state.disabled}
|
||||||
/>
|
/>{' '}
|
||||||
<Label><span>{gettext('days')}</span></Label>
|
<Label><span>{gettext('days')}</span></Label>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
<Label className="err-message">{this.state.errorInfo}</Label><br />
|
<Label className="err-message">{this.state.errorInfo}</Label><br />
|
||||||
|
Loading…
Reference in New Issue
Block a user