mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 08:28:11 +00:00
improve translate (#2680)
This commit is contained in:
@@ -177,7 +177,8 @@ class CreateRepoDialog extends React.Component {
|
|||||||
<Label for="encrypt">{gettext('Encrypt')}</Label>
|
<Label for="encrypt">{gettext('Encrypt')}</Label>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<Label for="passwd1">{gettext('Password')}{' '}<span className="tip">({gettext('at least 8 characters')})</span></Label>
|
{/* todo translate */}
|
||||||
|
<Label for="passwd1">{gettext('Password')}{' '}<span className="tip">(at least 8 characters)</span></Label>
|
||||||
<Input
|
<Input
|
||||||
id="passwd1"
|
id="passwd1"
|
||||||
type="password"
|
type="password"
|
||||||
|
@@ -234,7 +234,8 @@ class GenerateShareLink extends React.Component {
|
|||||||
</FormGroup>
|
</FormGroup>
|
||||||
{this.state.isShowPasswordInput &&
|
{this.state.isShowPasswordInput &&
|
||||||
<FormGroup className="link-operation-content">
|
<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">
|
<InputGroup className="passwd">
|
||||||
<Input type={this.state.isPasswordVisible ? 'text' : 'password'} value={this.state.password || ''} onChange={this.inputPassword}/>
|
<Input type={this.state.isPasswordVisible ? 'text' : 'password'} value={this.state.password || ''} onChange={this.inputPassword}/>
|
||||||
<InputGroupAddon addonType="append">
|
<InputGroupAddon addonType="append">
|
||||||
|
@@ -135,7 +135,8 @@ class GenerateUploadLink extends React.Component {
|
|||||||
</FormGroup>
|
</FormGroup>
|
||||||
{this.state.showPasswordInput &&
|
{this.state.showPasswordInput &&
|
||||||
<FormGroup className="link-operation-content">
|
<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">
|
<InputGroup className="passwd">
|
||||||
<Input type={this.state.passwordVisible ? 'text':'password'} value={this.state.password || ''} onChange={this.inputPassword}/>
|
<Input type={this.state.passwordVisible ? 'text':'password'} value={this.state.password || ''} onChange={this.inputPassword}/>
|
||||||
<InputGroupAddon addonType="append">
|
<InputGroupAddon addonType="append">
|
||||||
|
@@ -153,7 +153,7 @@ class Wikis extends Component {
|
|||||||
}
|
}
|
||||||
{(!this.state.loading && this.state.wikis.length === 0) &&
|
{(!this.state.loading && this.state.wikis.length === 0) &&
|
||||||
<div className="message empty-tip">
|
<div className="message empty-tip">
|
||||||
<h2>{gettext('You do not have any Wiki')}</h2>
|
<h2>{gettext('You do not have any wiki')}</h2>
|
||||||
<p>{gettext('Seafile Wiki enables you to organize your knowledge in a simple way. The contents of wiki is stored in a normal library with pre-defined file/folder structure. This enables you to edit your wiki in your desktop and then sync back to the server.')}</p>
|
<p>{gettext('Seafile Wiki enables you to organize your knowledge in a simple way. The contents of wiki is stored in a normal library with pre-defined file/folder structure. This enables you to edit your wiki in your desktop and then sync back to the server.')}</p>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user