1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

improve translate (#2680)

This commit is contained in:
杨顺强
2018-12-20 15:55:07 +08:00
committed by zheng xie
parent 4080144bca
commit 62eeaa9e59
4 changed files with 7 additions and 4 deletions

View File

@@ -234,7 +234,8 @@ class GenerateShareLink extends React.Component {
</FormGroup>
{this.state.isShowPasswordInput &&
<FormGroup className="link-operation-content">
<Label>{gettext('Password')}</Label><span className="tip"> ({gettext('at least 8 characters')}) </span>
{/* todo translate */}
<Label>{gettext('Password')}</Label>{' '}<span className="tip">(at least 8 characters)</span>
<InputGroup className="passwd">
<Input type={this.state.isPasswordVisible ? 'text' : 'password'} value={this.state.password || ''} onChange={this.inputPassword}/>
<InputGroupAddon addonType="append">