1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-05 00:43:53 +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

@@ -177,7 +177,8 @@ class CreateRepoDialog extends React.Component {
<Label for="encrypt">{gettext('Encrypt')}</Label>
</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
id="passwd1"
type="password"

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">

View File

@@ -135,7 +135,8 @@ class GenerateUploadLink extends React.Component {
</FormGroup>
{this.state.showPasswordInput &&
<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.passwordVisible ? 'text':'password'} value={this.state.password || ''} onChange={this.inputPassword}/>
<InputGroupAddon addonType="append">

View File

@@ -153,7 +153,7 @@ class Wikis extends Component {
}
{(!this.state.loading && this.state.wikis.length === 0) &&
<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>
</div>
}