mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 14:21:23 +00:00
fix some translation
This commit is contained in:
@@ -54,7 +54,7 @@ class AddWikiPageDialog extends React.Component {
|
||||
const { handleClose } = this.props;
|
||||
return (
|
||||
<Modal isOpen={true} toggle={handleClose} onOpened={this.onDialogLoad}>
|
||||
<ModalHeader toggle={handleClose}>{gettext('New Wiki Page')}</ModalHeader>
|
||||
<ModalHeader toggle={handleClose}>{gettext('New page')}</ModalHeader>
|
||||
<ModalBody>
|
||||
<Form>
|
||||
<FormGroup>
|
||||
|
@@ -26,7 +26,7 @@ class ChangeGroupDialog extends React.Component {
|
||||
|
||||
render() {
|
||||
const groupName = '<span class="op-target">' + Utils.HTMLescape(this.props.groupName) + '</span>';
|
||||
const msg = gettext('Are you sure to change Group {placeholder} to Department ?').replace('{placeholder}', groupName);
|
||||
const msg = gettext('Are you sure to change group {placeholder} to department ?').replace('{placeholder}', groupName);
|
||||
return (
|
||||
<Modal isOpen={true} toggle={this.props.toggleDialog}>
|
||||
<ModalHeader toggle={this.props.toggleDialog}>
|
||||
|
@@ -315,7 +315,7 @@ class GenerateUploadLink extends React.Component {
|
||||
|
||||
{sharedUploadInfo.expire_date && (
|
||||
<>
|
||||
<dt className="text-secondary font-weight-normal">{gettext('Expiration Date')}</dt>
|
||||
<dt className="text-secondary font-weight-normal">{gettext('Expiration date')}</dt>
|
||||
<dd>
|
||||
{this.state.isEditingExpiration ? (
|
||||
<div className="ml-4">
|
||||
|
@@ -179,7 +179,7 @@ class LinkDetails extends React.Component {
|
||||
</dd>
|
||||
{!sharedLinkInfo.is_dir && sharedLinkInfo.permissions.can_download && ( // just for file
|
||||
<>
|
||||
<dt className="text-secondary font-weight-normal">{gettext('Direct Download Link')}</dt>
|
||||
<dt className="text-secondary font-weight-normal">{gettext('Direct download link')}</dt>
|
||||
<dd>
|
||||
<SharedLink
|
||||
link={`${sharedLinkInfo.link}?dl=1`}
|
||||
@@ -212,7 +212,7 @@ class LinkDetails extends React.Component {
|
||||
)}
|
||||
{sharedLinkInfo.expire_date && (
|
||||
<>
|
||||
<dt className="text-secondary font-weight-normal">{gettext('Expiration Date')}</dt>
|
||||
<dt className="text-secondary font-weight-normal">{gettext('Expiration date')}</dt>
|
||||
<dd>
|
||||
{this.state.isEditingExpiration ? (
|
||||
<div className="ml-4">
|
||||
|
Reference in New Issue
Block a user