1
0
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:
Michael An
2024-08-16 15:04:04 +08:00
parent f6b85099a8
commit 1161d43822
9 changed files with 10 additions and 10 deletions

View File

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

View File

@@ -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}>

View File

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

View File

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