1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-21 19:37:28 +00:00

[i18n] update (#5756)

This commit is contained in:
llj
2023-11-10 14:56:14 +08:00
committed by GitHub
parent 875b900f84
commit 4894faedbd
3 changed files with 3 additions and 3 deletions

View File

@@ -484,7 +484,7 @@ class Search extends Component {
if (enableSeafileAI && indexState === INDEX_STATE.UNCREATED) { if (enableSeafileAI && indexState === INDEX_STATE.UNCREATED) {
return ( return (
<div className="search-mode-similarity-index-status index-status-uncreated" onClick={this.onCreateIndex}> <div className="search-mode-similarity-index-status index-status-uncreated" onClick={this.onCreateIndex}>
{gettext('Click create index')} {gettext('Create Index')}
</div> </div>
); );
} }

View File

@@ -248,7 +248,7 @@ class OrgSAMLConfig extends Component {
</InputGroup> </InputGroup>
{(!dns_txt && !domain_verified) && {(!dns_txt && !domain_verified) &&
<p className="small text-secondary mt-1"> <p className="small text-secondary mt-1">
{gettext('Generate a domain DNS TXT, then copy it and add it to your domain\'s DNS records, then click the button to verify domain ownership.')} {gettext('Generate a domain DNS TXT, copy it and add it to your domain\'s DNS records, then click the button to verify domain ownership.')}
</p> </p>
} }
{(dns_txt && !domain_verified) && {(dns_txt && !domain_verified) &&

View File

@@ -2148,7 +2148,7 @@ def view_sdoc_revision(request, repo_id, revision_id):
origin_file_uuid = revision.origin_doc_uuid origin_file_uuid = revision.origin_doc_uuid
origin_uuid_map = FileUUIDMap.objects.get_fileuuidmap_by_uuid(origin_file_uuid) origin_uuid_map = FileUUIDMap.objects.get_fileuuidmap_by_uuid(origin_file_uuid)
if not origin_uuid_map: if not origin_uuid_map:
return render_error(request, _('Origin file does not exist')) return render_error(request, _('The original file does not exist'))
parent_dir = origin_uuid_map.parent_path parent_dir = origin_uuid_map.parent_path
filename = origin_uuid_map.filename filename = origin_uuid_map.filename