mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-11 03:42:16 +00:00
repair translate bug
This commit is contained in:
parent
160efd7ad3
commit
c8e36e3552
@ -96,20 +96,21 @@ class LibHistorySetting extends React.Component {
|
||||
return (
|
||||
<Modal isOpen={true} centered={true}>
|
||||
<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>
|
||||
<ModalBody>
|
||||
<Form>
|
||||
<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>
|
||||
</FormGroup>
|
||||
<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>
|
||||
</FormGroup>
|
||||
<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>
|
||||
<Input
|
||||
type="text"
|
||||
@ -117,7 +118,7 @@ class LibHistorySetting extends React.Component {
|
||||
value={this.state.expireDays}
|
||||
onChange={this.onChange}
|
||||
disabled={this.state.disabled}
|
||||
/>
|
||||
/>{' '}
|
||||
<Label><span>{gettext('days')}</span></Label>
|
||||
</FormGroup>
|
||||
<Label className="err-message">{this.state.errorInfo}</Label><br />
|
||||
|
Loading…
Reference in New Issue
Block a user